FMIceLinkSessionDescription Class Reference

Inherits from NSObject
Declared in FMIceLinkSessionDescription.h
FMIceLinkSessionDescription.m

Overview

A session description.

+ fromJsonWithSessionDescriptionJson:

Deserializes an instance from JSON.
+ (FMIceLinkSessionDescription *)fromJsonWithSessionDescriptionJson:(NSString *)sessionDescriptionJson

Parameters

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)hasAudio

Discussion

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)hasData

Discussion

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)hasVideo

Discussion

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)isOffer

Discussion

Gets a value indicating whether this instance is offer.

Declared In

FMIceLinkSessionDescription.h

– sdpMessage

Gets the SDP message.
- (FMIceLinkSdpMessage *)sdpMessage

Discussion

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)sessionId

Discussion

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)sessionVersion

Discussion

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 *)value

Discussion

Sets the SDP message.

Declared In

FMIceLinkSessionDescription.h

– setTieBreaker:

Sets the tie breaker in case of a role conflict.
- (void)setTieBreaker:(NSString *)value

Discussion

Sets the tie breaker in case of a role conflict.

Declared In

FMIceLinkSessionDescription.h

– setType:

Sets the [type](#//api/name/type).
- (void)setType:(FMIceLinkSessionDescriptionType)value

Discussion

Sets the [type](#//api/name/type).

Declared In

FMIceLinkSessionDescription.h

– tieBreaker

Gets the tie breaker in case of a role conflict.
- (NSString *)tieBreaker

Discussion

Gets the tie breaker in case of a role conflict.

Declared In

FMIceLinkSessionDescription.h

– toJson

Serializes this instance to JSON.
- (NSString *)toJson

Discussion

Serializes this instance to JSON.

Declared In

FMIceLinkSessionDescription.h

+ toJsonWithSessionDescription:

Serializes an instance to JSON.
+ (NSString *)toJsonWithSessionDescription:(FMIceLinkSessionDescription *)sessionDescription

Parameters

sessionDescription

The session description. @return The serialized JSON.

Discussion

Serializes an instance to JSON.

Declared In

FMIceLinkSessionDescription.h

– type

Gets the type.
- (FMIceLinkSessionDescriptionType)type

Discussion

Gets the type.

Declared In

FMIceLinkSessionDescription.h