This attribute maps from an RTP payload type number (as used in an "m=" line) to an format name denoting the payload format to be used. More...
Instance Methods | |
(void) | - addRelatedRtcpFeedbackAttribute: |
Adds an Rtcp Feedback attribute associated with this Map Attribute. More... | |
(int) | - clockRate |
Gets the payload clock rate. More... | |
(NSString *) | - formatName |
Gets the format name denoting the payload format to be used. More... | |
(NSString *) | - formatParameters |
Gets format parameters for the payload. More... | |
(NSString *) | - getAttributeValue |
Gets the internal value of the attribute. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedCcmFirFeedbackAttribute |
Gets the RTCP "ccm fir" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedCcmLrrFeedbackAttribute |
Gets the RTCP "ccm lrr" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedCcmTmmbnFeedbackAttribute |
Gets the RTCP "ccm tmmbn" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedCcmTmmbrFeedbackAttribute |
Gets the RTCP "ccm tmmbr" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedNackFeedbackAttribute |
Gets the RTCP "nack" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedNackPliFeedbackAttribute |
Gets the RTCP "nack pli" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedNackRpsiFeedbackAttribute |
Gets the RTCP "nack rpsi" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedNackSliFeedbackAttribute |
Gets the RTCP "nack sli" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedRembFeedbackAttribute |
Gets the RTCP "goog-remb" feedback attribute associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedRtcpFeedbackAttributeWithPayloadType:type:subType: |
Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedRtcpFeedbackAttributeWithType:subType: |
Gets the RTCP feedback attribute for the given type and subtype associated with this payload type. More... | |
(FMLiveSwitchSdpRtcpFeedbackAttribute *) | - getRelatedTransportCCFeedbackAttribute |
Gets the RTCP "transport-cc" feedback attribute associated with this payload type. More... | |
(instancetype) | - initWithPayloadType:formatName:clockRate: |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class. More... | |
(instancetype) | - initWithPayloadType:formatName:clockRate:formatParameters: |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class. More... | |
(int) | - payloadType |
Gets the RTP payload type number. More... | |
(FMLiveSwitchSdpFormatParametersAttribute *) | - relatedFormatParametersAttribute |
Gets Format Parameters attribute associated with this Map Attribute. More... | |
(NSMutableArray *) | - relatedRtcpFeedbackAttributes |
Gets Rtcp Feedback attributes associated with this Map Attribute. More... | |
(bool) | - removeRelatedRtcpFeedbackAttribute: |
Removes an Rtcp Feedback attribute associated with this Map Attribute. More... | |
(void) | - resetRtcpFeedbackAttributes: |
Resets Rtcp Feedback attributes associated with this Map Attribute. More... | |
(void) | - setPayloadType: |
Sets the RTP payload type number. More... | |
(void) | - setRelatedFormatParametersAttribute: |
Sets Format Parameters attribute associated with this Map Attribute. More... | |
Instance Methods inherited from FMLiveSwitchSdpAttribute | |
(FMLiveSwitchSdpAttributeType) | - attributeType |
Gets this Attribute's Type. More... | |
(NSString *) | - description |
Converts this instance to a string. More... | |
(instancetype) | - init |
(FMLiveSwitchSdpAttributeCategory) | - multiplexingCategory |
Gets the Multiplexing Category of this Attribute. More... | |
(void) | - setAttributeType: |
Sets this Attribute's Type. More... | |
(void) | - setMultiplexingCategory: |
Sets the Multiplexing Category of this Attribute. More... | |
This attribute maps from an RTP payload type number (as used in an "m=" line) to an format name denoting the payload format to be used.
It also provides information on the clock rate and format parameters. It is a media-level attribute that is not dependent on charset.
- (void) addRelatedRtcpFeedbackAttribute: | (FMLiveSwitchSdpRtcpFeedbackAttribute *) | attribute |
Adds an Rtcp Feedback attribute associated with this Map Attribute.
attribute |
- (int) clockRate |
Gets the payload clock rate.
- (NSString*) formatName |
Gets the format name denoting the payload format to be used.
- (NSString*) formatParameters |
Gets format parameters for the payload.
+ (FMLiveSwitchSdpRtpMapAttribute*) fromAttributeValue: | (NSString *) | value |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class.
value | The attribute value. |
- (NSString*) getAttributeValue |
Gets the internal value of the attribute.
Implements FMLiveSwitchSdpAttribute.
+ (FMLiveSwitchSdpRtpMapAttribute*) getIanaMapAttributeWithPayloadType: | (int) | payloadType |
Gets the RTP map attribute for an IANA-reserved payload type.
payloadType | The payload type. |
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedCcmFirFeedbackAttribute |
Gets the RTCP "ccm fir" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedCcmLrrFeedbackAttribute |
Gets the RTCP "ccm lrr" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedCcmTmmbnFeedbackAttribute |
Gets the RTCP "ccm tmmbn" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedCcmTmmbrFeedbackAttribute |
Gets the RTCP "ccm tmmbr" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedNackFeedbackAttribute |
Gets the RTCP "nack" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedNackPliFeedbackAttribute |
Gets the RTCP "nack pli" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedNackRpsiFeedbackAttribute |
Gets the RTCP "nack rpsi" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedNackSliFeedbackAttribute |
Gets the RTCP "nack sli" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedRembFeedbackAttribute |
Gets the RTCP "goog-remb" feedback attribute associated with this payload type.
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedRtcpFeedbackAttributeWithPayloadType: | (int) | payloadType | |
type: | (NSString *) | type | |
subType: | (NSString *) | subType | |
Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type.
payloadType | The payload type. |
type | The type. |
subType | The sub-type. |
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedRtcpFeedbackAttributeWithType: | (NSString *) | type | |
subType: | (NSString *) | subType | |
Gets the RTCP feedback attribute for the given type and subtype associated with this payload type.
type | The type. |
subType | The sub-type. |
- (FMLiveSwitchSdpRtcpFeedbackAttribute*) getRelatedTransportCCFeedbackAttribute |
Gets the RTCP "transport-cc" feedback attribute associated with this payload type.
- (instancetype) initWithPayloadType: | (int) | payloadType | |
formatName: | (NSString *) | formatName | |
clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
- (instancetype) initWithPayloadType: | (int) | payloadType | |
formatName: | (NSString *) | formatName | |
clockRate: | (int) | clockRate | |
formatParameters: | (NSString *) | formatParameters | |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
formatParameters | The format parameters for the payload. |
+ (FMLiveSwitchSdpRtpMapAttribute*) mapAttributeWithPayloadType: | (int) | payloadType | |
formatName: | (NSString *) | formatName | |
clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
+ (FMLiveSwitchSdpRtpMapAttribute*) mapAttributeWithPayloadType: | (int) | payloadType | |
formatName: | (NSString *) | formatName | |
clockRate: | (int) | clockRate | |
formatParameters: | (NSString *) | formatParameters | |
Initializes a new instance of the FMLiveSwitchSdpRtpMapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
formatParameters | The format parameters for the payload. |
- (int) payloadType |
Gets the RTP payload type number.
- (FMLiveSwitchSdpFormatParametersAttribute*) relatedFormatParametersAttribute |
Gets Format Parameters attribute associated with this Map Attribute.
- (NSMutableArray*) relatedRtcpFeedbackAttributes |
Gets Rtcp Feedback attributes associated with this Map Attribute.
- (bool) removeRelatedRtcpFeedbackAttribute: | (FMLiveSwitchSdpRtcpFeedbackAttribute *) | attribute |
Removes an Rtcp Feedback attribute associated with this Map Attribute.
Returns true if the attribute was reomved; if the attribute was not present, returns false.
attribute |
- (void) resetRtcpFeedbackAttributes: | (NSMutableArray *) | attributes |
Resets Rtcp Feedback attributes associated with this Map Attribute.
- (void) setPayloadType: | (int) | value |
Sets the RTP payload type number.
- (void) setRelatedFormatParametersAttribute: | (FMLiveSwitchSdpFormatParametersAttribute *) | value |
Sets Format Parameters attribute associated with this Map Attribute.