A session description. More...
Instance Methods | |
| (bool) | - hasAudio |
| Gets a value indicating whether an audio stream is described. More... | |
| (bool) | - hasData |
| Gets a value indicating whether a data stream is described. More... | |
| (bool) | - hasVideo |
| Gets a value indicating whether a video stream is described. More... | |
| (instancetype) | - init |
| (bool) | - isOffer |
| Gets a value indicating whether this instance is offer. More... | |
| (FMLiveSwitchSdpMessage *) | - sdpMessage |
| Gets the SDP message. More... | |
| (long long) | - sessionId |
| Gets the session id of the remote description, if remote description is set. More... | |
| (long long) | - sessionVersion |
| Gets the version of the remote description, if remote description is set. More... | |
| (void) | - setSdpMessage: |
| Sets the SDP message. More... | |
| (void) | - setSessionVersion: |
| Sets the version of the remote description, if remote description is set. More... | |
| (void) | - setTieBreaker: |
| Sets the tie breaker in case of a role conflict. More... | |
| (void) | - setType: |
| Sets the type. More... | |
| (NSString *) | - tieBreaker |
| Gets the tie breaker in case of a role conflict. More... | |
| (NSString *) | - toJson |
| Serializes this instance to JSON. More... | |
| (FMLiveSwitchSessionDescriptionType) | - type |
| Gets the type. More... | |
Class Methods | |
| (FMLiveSwitchSessionDescription *) | + fromJsonWithSessionDescriptionJson: |
| Deserializes an instance from JSON. More... | |
| (FMLiveSwitchSessionDescription *) | + sessionDescription |
| (NSString *) | + toJsonWithSessionDescription: |
| Serializes an instance to JSON. More... | |
A session description.
| + (FMLiveSwitchSessionDescription*) fromJsonWithSessionDescriptionJson: | (NSString *) | sessionDescriptionJson |
Deserializes an instance from JSON.
| sessionDescriptionJson | The JSON to deserialize. |
| - (bool) hasAudio |
Gets a value indicating whether an audio stream is described.
| - (bool) hasData |
Gets a value indicating whether a data stream is described.
| - (bool) hasVideo |
Gets a value indicating whether a video stream is described.
| - (instancetype) init |
| - (bool) isOffer |
Gets a value indicating whether this instance is offer.
| - (FMLiveSwitchSdpMessage*) sdpMessage |
Gets the SDP message.
| + (FMLiveSwitchSessionDescription*) sessionDescription |
| - (long long) sessionId |
Gets the session id of the remote description, if remote description is set.
Returns null otherwise.
| - (long long) sessionVersion |
Gets the version of the remote description, if remote description is set.
Returns null otherwise.
| - (void) setSdpMessage: | (FMLiveSwitchSdpMessage *) | value |
Sets the SDP message.
| - (void) setSessionVersion: | (long long) | value |
Sets the version of the remote description, if remote description is set.
Returns null otherwise.
| - (void) setTieBreaker: | (NSString *) | value |
Sets the tie breaker in case of a role conflict.
| - (void) setType: | (FMLiveSwitchSessionDescriptionType) | value |
Sets the type.
| - (NSString*) tieBreaker |
Gets the tie breaker in case of a role conflict.
| - (NSString*) toJson |
Serializes this instance to JSON.
| + (NSString*) toJsonWithSessionDescription: | (FMLiveSwitchSessionDescription *) | sessionDescription |
Serializes an instance to JSON.
| sessionDescription | The session description. |
| - (FMLiveSwitchSessionDescriptionType) type |
Gets the type.