Audio encoding configuration. More...
Public Member Functions | |
| AudioEncodingConfig () | |
| Initializes a new instance of the fm.liveswitch.AudioEncodingConfig class. More... | |
| AudioEncodingConfig (fm.liveswitch.EncodingInfo encoding) | |
| Initializes a new instance of the fm.liveswitch.AudioEncodingConfig class. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
| String | toString () |
| Returns a string that represents this instance. More... | |
Public Member Functions inherited from fm.liveswitch.EncodingConfig | |
| EncodingConfig () | |
| Initializes a new instance of the fm.liveswitch.EncodingConfig class. More... | |
| EncodingConfig (fm.liveswitch.EncodingInfo encoding) | |
| Initializes a new instance of the fm.liveswitch.EncodingConfig class. More... | |
| int | getBitrate () |
| Gets the bitrate, in kbps. More... | |
| boolean | getDeactivated () |
| Gets whether this encoding is deactivated. More... | |
| String | getRtpStreamId () |
| Gets the RTP stream identifier. More... | |
| long | getSynchronizationSource () |
| Gets the synchronization source. More... | |
| void | setBitrate (int value) |
| Sets the bitrate, in kbps. More... | |
| void | setDeactivated (boolean value) |
| Sets whether this encoding is deactivated. More... | |
Static Public Member Functions | |
| static fm.liveswitch.AudioEncodingConfig | fromJson (String encodingConfigJson) |
| Deserializes an instance from JSON. More... | |
| static fm.liveswitch.AudioEncodingConfig[] | fromJsonArray (String encodingConfigsJson) |
| Deserializes an array from JSON. More... | |
| static String | toJson (fm.liveswitch.AudioEncodingConfig encodingConfig) |
| Serializes an instance to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.AudioEncodingConfig[] encodingConfigs) |
| Serializes an array to JSON. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from fm.liveswitch.EncodingConfig | |
| void | deserializeProperties (String key, String valueJson) |
| Deserializes the properties. More... | |
| void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
| Serializes the properties. More... | |
Audio encoding configuration.
| fm.liveswitch.AudioEncodingConfig.AudioEncodingConfig | ( | ) |
Initializes a new instance of the fm.liveswitch.AudioEncodingConfig class.
| fm.liveswitch.AudioEncodingConfig.AudioEncodingConfig | ( | fm.liveswitch.EncodingInfo | encoding | ) |
Initializes a new instance of the fm.liveswitch.AudioEncodingConfig class.
| encoding | The encoding. |
|
static |
Deserializes an instance from JSON.
| encodingConfigJson | The serialized JSON. |
|
static |
Deserializes an array from JSON.
| encodingConfigsJson | The serialized JSON. |
| String fm.liveswitch.AudioEncodingConfig.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| encodingConfig | The instance to serialize. |
|
static |
Serializes an array to JSON.
| encodingConfigs | The array to serialize. |
| String fm.liveswitch.AudioEncodingConfig.toString | ( | ) |
Returns a string that represents this instance.