Class MediaComponentInfo
Media component information.
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
Assembly: FM.LiveSwitch.dll
Syntax
public class MediaComponentInfo : Info
Constructors
MediaComponentInfo()
Initializes a new instance of the MediaComponentInfo class.
Declaration
public MediaComponentInfo()
MediaComponentInfo(MediaComponentStats, MediaComponentStats)
Initializes a new instance of the MediaComponentInfo class.
Declaration
public MediaComponentInfo(MediaComponentStats stats, MediaComponentStats lastStats)
Parameters
Type | Name | Description |
---|---|---|
MediaComponentStats | stats | |
MediaComponentStats | lastStats |
Properties
Codec
Gets or sets codec.
Declaration
public CodecInfo Codec { get; set; }
Property Value
Type | Description |
---|---|
CodecInfo |
SynchronizationSource
Gets or sets synchronization source of media track.
Declaration
public long? SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Track
Gets or sets track.
Declaration
public MediaTrackInfo Track { get; set; }
Property Value
Type | Description |
---|---|
MediaTrackInfo |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
Overrides
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |