Class Segment
A Matroska segment element.
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.Matroska
Assembly: FM.LiveSwitch.dll
Syntax
public class Segment : Element
Constructors
Segment()
Initializes a new instance of the Segment class.
Declaration
public Segment()
Segment(Byte[])
Initializes a new instance of the Segment class.
Declaration
public Segment(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | The bytes. |
Properties
Clusters
Gets or sets the cluster elements.
Declaration
public Cluster[] Clusters { get; set; }
Property Value
Type | Description |
---|---|
Cluster[] |
EbmlId
Gets the EBML ID.
Declaration
public static byte[] EbmlId { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Id
Gets the EBML ID.
Declaration
public override byte[] Id { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Overrides
SeekHeads
Gets or sets the seek head elements.
Declaration
public SeekHead[] SeekHeads { get; set; }
Property Value
Type | Description |
---|---|
SeekHead[] |
SegmentInfo
Gets or sets the segment info element.
Declaration
public SegmentInfo SegmentInfo { get; set; }
Property Value
Type | Description |
---|---|
SegmentInfo |
Tracks
Gets or sets the track elements.
Declaration
public Track[] Tracks { get; set; }
Property Value
Type | Description |
---|---|
Track[] |
Methods
GetInnerBytes()
Gets the inner bytes.
Declaration
protected override byte[] GetInnerBytes()
Returns
Type | Description |
---|---|
System.Byte[] |
Overrides
Merge(Segment)
Merges another Segment into this one.
Declaration
public void Merge(Segment segment)
Parameters
Type | Name | Description |
---|---|---|
Segment | segment | The Segment. |