FMLiveSwitchSdpRtcpFeedbackAttribute Class Reference

This attribute is used to indicate the capability of using RTCP feedback. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithPayloadType:type:
 Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class. More...
 
(instancetype) - initWithPayloadType:type:subtype:
 Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class. More...
 
(int) - payloadType
 Gets the payload type. More...
 
(void) - setPayloadType:
 Sets the payload type. More...
 
(void) - setSubType:
 Sets the sub-type. More...
 
(void) - setType:
 Sets the type. More...
 
(NSString *) - subType
 Gets the sub-type. More...
 
(NSString *) - type
 Gets the type. 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...
 

Class Methods

(FMLiveSwitchSdpRtcpFeedbackAttribute *) + ccmFirAttributeWithPayloadType:
 Creates a "ccm fir" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + ccmLrrAttributeWithPayloadType:
 Creates a "ccm lrr" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + ccmTmmbnAttributeWithPayloadType:
 Creates a "ccm tmmbn" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + ccmTmmbrAttributeWithPayloadType:
 Creates a "ccm tmmbr" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + feedbackAttributeWithPayloadType:type:
 Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + feedbackAttributeWithPayloadType:type:subtype:
 Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + nackAttributeWithPayloadType:
 Creates a "nack" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + nackPliAttributeWithPayloadType:
 Creates a "nack pli" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + nackRpsiAttributeWithPayloadType:
 Creates a "nack rpsi" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + nackSliAttributeWithPayloadType:
 Creates a "nack sli" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + rembAttributeWithPayloadType:
 Creates a "goog-remb" feedback attribute. More...
 
(FMLiveSwitchSdpRtcpFeedbackAttribute *) + transportCCAttributeWithPayloadType:
 Creates a "transport-cc" feedback attribute. More...
 
(int) + wildcardPayloadType
 Gets the payload type that represents wildcard feedback attributes ('*'). More...
 
- Class Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttribute *) + attribute
 
(FMLiveSwitchSdpAttribute *) + createAttributeWithName:value:
 Creates an attribute. More...
 
(NSString *) + getTypeNameWithType:
 Gets the name of the attribute type. More...
 
(bool) + isMediaLevelWithType:
 Determines whether the type applies to media streams. More...
 
(bool) + isSessionLevelWithType:
 Determines whether the type applies to sessions. More...
 
(FMLiveSwitchSdpAttribute *) + parseWithS:
 Creates an FMLiveSwitchSdpConnectionData instance from a string. More...
 

Detailed Description

This attribute is used to indicate the capability of using RTCP feedback.

Method Documentation

◆ ccmFirAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) ccmFirAttributeWithPayloadType: (int)  payloadType

Creates a "ccm fir" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmLrrAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) ccmLrrAttributeWithPayloadType: (int)  payloadType

Creates a "ccm lrr" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmTmmbnAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) ccmTmmbnAttributeWithPayloadType: (int)  payloadType

Creates a "ccm tmmbn" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmTmmbrAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) ccmTmmbrAttributeWithPayloadType: (int)  payloadType

Creates a "ccm tmmbr" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ feedbackAttributeWithPayloadType:type:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) feedbackAttributeWithPayloadType: (int)  payloadType
type: (NSString *)  type 

Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class.

Parameters
payloadTypeThe payload type.
typeThe type.

◆ feedbackAttributeWithPayloadType:type:subtype:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) feedbackAttributeWithPayloadType: (int)  payloadType
type: (NSString *)  type
subtype: (NSString *)  subtype 

Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class.

Parameters
payloadTypeThe payload type.
typeThe type.
subtypeThe subtype.

◆ fromAttributeValue:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) fromAttributeValue: (NSString *)  value

Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithPayloadType:type:

- (instancetype) initWithPayloadType: (int)  payloadType
type: (NSString *)  type 

Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class.

Parameters
payloadTypeThe payload type.
typeThe type.

◆ initWithPayloadType:type:subtype:

- (instancetype) initWithPayloadType: (int)  payloadType
type: (NSString *)  type
subtype: (NSString *)  subtype 

Initializes a new instance of the FMLiveSwitchSdpRtcpFeedbackAttribute class.

Parameters
payloadTypeThe payload type.
typeThe type.
subtypeThe subtype.

◆ nackAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) nackAttributeWithPayloadType: (int)  payloadType

Creates a "nack" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackPliAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) nackPliAttributeWithPayloadType: (int)  payloadType

Creates a "nack pli" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackRpsiAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) nackRpsiAttributeWithPayloadType: (int)  payloadType

Creates a "nack rpsi" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackSliAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) nackSliAttributeWithPayloadType: (int)  payloadType

Creates a "nack sli" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ payloadType

- (int) payloadType

Gets the payload type.

◆ rembAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) rembAttributeWithPayloadType: (int)  payloadType

Creates a "goog-remb" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ setPayloadType:

- (void) setPayloadType: (int)  value

Sets the payload type.

◆ setSubType:

- (void) setSubType: (NSString *)  value

Sets the sub-type.

◆ setType:

- (void) setType: (NSString *)  value

Sets the type.

◆ subType

- (NSString*) subType

Gets the sub-type.

◆ transportCCAttributeWithPayloadType:

+ (FMLiveSwitchSdpRtcpFeedbackAttribute*) transportCCAttributeWithPayloadType: (int)  payloadType

Creates a "transport-cc" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ type

- (NSString*) type

Gets the type.

◆ wildcardPayloadType

+ (int) wildcardPayloadType

Gets the payload type that represents wildcard feedback attributes ('*').