An SDP media description element. More...
Instance Methods | |
| (void) | - addBandwidth: |
| Adds a proposed bandwidth. More... | |
| (void) | - addMediaAttribute: |
| Adds a media-level attribute. More... | |
| (NSMutableArray *) | - bandwidths |
| Gets the array of proposed bandwidths to be used by the media. More... | |
| (bool) | - bundleOnly |
| Gets a value indicating whether this media description has been marked as bundle-only. More... | |
| (FMLiveSwitchSdpConnectionData *) | - connectionData |
| Gets media-level connection data. More... | |
| (NSMutableArray *) | - cryptoAttributes |
| Gets CryptoAttributes associated with this MediaDescription. More... | |
| (NSString *) | - description |
| Converts this instance to a string. More... | |
| (FMLiveSwitchSdpEncryptionKey *) | - encryptionKey |
| Gets the media-level encryption key. More... | |
| (FMLiveSwitchSdpIceFingerprintAttribute *) | - fingerprintAttribute |
| Gets the Fingerprint Attribute from this MediaDescription. More... | |
| (NSMutableArray *) | - getCandidateAttributes |
| Obtains Ice Candidate attributes associated with this media description. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getCcmFirFeedbackAttributeWithPayloadType: |
| Gets the RTCP "ccm fir" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getCcmLrrFeedbackAttributeWithPayloadType: |
| Gets the RTCP "ccm lrr" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpContentAttribute *) | - getContentAttribute |
| Obtains the content attribute. More... | |
| (FMLiveSwitchSdpFormatParametersAttribute *) | - getFormatParametersAttributeWithPayloadType: |
| Gets the format parameters attribute for the given payload type. More... | |
| (NSString *) | - getFormatParameterValueWithPayloadType:formatParameterName: |
| Sets a format parameter value. More... | |
| (NSMutableArray *) | - getIceOptionAttributes |
| Obtains Ice Options attributes associated with this media description. More... | |
| (FMLiveSwitchSdpMaxPacketTimeAttribute *) | - getMaxPacketTimeAttribute |
| Obtains the maximum packet time attribute. More... | |
| (FMLiveSwitchSdpMediaStreamIdAttribute *) | - getMediaStreamIdentifierAttribute |
| Obtains the media stream identifier attribute. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getNackFeedbackAttributeWithPayloadType: |
| Gets the RTCP "nack" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getNackPliFeedbackAttributeWithPayloadType: |
| Gets the RTCP "nack pli" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getNackRpsiFeedbackAttributeWithPayloadType: |
| Gets the RTCP "nack rpsi" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getNackSliFeedbackAttributeWithPayloadType: |
| Gets the RTCP "nack sli" feedback attribute for the given payload type. More... | |
| (FMLiveSwitchSdpPacketTimeAttribute *) | - getPacketTimeAttribute |
| Obtains the packet time attribute. More... | |
| (NSMutableArray *) | - getPreferredRtpMapAttributes |
| Obtains the RTP map attributes in preference order. More... | |
| (NSMutableArray *) | - getRidAttributes |
| Obtains the RID attributes. More... | |
| (NSMutableArray *) | - getRidAttributesWithDirection: |
| Obtains the RID attributes. More... | |
| (FMLiveSwitchSdpRtpRidAttribute *) | - getRidAttributeWithRid: |
| Obtains an RID attribute by its RID. More... | |
| (FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRtcpFeedbackAttributeWithPayloadType:type:subType: |
| Gets the RTCP feedback attribute for the given payload type. More... | |
| (NSMutableArray *) | - getRtpExtMapAttributes |
| Obtains the RTP ext-map attributes. More... | |
| (NSMutableArray *) | - getRtpMapAttributes |
| Obtains the RTP map attributes. More... | |
| (NSMutableArray *) | - getRtpMapAttributesWithFormatName:clockRate:formatParameters: |
| Obtains the RTP map attributes for a given format. More... | |
| (NSMutableArray *) | - getRtpMapAttributesWithFormatName:clockRate:formatParameters:rtpMapAttributeIndices: |
| Obtains the RTP map attributes for a given format. More... | |
| (FMLiveSwitchSdpRtpMapAttribute *) | - getRtpMapAttributeWithFormatName:clockRate: |
| Obtains the RTP map attribute for a given format. More... | |
| (FMLiveSwitchSdpRtpMapAttribute *) | - getRtpMapAttributeWithFormatName:clockRate:formatParameters: |
| Obtains the RTP map attribute for a given format. More... | |
| (FMLiveSwitchSdpRtpMapAttribute *) | - getRtpMapAttributeWithFormatName:clockRate:formatParameters:rtpMapAttributeIndex: |
| Obtains the RTP map attribute for a given format. More... | |
| (FMLiveSwitchSdpRtpMapAttribute *) | - getRtpMapAttributeWithPayloadType: |
| Obtains the RTP map attribute for a given payload type. More... | |
| (FMLiveSwitchSdpRtpMapAttribute *) | - getRtpMapAttributeWithPayloadType:rtpMapAttributeIndex: |
| Obtains the RTP map attribute for a given payload type. More... | |
| (FMLiveSwitchSdpRtpSimulcastAttribute *) | - getSimulcastAttribute |
| Obtains the simulcast attribute. More... | |
| (NSMutableArray *) | - getSsrcAttributes |
| Obtains the SSRC attributes. More... | |
| (NSMutableArray *) | - getSsrcAttributesWithName: |
| Obtains the SSRC attributes. More... | |
| (NSMutableArray *) | - getSsrcAttributesWithSsrc: |
| Obtains the SSRC attributes matching a given synchronization source. More... | |
| (NSMutableArray *) | - getSsrcAttributesWithSsrc:name: |
| Obtains the SSRC attributes matching a given synchronization source and name. More... | |
| (FMLiveSwitchSdpRtpSsrcAttribute *) | - getSsrcAttributeWithSsrc:name: |
| Obtains the first SSRC attribute matching a given synchronization source and name. More... | |
| (FMLiveSwitchSdpRtpSsrcAttribute *) | - getSsrcAttributeWithSsrc:name:value: |
| Obtains the SSRC attribute matching a given synchronization source, name, and value. More... | |
| (NSMutableArray *) | - getSsrcGroupAttributes |
| Obtains the SSRC Group attributes. More... | |
| (NSMutableArray *) | - getSsrcGroupSsrcsWithSemantics: |
| Obtains the SSRCS from the first SSRC Group with matching semantics. More... | |
| (FMLiveSwitchSdpIcePasswordAttribute *) | - icePasswordAttribute |
| Gets the IcePasswordAttribute associated with this MediaDescription. More... | |
| (FMLiveSwitchSdpIceUfragAttribute *) | - iceUfragAttribute |
| Gets the IceUfragAttribute associated with this MediaDescription. More... | |
| (NSMutableArray *) | - identicalCategoryAttributes |
| Gets the attributes with Identical Multiplexing Category present in this description. More... | |
| (instancetype) | - initWithMedia: |
| Initializes a new instance of the FMLiveSwitchSdpMediaDescription class. More... | |
| (void) | - insertMediaAttribute:index: |
| DEPRECATED: Use AddMediaAttribute instead. More... | |
| (bool) | - isApplication |
| Gets whether this media description represents an application stream (media type == "application"). More... | |
| (bool) | - isAudio |
| Gets whether this media description represents an audio stream (media type == "audio"). More... | |
| (bool) | - isMessage |
| Gets whether this media description represents a message stream (media type == "message"). More... | |
| (bool) | - isMuted |
| Gets a value indicating whether this stream is muted. More... | |
| (bool) | - isText |
| Gets whether this media description represents a text stream (media type == "text"). More... | |
| (bool) | - isVideo |
| Gets whether this media description represents a video stream (media type == "video"). More... | |
| (FMLiveSwitchSdpMedia *) | - media |
| Gets the media name and transport address. More... | |
| (NSMutableArray *) | - mediaAttributes |
| Gets the array of media-level attributes. More... | |
| (NSString *) | - mediaTitle |
| Gets the media title. More... | |
| (bool) | - orderFormatsWithNames: |
| Orders the formats in preference order. More... | |
| (bool) | - purgeFormatWithName: |
| Removes a format by name. More... | |
| (bool) | - purgeFormatWithName:clockRate: |
| Removes a format by name and clock rate. More... | |
| (bool) | - purgeFormatWithName:clockRate:channelCount: |
| Removes a format by name, clock rate, and channel count. More... | |
| (FMLiveSwitchSdpQualityAttribute *) | - qualityAttribute |
| Gets the QualityAttribute associated with this MediaDescription. More... | |
| (bool) | - removeBandwidth: |
| Removes a proposed bandwidth. More... | |
| (void) | - removeBundleCategoryAttributes |
| Removes Bundle (i.e. More... | |
| (bool) | - removeMediaAttribute: |
| Removes a media-level attribute. More... | |
| (FMLiveSwitchSdpRtcpAttribute *) | - rtcpAttribute |
| Gets Rtcp Attributes associated with this media description. More... | |
| (bool) | - rtcpMultiplexingSupported |
| Gets a value indicating support for RTCP Multiplexing. More... | |
| (FMLiveSwitchSdpSctpMapAttribute *) | - sctpMapAttribute |
| Gets the Sctp Map Attribute, if it is present in the Media Description. More... | |
| (FMLiveSwitchSdpSctpMaxMessageSizeAttribute *) | - sctpMaxMessageSizeAttribute |
| Gets the Sctp Max Message Size Attribute, if it is present in the Media Description. More... | |
| (FMLiveSwitchSdpSctpPortAttribute *) | - sctpPortAttribute |
| Gets the Sctp Port Attribute, if it is present in the Media Description. More... | |
| (void) | - setConnectionData: |
| Sets media-level connection data. More... | |
| (void) | - setEncryptionKey: |
| Sets the media-level encryption key. More... | |
| (bool) | - setFormatParameterValueWithPayloadType:formatParameterName:formatParameterValue: |
| Sets a format parameter value. More... | |
| (void) | - setIsMuted: |
| Sets a value indicating whether this stream is muted. More... | |
| (void) | - setMediaTitle: |
| Sets the media title. More... | |
| (void) | - setQualityAttribute: |
| Sets the QualityAttribute associated with this MediaDescription. More... | |
| (void) | - setRtcpAttribute: |
| Sets Rtcp Attributes associated with this media description. More... | |
| (void) | - setRtcpMultiplexingSupported: |
| Sets a value indicating support for RTCP Multiplexing. More... | |
| (void) | - setSetupAttribute: |
| Sets the SetupAttribute associated with this MediaDescription. More... | |
| (void) | - setStreamDirection: |
| Sets the stream direction indicated in Media Description. More... | |
| (FMLiveSwitchSdpSetupAttribute *) | - setupAttribute |
| Gets the SetupAttribute associated with this MediaDescription. More... | |
| (FMLiveSwitchStreamDirection) | - streamDirection |
| Gets the stream direction indicated in Media Description. More... | |
| (bool) | - supportsIce |
| Gets a value indicating whether this SDP MediaDescription suggests support for ICE. More... | |
| (NSMutableArray *) | - transportCategoryAttributes |
| Gets the attributes with Transport Multiplexing Category present in this description. More... | |
| (bool) | - tryAddContentAttribute: |
| Adds a content attribute if not already present. More... | |
| (void) | - updateQualityAttributeValueWithQuality: |
| Updates SDP Quality Attribute associated with this media description if one is present. More... | |
Class Methods | |
| (FMLiveSwitchSdpMediaDescription *) | + mediaDescriptionWithMedia: |
| Initializes a new instance of the FMLiveSwitchSdpMediaDescription class. More... | |
| (FMLiveSwitchSdpMediaDescription *) | + parseWithS: |
| Creates an FMLiveSwitchSdpMediaDescription instance from a string. More... | |
An SDP media description element.
| - (void) addBandwidth: | (FMLiveSwitchSdpBandwidth *) | bandwidth |
Adds a proposed bandwidth.
| bandwidth | The proposed bandwidth to add. |
| - (void) addMediaAttribute: | (FMLiveSwitchSdpAttribute *) | attribute |
Adds a media-level attribute.
| attribute | The session-level attribute to add. |
| - (NSMutableArray*) bandwidths |
Gets the array of proposed bandwidths to be used by the media.
| - (bool) bundleOnly |
Gets a value indicating whether this media description has been marked as bundle-only.
| - (FMLiveSwitchSdpConnectionData*) connectionData |
Gets media-level connection data.
| - (NSMutableArray*) cryptoAttributes |
Gets CryptoAttributes associated with this MediaDescription.
| - (NSString*) description |
Converts this instance to a string.
| - (FMLiveSwitchSdpEncryptionKey*) encryptionKey |
Gets the media-level encryption key.
| - (FMLiveSwitchSdpIceFingerprintAttribute*) fingerprintAttribute |
Gets the Fingerprint Attribute from this MediaDescription.
| - (NSMutableArray*) getCandidateAttributes |
Obtains Ice Candidate attributes associated with this media description.
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getCcmFirFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "ccm fir" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getCcmLrrFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "ccm lrr" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpContentAttribute*) getContentAttribute |
Obtains the content attribute.
| - (FMLiveSwitchSdpFormatParametersAttribute*) getFormatParametersAttributeWithPayloadType: | (int) | payloadType |
Gets the format parameters attribute for the given payload type.
| payloadType | The payload type. |
| - (NSString*) getFormatParameterValueWithPayloadType: | (int) | payloadType | |
| formatParameterName: | (NSString *) | formatParameterName | |
Sets a format parameter value.
| - (NSMutableArray*) getIceOptionAttributes |
Obtains Ice Options attributes associated with this media description.
| - (FMLiveSwitchSdpMaxPacketTimeAttribute*) getMaxPacketTimeAttribute |
Obtains the maximum packet time attribute.
| - (FMLiveSwitchSdpMediaStreamIdAttribute*) getMediaStreamIdentifierAttribute |
Obtains the media stream identifier attribute.
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getNackFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "nack" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getNackPliFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "nack pli" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getNackRpsiFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "nack rpsi" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getNackSliFeedbackAttributeWithPayloadType: | (int) | payloadType |
Gets the RTCP "nack sli" feedback attribute for the given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpPacketTimeAttribute*) getPacketTimeAttribute |
Obtains the packet time attribute.
| - (NSMutableArray*) getPreferredRtpMapAttributes |
Obtains the RTP map attributes in preference order.
| - (NSMutableArray*) getRidAttributes |
Obtains the RID attributes.
| - (NSMutableArray*) getRidAttributesWithDirection: | (NSString *) | direction |
Obtains the RID attributes.
| direction | The RID attribute direction. |
| - (FMLiveSwitchSdpRtpRidAttribute*) getRidAttributeWithRid: | (NSString *) | rid |
Obtains an RID attribute by its RID.
| - (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRtcpFeedbackAttributeWithPayloadType: | (int) | payloadType | |
| type: | (NSString *) | type | |
| subType: | (NSString *) | subType | |
Gets the RTCP feedback attribute for the given payload type.
| payloadType | The payload type. |
| type | The type. |
| subType | The sub-type. |
| - (NSMutableArray*) getRtpExtMapAttributes |
Obtains the RTP ext-map attributes.
| - (NSMutableArray*) getRtpMapAttributes |
Obtains the RTP map attributes.
| - (NSMutableArray*) getRtpMapAttributesWithFormatName: | (NSString *) | formatName | |
| clockRate: | (int) | clockRate | |
| formatParameters: | (NSString *) | formatParameters | |
Obtains the RTP map attributes for a given format.
| formatName | Format name. |
| clockRate | Clock rate. |
| formatParameters | Format parameters. |
| - (NSMutableArray*) getRtpMapAttributesWithFormatName: | (NSString *) | formatName | |
| clockRate: | (int) | clockRate | |
| formatParameters: | (NSString *) | formatParameters | |
| rtpMapAttributeIndices: | (NSMutableArray **) | rtpMapAttributeIndices | |
Obtains the RTP map attributes for a given format.
| formatName | Format name. |
| clockRate | Clock rate. |
| formatParameters | Format parameters. |
| rtpMapAttributeIndices | The indeces of the FMLiveSwitchSdpRtpMapAttribute. |
| - (FMLiveSwitchSdpRtpMapAttribute*) getRtpMapAttributeWithFormatName: | (NSString *) | formatName | |
| clockRate: | (int) | clockRate | |
Obtains the RTP map attribute for a given format.
| formatName | Format name. |
| clockRate | Clock rate. |
| - (FMLiveSwitchSdpRtpMapAttribute*) getRtpMapAttributeWithFormatName: | (NSString *) | formatName | |
| clockRate: | (int) | clockRate | |
| formatParameters: | (NSString *) | formatParameters | |
Obtains the RTP map attribute for a given format.
| formatName | Format name. |
| clockRate | Clock rate. |
| formatParameters | Format parameters. |
| - (FMLiveSwitchSdpRtpMapAttribute*) getRtpMapAttributeWithFormatName: | (NSString *) | formatName | |
| clockRate: | (int) | clockRate | |
| formatParameters: | (NSString *) | formatParameters | |
| rtpMapAttributeIndex: | (int *) | rtpMapAttributeIndex | |
Obtains the RTP map attribute for a given format.
| formatName | Format name. |
| clockRate | Clock rate. |
| formatParameters | Format parameters. |
| rtpMapAttributeIndex | The index of the FMLiveSwitchSdpRtpMapAttribute. |
| - (FMLiveSwitchSdpRtpMapAttribute*) getRtpMapAttributeWithPayloadType: | (int) | payloadType |
Obtains the RTP map attribute for a given payload type.
| payloadType | The payload type. |
| - (FMLiveSwitchSdpRtpMapAttribute*) getRtpMapAttributeWithPayloadType: | (int) | payloadType | |
| rtpMapAttributeIndex: | (int *) | rtpMapAttributeIndex | |
Obtains the RTP map attribute for a given payload type.
| payloadType | The payload type. |
| rtpMapAttributeIndex | The index of the FMLiveSwitchSdpRtpMapAttribute. |
| - (FMLiveSwitchSdpRtpSimulcastAttribute*) getSimulcastAttribute |
Obtains the simulcast attribute.
| - (NSMutableArray*) getSsrcAttributes |
Obtains the SSRC attributes.
| - (NSMutableArray*) getSsrcAttributesWithName: | (NSString *) | name |
Obtains the SSRC attributes.
| name | The SSRC attribute name. |
| - (NSMutableArray*) getSsrcAttributesWithSsrc: | (long long) | ssrc |
Obtains the SSRC attributes matching a given synchronization source.
| ssrc | The synchronization source. |
| - (NSMutableArray*) getSsrcAttributesWithSsrc: | (long long) | ssrc | |
| name: | (NSString *) | name | |
Obtains the SSRC attributes matching a given synchronization source and name.
| ssrc | The synchronization source. |
| name | The attribute name. |
| - (FMLiveSwitchSdpRtpSsrcAttribute*) getSsrcAttributeWithSsrc: | (long long) | ssrc | |
| name: | (NSString *) | name | |
Obtains the first SSRC attribute matching a given synchronization source and name.
| ssrc | The synchronization source. |
| name | The attribute name. |
| - (FMLiveSwitchSdpRtpSsrcAttribute*) getSsrcAttributeWithSsrc: | (long long) | ssrc | |
| name: | (NSString *) | name | |
| value: | (NSString *) | value | |
Obtains the SSRC attribute matching a given synchronization source, name, and value.
| ssrc | The synchronization source. |
| name | The attribute name. |
| value | The attribute value. |
| - (NSMutableArray*) getSsrcGroupAttributes |
Obtains the SSRC Group attributes.
| - (NSMutableArray*) getSsrcGroupSsrcsWithSemantics: | (NSString *) | semantics |
Obtains the SSRCS from the first SSRC Group with matching semantics.
| - (FMLiveSwitchSdpIcePasswordAttribute*) icePasswordAttribute |
Gets the IcePasswordAttribute associated with this MediaDescription.
| - (FMLiveSwitchSdpIceUfragAttribute*) iceUfragAttribute |
Gets the IceUfragAttribute associated with this MediaDescription.
| - (NSMutableArray*) identicalCategoryAttributes |
Gets the attributes with Identical Multiplexing Category present in this description.
| - (instancetype) initWithMedia: | (FMLiveSwitchSdpMedia *) | media |
Initializes a new instance of the FMLiveSwitchSdpMediaDescription class.
| media | The media name and transport address. |
| - (void) insertMediaAttribute: | (FMLiveSwitchSdpAttribute *) | attribute | |
| index: | (int) | index | |
DEPRECATED: Use AddMediaAttribute instead.
Inserts a media-level attribute at the given index.
| attribute | The session-level attribute to add. |
| index | The index. |
| - (bool) isApplication |
Gets whether this media description represents an application stream (media type == "application").
| - (bool) isAudio |
Gets whether this media description represents an audio stream (media type == "audio").
| - (bool) isMessage |
Gets whether this media description represents a message stream (media type == "message").
| - (bool) isMuted |
Gets a value indicating whether this stream is muted.
Applies to only media streams.
| - (bool) isText |
Gets whether this media description represents a text stream (media type == "text").
| - (bool) isVideo |
Gets whether this media description represents a video stream (media type == "video").
| - (FMLiveSwitchSdpMedia*) media |
Gets the media name and transport address.
| - (NSMutableArray*) mediaAttributes |
Gets the array of media-level attributes.
| + (FMLiveSwitchSdpMediaDescription*) mediaDescriptionWithMedia: | (FMLiveSwitchSdpMedia *) | media |
Initializes a new instance of the FMLiveSwitchSdpMediaDescription class.
| media | The media name and transport address. |
| - (NSString*) mediaTitle |
Gets the media title.
| - (bool) orderFormatsWithNames: | (NSMutableArray *) | names |
Orders the formats in preference order.
| names | The format names. |
false if a media element does not exist; otherwise true. | + (FMLiveSwitchSdpMediaDescription*) parseWithS: | (NSString *) | s |
Creates an FMLiveSwitchSdpMediaDescription instance from a string.
| s | The string to parse. |
| - (bool) purgeFormatWithName: | (NSString *) | name |
Removes a format by name.
| name | The format name. |
true if the format was found and removed; otherwise, false | - (bool) purgeFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
Removes a format by name and clock rate.
| name | The format name. |
| clockRate | The clock rate. |
true if the format was found and removed; otherwise, false | - (bool) purgeFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| channelCount: | (int) | channelCount | |
Removes a format by name, clock rate, and channel count.
| name | The format name. |
| clockRate | The clock rate. |
| channelCount | The channel count. |
true if the format was found and removed; otherwise, false | - (FMLiveSwitchSdpQualityAttribute*) qualityAttribute |
Gets the QualityAttribute associated with this MediaDescription.
| - (bool) removeBandwidth: | (FMLiveSwitchSdpBandwidth *) | bandwidth |
Removes a proposed bandwidth.
| bandwidth | The proposed bandwidth to remove. |
| - (void) removeBundleCategoryAttributes |
Removes Bundle (i.e.
Transport and Identical) Category Attributes.
| - (bool) removeMediaAttribute: | (FMLiveSwitchSdpAttribute *) | attribute |
Removes a media-level attribute.
| attribute | The session-level attribute to remove. |
| - (FMLiveSwitchSdpRtcpAttribute*) rtcpAttribute |
Gets Rtcp Attributes associated with this media description.
| - (bool) rtcpMultiplexingSupported |
Gets a value indicating support for RTCP Multiplexing.
| - (FMLiveSwitchSdpSctpMapAttribute*) sctpMapAttribute |
Gets the Sctp Map Attribute, if it is present in the Media Description.
| - (FMLiveSwitchSdpSctpMaxMessageSizeAttribute*) sctpMaxMessageSizeAttribute |
Gets the Sctp Max Message Size Attribute, if it is present in the Media Description.
| - (FMLiveSwitchSdpSctpPortAttribute*) sctpPortAttribute |
Gets the Sctp Port Attribute, if it is present in the Media Description.
| - (void) setConnectionData: | (FMLiveSwitchSdpConnectionData *) | value |
Sets media-level connection data.
| - (void) setEncryptionKey: | (FMLiveSwitchSdpEncryptionKey *) | value |
Sets the media-level encryption key.
| - (bool) setFormatParameterValueWithPayloadType: | (int) | payloadType | |
| formatParameterName: | (NSString *) | formatParameterName | |
| formatParameterValue: | (NSString *) | formatParameterValue | |
Sets a format parameter value.
| - (void) setIsMuted: | (bool) | value |
Sets a value indicating whether this stream is muted.
Applies to only media streams.
| - (void) setMediaTitle: | (NSString *) | value |
Sets the media title.
| - (void) setQualityAttribute: | (FMLiveSwitchSdpQualityAttribute *) | value |
Sets the QualityAttribute associated with this MediaDescription.
| - (void) setRtcpAttribute: | (FMLiveSwitchSdpRtcpAttribute *) | value |
Sets Rtcp Attributes associated with this media description.
| - (void) setRtcpMultiplexingSupported: | (bool) | value |
Sets a value indicating support for RTCP Multiplexing.
| - (void) setSetupAttribute: | (FMLiveSwitchSdpSetupAttribute *) | value |
Sets the SetupAttribute associated with this MediaDescription.
| - (void) setStreamDirection: | (FMLiveSwitchStreamDirection) | value |
Sets the stream direction indicated in Media Description.
Getter returns StreamDirection if DirectionAttribute is present; otherwise, returns StreamDirection.Unset.
| - (FMLiveSwitchSdpSetupAttribute*) setupAttribute |
Gets the SetupAttribute associated with this MediaDescription.
| - (FMLiveSwitchStreamDirection) streamDirection |
Gets the stream direction indicated in Media Description.
Getter returns StreamDirection if DirectionAttribute is present; otherwise, returns StreamDirection.Unset.
| - (bool) supportsIce |
Gets a value indicating whether this SDP MediaDescription suggests support for ICE.
| - (NSMutableArray*) transportCategoryAttributes |
Gets the attributes with Transport Multiplexing Category present in this description.
| - (bool) tryAddContentAttribute: | (FMLiveSwitchSdpContentAttribute *) | contentAttribute |
Adds a content attribute if not already present.
| contentAttribute | The content attribute. |
| - (void) updateQualityAttributeValueWithQuality: | (int) | quality |
Updates SDP Quality Attribute associated with this media description if one is present.
Otherwise, creates a new one and inserts it into this media description.
| quality |