FMIceLinkSdpRtpMapAttribute Class Reference

Inherits from FMIceLinkSdpAttribute : NSObject
Declared in FMIceLinkSdpRtpMapAttribute.h
FMIceLinkSdpRtpMapAttribute.m

Overview

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.

– addRelatedRtcpFeedbackAttribute:

Adds an Rtcp Feedback attribute associated with this Map Attribute.

@param attribute

- (void)addRelatedRtcpFeedbackAttribute:(FMIceLinkSdpRtcpFeedbackAttribute *)attribute

Discussion

Adds an Rtcp Feedback attribute associated with this Map Attribute.

@param attribute

Declared In

FMIceLinkSdpRtpMapAttribute.h

– clockRate

Gets the payload clock rate.
- (int)clockRate

Discussion

Gets the payload clock rate.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– formatName

Gets the format name denoting the payload format to be used.
- (NSString *)formatName

Discussion

Gets the format name denoting the payload format to be used.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– formatParameters

Gets format parameters for the payload.
- (NSString *)formatParameters

Discussion

Gets format parameters for the payload.

Declared In

FMIceLinkSdpRtpMapAttribute.h

+ fromAttributeValue:

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.
+ (FMIceLinkSdpRtpMapAttribute *)fromAttributeValue:(NSString *)value

Parameters

value

The attribute value.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getAttributeValue

Gets the internal value of the attribute.
- (NSString *)getAttributeValue

Discussion

Gets the internal value of the attribute.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedCcmFirFeedbackAttribute

Gets the RTCP "ccm fir" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedCcmFirFeedbackAttribute

Discussion

Gets the RTCP "ccm fir" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedNackFeedbackAttribute

Gets the RTCP "nack" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedNackFeedbackAttribute

Discussion

Gets the RTCP "nack" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedNackPliFeedbackAttribute

Gets the RTCP "nack pli" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedNackPliFeedbackAttribute

Discussion

Gets the RTCP "nack pli" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedNackRpsiFeedbackAttribute

Gets the RTCP "nack rpsi" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedNackRpsiFeedbackAttribute

Discussion

Gets the RTCP "nack rpsi" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedNackSliFeedbackAttribute

Gets the RTCP "nack sli" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedNackSliFeedbackAttribute

Discussion

Gets the RTCP "nack sli" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedRembFeedbackAttribute

Gets the RTCP "goog-remb" feedback attribute associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedRembFeedbackAttribute

Discussion

Gets the RTCP "goog-remb" feedback attribute associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedRtcpFeedbackAttributeWithPayloadType:type:subType:

Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedRtcpFeedbackAttributeWithPayloadType:(int)payloadType type:(NSString *)type subType:(NSString *)subType

Parameters

payloadType

The payload type.

type

The type.

subType

The sub-type.

Discussion

Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– getRelatedRtcpFeedbackAttributeWithType:subType:

Gets the RTCP feedback attribute for the given type and subtype associated with this payload type.
- (FMIceLinkSdpRtcpFeedbackAttribute *)getRelatedRtcpFeedbackAttributeWithType:(NSString *)type subType:(NSString *)subType

Parameters

type

The type.

subType

The sub-type.

Discussion

Gets the RTCP feedback attribute for the given type and subtype associated with this payload type.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– initWithPayloadType:formatName:clockRate:

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.
- (instancetype)initWithPayloadType:(int)payloadType formatName:(NSString *)formatName clockRate:(int)clockRate

Parameters

payloadType

The RTP payload type number.

formatName

The format name denoting the payload format to be used.

clockRate

The payload clock rate.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– initWithPayloadType:formatName:clockRate:formatParameters:

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.
- (instancetype)initWithPayloadType:(int)payloadType formatName:(NSString *)formatName clockRate:(int)clockRate formatParameters:(NSString *)formatParameters

Parameters

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.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.

Declared In

FMIceLinkSdpRtpMapAttribute.h

+ mapAttributeWithPayloadType:formatName:clockRate:

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.
+ (FMIceLinkSdpRtpMapAttribute *)mapAttributeWithPayloadType:(int)payloadType formatName:(NSString *)formatName clockRate:(int)clockRate

Parameters

payloadType

The RTP payload type number.

formatName

The format name denoting the payload format to be used.

clockRate

The payload clock rate.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.

Declared In

FMIceLinkSdpRtpMapAttribute.h

+ mapAttributeWithPayloadType:formatName:clockRate:formatParameters:

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.
+ (FMIceLinkSdpRtpMapAttribute *)mapAttributeWithPayloadType:(int)payloadType formatName:(NSString *)formatName clockRate:(int)clockRate formatParameters:(NSString *)formatParameters

Parameters

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.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMapAttribute class.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– payloadType

Gets the RTP payload type number.
- (int)payloadType

Discussion

Gets the RTP payload type number.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– relatedFormatParametersAttribute

Gets Format Parameters attribute associated with this Map Attribute
- (FMIceLinkSdpFormatParametersAttribute *)relatedFormatParametersAttribute

Discussion

Gets Format Parameters attribute associated with this Map Attribute

Declared In

FMIceLinkSdpRtpMapAttribute.h

– relatedRtcpFeedbackAttributes

Gets Rtcp Feedback attributes associated with this Map Attribute.
- (NSMutableArray *)relatedRtcpFeedbackAttributes

Discussion

Gets Rtcp Feedback attributes associated with this Map Attribute.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– removeRelatedRtcpFeedbackAttribute:

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.

@param attribute

- (bool)removeRelatedRtcpFeedbackAttribute:(FMIceLinkSdpRtcpFeedbackAttribute *)attribute

Discussion

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.

@param attribute

Declared In

FMIceLinkSdpRtpMapAttribute.h

– resetRtcpFeedbackAttributes:

Resets Rtcp Feedback attributes associated with this Map Attribute.
- (void)resetRtcpFeedbackAttributes:(NSMutableArray *)attributes

Discussion

Resets Rtcp Feedback attributes associated with this Map Attribute.

Declared In

FMIceLinkSdpRtpMapAttribute.h

– setRelatedFormatParametersAttribute:

Sets Format Parameters attribute associated with this Map Attribute
- (void)setRelatedFormatParametersAttribute:(FMIceLinkSdpFormatParametersAttribute *)value

Discussion

Sets Format Parameters attribute associated with this Map Attribute

Declared In

FMIceLinkSdpRtpMapAttribute.h