FMIceLinkSessionDescription Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkSessionDescription.h FMIceLinkSessionDescription.m |
+ fromJsonWithSessionDescriptionJson:
Deserializes an instance from JSON.
+ (FMIceLinkSessionDescription *)fromJsonWithSessionDescriptionJson:(NSString *)sessionDescriptionJsonParameters
sessionDescriptionJson |
The JSON to deserialize. |
|---|
Return Value
The deserialized session description.
Discussion
Deserializes an instance from JSON.
Declared In
FMIceLinkSessionDescription.h
– hasAudio
Gets a value indicating whether an audio stream is described.
- (bool)hasAudioDiscussion
Gets a value indicating whether an audio stream is described.
Declared In
FMIceLinkSessionDescription.h
– hasData
Gets a value indicating whether a data stream is described.
- (bool)hasDataDiscussion
Gets a value indicating whether a data stream is described.
Declared In
FMIceLinkSessionDescription.h
– hasVideo
Gets a value indicating whether a video stream is described.
- (bool)hasVideoDiscussion
Gets a value indicating whether a video stream is described.
Declared In
FMIceLinkSessionDescription.h
– isOffer
Gets a value indicating whether this instance is offer.
- (bool)isOfferDiscussion
Gets a value indicating whether this instance is offer.
Declared In
FMIceLinkSessionDescription.h
– sdpMessage
Gets the SDP message.
- (FMIceLinkSdpMessage *)sdpMessageDiscussion
Gets the SDP message.
Declared In
FMIceLinkSessionDescription.h
– sessionId
Gets the session id of the remote description, if remote description is set. Returns null otherwise.
- (long long)sessionIdDiscussion
Gets the session id of the remote description, if remote description is set. Returns null otherwise.
Declared In
FMIceLinkSessionDescription.h
– sessionVersion
Gets the version of the remote description, if remote description is set. Returns null otherwise.
- (long long)sessionVersionDiscussion
Gets the version of the remote description, if remote description is set. Returns null otherwise.
Declared In
FMIceLinkSessionDescription.h
– setSdpMessage:
Sets the SDP message.
- (void)setSdpMessage:(FMIceLinkSdpMessage *)valueDiscussion
Sets the SDP message.
Declared In
FMIceLinkSessionDescription.h
– setTieBreaker:
Sets the tie breaker in case of a role conflict.
- (void)setTieBreaker:(NSString *)valueDiscussion
Sets the tie breaker in case of a role conflict.
Declared In
FMIceLinkSessionDescription.h
– setType:
Sets the [type](#//api/name/type).
- (void)setType:(FMIceLinkSessionDescriptionType)valueDiscussion
Sets the [type](#//api/name/type).
Declared In
FMIceLinkSessionDescription.h
– tieBreaker
Gets the tie breaker in case of a role conflict.
- (NSString *)tieBreakerDiscussion
Gets the tie breaker in case of a role conflict.
Declared In
FMIceLinkSessionDescription.h
– toJson
Serializes this instance to JSON.
- (NSString *)toJsonDiscussion
Serializes this instance to JSON.
Declared In
FMIceLinkSessionDescription.h
+ toJsonWithSessionDescription:
Serializes an instance to JSON.
+ (NSString *)toJsonWithSessionDescription:(FMIceLinkSessionDescription *)sessionDescriptionParameters
sessionDescription |
The session description. @return The serialized JSON. |
|---|
Discussion
Serializes an instance to JSON.
Declared In
FMIceLinkSessionDescription.h
– type
Gets the type.
- (FMIceLinkSessionDescriptionType)typeDiscussion
Gets the type.
Declared In
FMIceLinkSessionDescription.h