Class SegmentInfo
A Matroska segment info 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.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch.Matroska
Assembly: FM.LiveSwitch.dll
Syntax
public class SegmentInfo : Element
Constructors
SegmentInfo()
Initializes a new instance of the SegmentInfo class.
Declaration
public SegmentInfo()
SegmentInfo(Byte[])
Initializes a new instance of the SegmentInfo class.
Declaration
public SegmentInfo(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | bytes | The bytes. |
Properties
DateUtc
Gets or sets the date in UTC time.
Declaration
public DateTime? DateUtc { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
DefaultTimecodeScale
Gets the default timecode scale.
Declaration
public static long DefaultTimecodeScale { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Duration
Gets or sets the duration.
Declaration
public float? Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
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
MuxingApp
Gets or sets the muxing application.
Declaration
public string MuxingApp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NextFilename
Gets or sets the next filename.
Declaration
public string NextFilename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NextUid
Gets or sets the next UID.
Declaration
public Guid? NextUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
PrevFilename
Gets or sets the previous filename.
Declaration
public string PrevFilename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrevUid
Gets or sets the previous UID.
Declaration
public Guid? PrevUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SegmentFilename
Gets or sets the segment filename.
Declaration
public string SegmentFilename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SegmentUid
Gets or sets the segment UID.
Declaration
public Guid? SegmentUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TimecodeScale
Gets or sets the timecode scale.
Declaration
public long TimecodeScale { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WritingApp
Gets or sets the writing application.
Declaration
public string WritingApp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetInnerBytes()
Gets the inner bytes.
Declaration
protected override byte[] GetInnerBytes()
Returns
Type | Description |
---|---|
System.Byte[] |
Overrides
Merge(SegmentInfo)
Merges another SegmentInfo into this one.
Declaration
public void Merge(SegmentInfo segmentInfo)
Parameters
Type | Name | Description |
---|---|---|
SegmentInfo | segmentInfo | The SegmentInfo. |