An SDP message. More...
Instance Methods | |
| (void) | - addBandwidth: |
| Adds a proposed bandwidth. More... | |
| (void) | - addMediaDescription: |
| Adds a media description. More... | |
| (void) | - addSessionAttribute: |
| Adds a session-level attribute. More... | |
| (void) | - addTimeDescription: |
| Adds a start, stop, and repeat time. More... | |
| (FMLiveSwitchSdpMediaDescription *) | - applicationDescription |
| Gets the first media description of type "application". More... | |
| (NSMutableArray *) | - applicationDescriptions |
| Gets any media descriptions of type "application". More... | |
| (FMLiveSwitchSdpMediaDescription *) | - audioDescription |
| Gets the first media description of type "audio". More... | |
| (NSMutableArray *) | - audioDescriptions |
| Gets any media descriptions of type "audio". More... | |
| (NSMutableArray *) | - bandwidths |
| Gets the array of proposed bandwidths to be used by the session. More... | |
| (NSMutableArray *) | - bundleGroups |
| Gets bundle groups in this media description. More... | |
| (FMLiveSwitchSdpConnectionData *) | - connectionData |
| Gets session-level connection data. More... | |
| (NSString *) | - description |
| Converts this instance to a string. More... | |
| (NSString *) | - emailAddress |
| Gets the email address for the person responsible for the conference. More... | |
| (FMLiveSwitchSdpEncryptionKey *) | - encryptionKey |
| Gets the session-level encryption key. More... | |
| (NSMutableArray *) | - getSessionLevelCryptoAttributes |
| Obtains Crypto attributes from the session-level attributes in this message. More... | |
| (FMLiveSwitchStreamDirection) | - getSessionLevelDirection |
| Obtains the stream direction indicated as a session-level attribute in this message. More... | |
| (FMLiveSwitchSdpIceFingerprintAttribute *) | - getSessionLevelFingerprintAttribute |
| Obtains Fingerprint attribute from the session-level attributes in this message. More... | |
| (NSMutableArray *) | - getSessionLevelIceOptionAttributes |
| Obtains session-level Ice Options attributes associated with the Sdp Message. More... | |
| (FMLiveSwitchSdpIcePasswordAttribute *) | - getSessionLevelIcePasswordAttribute |
| Obtains Ice Password Attribute from the session-level attributes in this message. More... | |
| (FMLiveSwitchSdpIceUfragAttribute *) | - getSessionLevelIceUfragAttribute |
| Obtains Ice Ufrag Attribute from the session-level attributes in this message. More... | |
| (bool) | - getSessionLevelRtcpMultiplexingSupport |
| Returns a value stating whether Rtcp Multiplexing support is indicated as a session-level attribute in this message. More... | |
| (NSMutableArray *) | - getSessionLevelRtpExtMapAttributes |
| Obtains session-level RTP ext-map attributes associated with the Sdp Message. More... | |
| (FMLiveSwitchSdpSetupAttribute *) | - getSessionLevelSetupAttribute |
| Obtains Setup Attribute from the session-level attributes in this message. More... | |
| (instancetype) | - initWithOrigin: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (instancetype) | - initWithOrigin:sessionName: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (instancetype) | - initWithOrigin:sessionName:timeDescriptions: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (void) | - insertMediaDescriptionWithIndex:mediaDescription: |
| Adds a media description at the given index. More... | |
| (NSMutableArray *) | - mediaDescriptions |
| Gets the array of media descriptions. More... | |
| (FMLiveSwitchSdpMediaDescription *) | - messageDescription |
| Gets the first media description of type "message". More... | |
| (NSMutableArray *) | - messageDescriptions |
| Gets any media descriptions of type "message". More... | |
| (FMLiveSwitchSdpOrigin *) | - origin |
| Gets the originator of the session plus a session identifier and version number. More... | |
| (NSString *) | - phoneNumber |
| Gets the phone number for the person responsible for the conference. More... | |
| (NSString *) | - protocolVersion |
| Gets the version of the Session Description Protocol. More... | |
| (bool) | - removeBandwidth: |
| Removes a proposed bandwidth. More... | |
| (bool) | - removeMediaDescription: |
| Removes a media description. More... | |
| (bool) | - removeSessionAttributeWithAttributeType: |
| Removes a session-level attribute. More... | |
| (bool) | - removeTimeDescription: |
| Removes a start, stop, and repeat time. More... | |
| (void) | - removeTimeDescriptions |
| Removes all time descriptions. More... | |
| (NSMutableArray *) | - sessionAttributes |
| Gets the array of session-level attributes. More... | |
| (NSString *) | - sessionInformation |
| Gets textual information about the session. More... | |
| (NSString *) | - sessionName |
| Gets the textual session name. More... | |
| (void) | - setConnectionData: |
| Sets session-level connection data. More... | |
| (void) | - setEmailAddress: |
| Sets the email address for the person responsible for the conference. More... | |
| (void) | - setEncryptionKey: |
| Sets the session-level encryption key. More... | |
| (void) | - setPhoneNumber: |
| Sets the phone number for the person responsible for the conference. More... | |
| (void) | - setSessionInformation: |
| Sets textual information about the session. More... | |
| (void) | - setSupportsTrickleIce: |
| Sets a value indicating whether Trickle-ICE is supported. More... | |
| (void) | - setTimeZoneAdjustments: |
| Sets the time zone adjustments. More... | |
| (void) | - setUri: |
| Sets the pointer to additional information about the session. More... | |
| (bool) | - supportsRtcpMultiplexing |
| Gets a value indicating whether the SDP Message implies RTP/RTCP Multiplexing Support. More... | |
| (bool) | - supportsTrickleIce |
| Gets a value indicating whether Trickle-ICE is supported. More... | |
| (FMLiveSwitchSdpMediaDescription *) | - textDescription |
| Gets the first media description of type "text". More... | |
| (NSMutableArray *) | - textDescriptions |
| Gets any media descriptions of type "text". More... | |
| (NSMutableArray *) | - timeDescriptions |
| Gets the array of start, stop, and repeat times for the session. More... | |
| (FMLiveSwitchSdpTimeZones *) | - timeZoneAdjustments |
| Gets the time zone adjustments. More... | |
| (void) | - updateSetupValue: |
| Updates SDP Setup Value associated with the session description. More... | |
| (NSURL *) | - uri |
| Gets the pointer to additional information about the session. More... | |
| (FMLiveSwitchSdpMediaDescription *) | - videoDescription |
| Gets the first media description of type "video". More... | |
| (NSMutableArray *) | - videoDescriptions |
| Gets any media descriptions of type "video". More... | |
Class Methods | |
| (FMLiveSwitchSdpMessage *) | + messageWithOrigin: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (FMLiveSwitchSdpMessage *) | + messageWithOrigin:sessionName: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (FMLiveSwitchSdpMessage *) | + messageWithOrigin:sessionName:timeDescriptions: |
| Initializes a new instance of the FMLiveSwitchSdpMessage class. More... | |
| (FMLiveSwitchSdpMessage *) | + parseWithS: |
| Creates an FMLiveSwitchSdpMessage instance from a string. More... | |
An SDP message.
| - (void) addBandwidth: | (FMLiveSwitchSdpBandwidth *) | bandwidth |
Adds a proposed bandwidth.
| bandwidth | The proposed bandwidth to add. |
| - (void) addMediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription |
Adds a media description.
| mediaDescription | The media description to add. |
| - (void) addSessionAttribute: | (FMLiveSwitchSdpAttribute *) | attribute |
Adds a session-level attribute.
| attribute | The session-level attribute to add. |
| - (void) addTimeDescription: | (FMLiveSwitchSdpTimeDescription *) | timeDescription |
Adds a start, stop, and repeat time.
| timeDescription | The start, stop, and repeat time to add. |
| - (FMLiveSwitchSdpMediaDescription*) applicationDescription |
Gets the first media description of type "application".
| - (NSMutableArray*) applicationDescriptions |
Gets any media descriptions of type "application".
| - (FMLiveSwitchSdpMediaDescription*) audioDescription |
Gets the first media description of type "audio".
| - (NSMutableArray*) audioDescriptions |
Gets any media descriptions of type "audio".
| - (NSMutableArray*) bandwidths |
Gets the array of proposed bandwidths to be used by the session.
| - (NSMutableArray*) bundleGroups |
Gets bundle groups in this media description.
| - (FMLiveSwitchSdpConnectionData*) connectionData |
Gets session-level connection data.
| - (NSString*) description |
Converts this instance to a string.
| - (NSString*) emailAddress |
Gets the email address for the person responsible for the conference.
| - (FMLiveSwitchSdpEncryptionKey*) encryptionKey |
Gets the session-level encryption key.
| - (NSMutableArray*) getSessionLevelCryptoAttributes |
Obtains Crypto attributes from the session-level attributes in this message.
Crypto attributes may also be sent as a media-level argument, so individual media descriptions must also be examined.
| - (FMLiveSwitchStreamDirection) getSessionLevelDirection |
Obtains the stream direction indicated as a session-level attribute in this message.
If none is supplied, StreamDirection.Unset is returned. Stream Direction may also be (and most likely is) indicated as a media-level attribute, so individual media descriptions must also be examined.
| - (FMLiveSwitchSdpIceFingerprintAttribute*) getSessionLevelFingerprintAttribute |
Obtains Fingerprint attribute from the session-level attributes in this message.
Fingerprint attribute may also be sent as a media-level argument, so individual media descriptions must also be examined.
| - (NSMutableArray*) getSessionLevelIceOptionAttributes |
Obtains session-level Ice Options attributes associated with the Sdp Message.
| - (FMLiveSwitchSdpIcePasswordAttribute*) getSessionLevelIcePasswordAttribute |
Obtains Ice Password Attribute from the session-level attributes in this message.
Ice Password attribute may also be sent as a media-level argument, so individual media descriptions must also be examined.
| - (FMLiveSwitchSdpIceUfragAttribute*) getSessionLevelIceUfragAttribute |
Obtains Ice Ufrag Attribute from the session-level attributes in this message.
Ice Ufrag Attributes may also be sent as a media-level argument, so individual media descriptions must also be examined.
| - (bool) getSessionLevelRtcpMultiplexingSupport |
Returns a value stating whether Rtcp Multiplexing support is indicated as a session-level attribute in this message.
Rtcp Multiplexing support may also be indicated via a media-level argument, so individual media descriptions must also be examined.
| - (NSMutableArray*) getSessionLevelRtpExtMapAttributes |
Obtains session-level RTP ext-map attributes associated with the Sdp Message.
| - (FMLiveSwitchSdpSetupAttribute*) getSessionLevelSetupAttribute |
Obtains Setup Attribute from the session-level attributes in this message.
Setup Attributes may also be sent as a media-level argument, so individual media descriptions must also be examined.
| - (instancetype) initWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| - (instancetype) initWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin | |
| sessionName: | (NSString *) | sessionName | |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| sessionName | The textual session name. |
| - (instancetype) initWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin | |
| sessionName: | (NSString *) | sessionName | |
| timeDescriptions: | (NSMutableArray *) | timeDescriptions | |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| sessionName | The textual session name. |
| timeDescriptions | The array of start, stop, and repeat times for the session. |
| - (void) insertMediaDescriptionWithIndex: | (int) | index | |
| mediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription | |
Adds a media description at the given index.
| index | The index at which to add the media description. |
| mediaDescription | The media description to add. |
| - (NSMutableArray*) mediaDescriptions |
Gets the array of media descriptions.
| - (FMLiveSwitchSdpMediaDescription*) messageDescription |
Gets the first media description of type "message".
| - (NSMutableArray*) messageDescriptions |
Gets any media descriptions of type "message".
| + (FMLiveSwitchSdpMessage*) messageWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| + (FMLiveSwitchSdpMessage*) messageWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin | |
| sessionName: | (NSString *) | sessionName | |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| sessionName | The textual session name. |
| + (FMLiveSwitchSdpMessage*) messageWithOrigin: | (FMLiveSwitchSdpOrigin *) | origin | |
| sessionName: | (NSString *) | sessionName | |
| timeDescriptions: | (NSMutableArray *) | timeDescriptions | |
Initializes a new instance of the FMLiveSwitchSdpMessage class.
| origin | The originator of the session plus a session identifier and version number. |
| sessionName | The textual session name. |
| timeDescriptions | The array of start, stop, and repeat times for the session. |
| - (FMLiveSwitchSdpOrigin*) origin |
Gets the originator of the session plus a session identifier and version number.
| + (FMLiveSwitchSdpMessage*) parseWithS: | (NSString *) | s |
Creates an FMLiveSwitchSdpMessage instance from a string.
| s | The string to parse. |
| - (NSString*) phoneNumber |
Gets the phone number for the person responsible for the conference.
| - (NSString*) protocolVersion |
Gets the version of the Session Description Protocol.
| - (bool) removeBandwidth: | (FMLiveSwitchSdpBandwidth *) | bandwidth |
Removes a proposed bandwidth.
| bandwidth | The proposed bandwidth to remove. |
| - (bool) removeMediaDescription: | (FMLiveSwitchSdpMediaDescription *) | mediaDescription |
Removes a media description.
| mediaDescription | The media description to remove. |
| - (bool) removeSessionAttributeWithAttributeType: | (FMLiveSwitchSdpAttributeType) | attributeType |
Removes a session-level attribute.
| attributeType | The session-level attribute type to remove. |
| - (bool) removeTimeDescription: | (FMLiveSwitchSdpTimeDescription *) | timeDescription |
Removes a start, stop, and repeat time.
| timeDescription | The start, stop, and repeat time to remove. |
| - (void) removeTimeDescriptions |
Removes all time descriptions.
| - (NSMutableArray*) sessionAttributes |
Gets the array of session-level attributes.
| - (NSString*) sessionInformation |
Gets textual information about the session.
| - (NSString*) sessionName |
Gets the textual session name.
| - (void) setConnectionData: | (FMLiveSwitchSdpConnectionData *) | value |
Sets session-level connection data.
| - (void) setEmailAddress: | (NSString *) | value |
Sets the email address for the person responsible for the conference.
| - (void) setEncryptionKey: | (FMLiveSwitchSdpEncryptionKey *) | value |
Sets the session-level encryption key.
| - (void) setPhoneNumber: | (NSString *) | value |
Sets the phone number for the person responsible for the conference.
| - (void) setSessionInformation: | (NSString *) | value |
Sets textual information about the session.
| - (void) setSupportsTrickleIce: | (bool) | value |
Sets a value indicating whether Trickle-ICE is supported.
| - (void) setTimeZoneAdjustments: | (FMLiveSwitchSdpTimeZones *) | value |
Sets the time zone adjustments.
| - (void) setUri: | (NSURL *) | value |
Sets the pointer to additional information about the session.
| - (bool) supportsRtcpMultiplexing |
Gets a value indicating whether the SDP Message implies RTP/RTCP Multiplexing Support.
| - (bool) supportsTrickleIce |
Gets a value indicating whether Trickle-ICE is supported.
| - (FMLiveSwitchSdpMediaDescription*) textDescription |
Gets the first media description of type "text".
| - (NSMutableArray*) textDescriptions |
Gets any media descriptions of type "text".
| - (NSMutableArray*) timeDescriptions |
Gets the array of start, stop, and repeat times for the session.
| - (FMLiveSwitchSdpTimeZones*) timeZoneAdjustments |
Gets the time zone adjustments.
| - (void) updateSetupValue: | (NSString *) | setupValue |
Updates SDP Setup Value associated with the session description.
| setupValue |
| - (NSURL*) uri |
Gets the pointer to additional information about the session.
| - (FMLiveSwitchSdpMediaDescription*) videoDescription |
Gets the first media description of type "video".
| - (NSMutableArray*) videoDescriptions |
Gets any media descriptions of type "video".