Class Page
An Ogg page.
Inheritance
System.Object
Page
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Ogg
Assembly: FM.LiveSwitch.dll
Syntax
public class Page
Constructors
Page()
Initializes a new instance of the Page class.
Declaration
public Page()
Properties
AbsoluteGranulePosition
Gets or sets the absolute granule position.
Declaration
public int AbsoluteGranulePosition { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BeginningOfStream
Gets or sets whether this page is the first page of the bitstream.
Declaration
public bool BeginningOfStream { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContinuedPacket
Gets or sets whether this page is a continued (not fresh) packet.
Declaration
public bool ContinuedPacket { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EndOfStream
Gets or sets whether this page is the last page of the bitstream.
Declaration
public bool EndOfStream { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Payload
Gets or sets the data payload.
Declaration
public byte[] Payload { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
SequenceNumber
Gets or sets the page sequence number.
Declaration
public int SequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StreamSerialNumber
Gets or sets the stream serial number.
Declaration
public int StreamSerialNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetBytes()
Gets the page as a byte array.
Declaration
public byte[] GetBytes()
Returns
Type | Description |
---|---|
System.Byte[] |