A bitrate request.
More...
◆ BitrateRequest()
| fm.liveswitch.BitrateRequest.BitrateRequest |
( |
| ) |
|
◆ deserializeProperty()
| void fm.liveswitch.BitrateRequest.deserializeProperty |
( |
String |
key, |
|
|
String |
valueJson |
|
) |
| |
|
protected |
Deserializes a property from JSON.
- Parameters
-
| key | The property key. |
| valueJson | The property value in JSON format. |
◆ fromJson()
Deserializes an instance from JSON.
- Parameters
-
| bitrateRequestJson | The instance in JSON format. |
- Returns
- The instance.
◆ fromJsonArray()
Deserializes an array from JSON.
- Parameters
-
| bitrateRequestsJson | The array in JSON format. |
- Returns
- The array.
◆ getBitrate()
| int fm.liveswitch.BitrateRequest.getBitrate |
( |
| ) |
|
Gets the bitrate (in kbps).
◆ getMediaDescriptionId()
| String fm.liveswitch.BitrateRequest.getMediaDescriptionId |
( |
| ) |
|
Gets the media description ID.
◆ getRtpStreamId()
| String fm.liveswitch.BitrateRequest.getRtpStreamId |
( |
| ) |
|
◆ getSenderSynchronizationSource()
| long fm.liveswitch.BitrateRequest.getSenderSynchronizationSource |
( |
| ) |
|
Gets the sender synchronization source.
◆ getSynchronizationSource()
| long fm.liveswitch.BitrateRequest.getSynchronizationSource |
( |
| ) |
|
Gets the synchronization source.
◆ serializeProperties()
| void fm.liveswitch.BitrateRequest.serializeProperties |
( |
java.util.HashMap< String, String > |
jsonObject | ) |
|
|
protected |
Serializes properties to JSON.
- Parameters
-
| jsonObject | The JSON target. |
◆ setBitrate()
| void fm.liveswitch.BitrateRequest.setBitrate |
( |
int |
value | ) |
|
Sets the bitrate (in kbps).
◆ setMediaDescriptionId()
| void fm.liveswitch.BitrateRequest.setMediaDescriptionId |
( |
String |
value | ) |
|
Sets the media description ID.
◆ setRtpStreamId()
| void fm.liveswitch.BitrateRequest.setRtpStreamId |
( |
String |
value | ) |
|
◆ setSenderSynchronizationSource()
| void fm.liveswitch.BitrateRequest.setSenderSynchronizationSource |
( |
long |
value | ) |
|
Sets the sender synchronization source.
◆ setSynchronizationSource()
| void fm.liveswitch.BitrateRequest.setSynchronizationSource |
( |
long |
value | ) |
|
Sets the synchronization source.
◆ toJson() [1/2]
| String fm.liveswitch.BitrateRequest.toJson |
( |
| ) |
|
Serializes this instance to JSON.
◆ toJson() [2/2]
Serializes an instance to JSON.
- Parameters
-
| bitrateRequest | The instance. |
- Returns
- The instance in JSON format.
◆ toJsonArray()
Serializes an array to JSON.
- Parameters
-
| bitrateRequests | The array. |
- Returns
- The array in JSON format.