A bitrate notification.
More...
◆ BitrateNotification()
fm.liveswitch.BitrateNotification.BitrateNotification |
( |
| ) |
|
◆ deserializeProperty()
void fm.liveswitch.BitrateNotification.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
-
bitrateNotificationJson | The instance in JSON format. |
- Returns
- The instance.
◆ fromJsonArray()
Deserializes an array from JSON.
- Parameters
-
bitrateNotificationsJson | The array in JSON format. |
- Returns
- The array.
◆ getBitrate()
int fm.liveswitch.BitrateNotification.getBitrate |
( |
| ) |
|
◆ getMediaDescriptionId()
String fm.liveswitch.BitrateNotification.getMediaDescriptionId |
( |
| ) |
|
Gets the media description ID.
◆ getRtpStreamId()
String fm.liveswitch.BitrateNotification.getRtpStreamId |
( |
| ) |
|
◆ getSynchronizationSource()
long fm.liveswitch.BitrateNotification.getSynchronizationSource |
( |
| ) |
|
Gets the synchronization source.
◆ serializeProperties()
void fm.liveswitch.BitrateNotification.serializeProperties |
( |
java.util.HashMap< String, String > |
jsonObject | ) |
|
|
protected |
Serializes properties to JSON.
- Parameters
-
jsonObject | The JSON target. |
◆ setBitrate()
void fm.liveswitch.BitrateNotification.setBitrate |
( |
int |
value | ) |
|
◆ setMediaDescriptionId()
void fm.liveswitch.BitrateNotification.setMediaDescriptionId |
( |
String |
value | ) |
|
Sets the media description ID.
◆ setRtpStreamId()
void fm.liveswitch.BitrateNotification.setRtpStreamId |
( |
String |
value | ) |
|
◆ setSynchronizationSource()
void fm.liveswitch.BitrateNotification.setSynchronizationSource |
( |
long |
value | ) |
|
Sets the synchronization source.
◆ toJson() [1/2]
String fm.liveswitch.BitrateNotification.toJson |
( |
| ) |
|
Serializes this instance to JSON.
◆ toJson() [2/2]
Serializes an instance to JSON.
- Parameters
-
bitrateNotification | The instance. |
- Returns
- The instance in JSON format.
◆ toJsonArray()
Serializes an array to JSON.
- Parameters
-
bitrateNotifications | The array. |
- Returns
- The array in JSON format.