Class EncodingConfig
Encoding configuration.
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 abstract class EncodingConfig
Constructors
EncodingConfig()
Initializes a new instance of the EncodingConfig class.
Declaration
public EncodingConfig()
EncodingConfig(EncodingInfo)
Initializes a new instance of the EncodingConfig class.
Declaration
public EncodingConfig(EncodingInfo encoding)
Parameters
Type | Name | Description |
---|---|---|
EncodingInfo | encoding | The encoding. |
Properties
Bitrate
Gets or sets the bitrate, in kbps.
Declaration
public int Bitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Deactivated
Gets or sets whether this encoding is deactivated.
Declaration
public bool Deactivated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RtpStreamId
Gets the RTP stream identifier.
Declaration
public string RtpStreamId { get; }
Property Value
Type | Description |
---|---|
System.String |
SynchronizationSource
Gets the synchronization source.
Declaration
public long SynchronizationSource { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected virtual void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected virtual void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |