Encoding configuration. More...
Public Member Functions | |
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... | |
Protected Member Functions | |
void | deserializeProperties (String key, String valueJson) |
Deserializes the properties. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes the properties. More... | |
Encoding configuration.
fm.liveswitch.EncodingConfig.EncodingConfig | ( | ) |
Initializes a new instance of the fm.liveswitch.EncodingConfig class.
fm.liveswitch.EncodingConfig.EncodingConfig | ( | fm.liveswitch.EncodingInfo | encoding | ) |
Initializes a new instance of the fm.liveswitch.EncodingConfig class.
encoding | The encoding. |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented in fm.liveswitch.VideoEncodingConfig.
int fm.liveswitch.EncodingConfig.getBitrate | ( | ) |
Gets the bitrate, in kbps.
boolean fm.liveswitch.EncodingConfig.getDeactivated | ( | ) |
Gets whether this encoding is deactivated.
String fm.liveswitch.EncodingConfig.getRtpStreamId | ( | ) |
Gets the RTP stream identifier.
long fm.liveswitch.EncodingConfig.getSynchronizationSource | ( | ) |
Gets the synchronization source.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented in fm.liveswitch.VideoEncodingConfig.
void fm.liveswitch.EncodingConfig.setBitrate | ( | int | value | ) |
Sets the bitrate, in kbps.
void fm.liveswitch.EncodingConfig.setDeactivated | ( | boolean | value | ) |
Sets whether this encoding is deactivated.