Video encoding configuration. More...
Public Member Functions | |
| double | getFrameRate () |
| Gets the frame-rate, in fps. More... | |
| double | getScale () |
| Gets the target scale. More... | |
| void | setFrameRate (double value) |
| Sets the frame-rate, in fps. More... | |
| void | setScale (double value) |
| Sets the target scale. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
| String | toString () |
| Returns a string that represents this instance. More... | |
| VideoEncodingConfig () | |
| Initializes a new instance of the fm.liveswitch.VideoEncodingConfig class. More... | |
| VideoEncodingConfig (fm.liveswitch.EncodingInfo encoding) | |
| Initializes a new instance of the fm.liveswitch.VideoEncodingConfig class. 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.VideoEncodingConfig | fromJson (String encodingConfigJson) |
| Deserializes an instance from JSON. More... | |
| static fm.liveswitch.VideoEncodingConfig[] | fromJsonArray (String encodingConfigsJson) |
| Deserializes an array from JSON. More... | |
| static String | toJson (fm.liveswitch.VideoEncodingConfig encodingConfig) |
| Serializes an instance to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.VideoEncodingConfig[] encodingConfigs) |
| Serializes an array to JSON. 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... | |
Video encoding configuration.
| fm.liveswitch.VideoEncodingConfig.VideoEncodingConfig | ( | ) |
Initializes a new instance of the fm.liveswitch.VideoEncodingConfig class.
| fm.liveswitch.VideoEncodingConfig.VideoEncodingConfig | ( | fm.liveswitch.EncodingInfo | encoding | ) |
Initializes a new instance of the fm.liveswitch.VideoEncodingConfig class.
| encoding | The encoding. |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.EncodingConfig.
|
static |
Deserializes an instance from JSON.
| encodingConfigJson | The serialized JSON. |
|
static |
Deserializes an array from JSON.
| encodingConfigsJson | The serialized JSON. |
| double fm.liveswitch.VideoEncodingConfig.getFrameRate | ( | ) |
Gets the frame-rate, in fps.
| double fm.liveswitch.VideoEncodingConfig.getScale | ( | ) |
Gets the target scale.
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.EncodingConfig.
| void fm.liveswitch.VideoEncodingConfig.setFrameRate | ( | double | value | ) |
Sets the frame-rate, in fps.
| void fm.liveswitch.VideoEncodingConfig.setScale | ( | double | value | ) |
Sets the target scale.
| String fm.liveswitch.VideoEncodingConfig.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.VideoEncodingConfig.toString | ( | ) |
Returns a string that represents this instance.