A session description.
More...
◆ SessionDescription()
| fm.liveswitch.SessionDescription.SessionDescription |
( |
| ) |
|
◆ fromJson()
Deserializes an instance from JSON.
- Parameters
-
| sessionDescriptionJson | The JSON to deserialize. |
- Returns
- The deserialized session description.
◆ getHasAudio()
| boolean fm.liveswitch.SessionDescription.getHasAudio |
( |
| ) |
|
Gets a value indicating whether an audio stream is described.
◆ getHasData()
| boolean fm.liveswitch.SessionDescription.getHasData |
( |
| ) |
|
Gets a value indicating whether a data stream is described.
◆ getHasVideo()
| boolean fm.liveswitch.SessionDescription.getHasVideo |
( |
| ) |
|
Gets a value indicating whether a video stream is described.
◆ getIsOffer()
| boolean fm.liveswitch.SessionDescription.getIsOffer |
( |
| ) |
|
Gets a value indicating whether this instance is offer.
◆ getSdpMessage()
◆ getSessionId()
| long fm.liveswitch.SessionDescription.getSessionId |
( |
| ) |
|
Gets the session id of the remote description, if remote description is set.
Returns null otherwise.
◆ getSessionVersion()
| long fm.liveswitch.SessionDescription.getSessionVersion |
( |
| ) |
|
Gets the version of the remote description, if remote description is set.
Returns null otherwise.
◆ getTieBreaker()
| String fm.liveswitch.SessionDescription.getTieBreaker |
( |
| ) |
|
Gets the tie breaker in case of a role conflict.
◆ getType()
◆ setSdpMessage()
◆ setSessionVersion()
| void fm.liveswitch.SessionDescription.setSessionVersion |
( |
long |
value | ) |
|
Sets the version of the remote description, if remote description is set.
Returns null otherwise.
◆ setTieBreaker()
| void fm.liveswitch.SessionDescription.setTieBreaker |
( |
String |
value | ) |
|
Sets the tie breaker in case of a role conflict.
◆ setType()
◆ toJson() [1/2]
| String fm.liveswitch.SessionDescription.toJson |
( |
| ) |
|
Serializes this instance to JSON.
◆ toJson() [2/2]
Serializes an instance to JSON.
- Parameters
-
| sessionDescription | The session description. |
- Returns
- The serialized JSON.