The SDP media attribute "rid" specifies restrictions defining a unique RTP payload configuration. More...
Instance Methods | |
(NSString *) | - direction |
Gets the direction. More... | |
(NSString *) | - getAttributeValue |
Gets the internal value of the attribute. More... | |
(NSString *) | - getRestrictionValueWithRestrictionKey: |
Gets a restriction value. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(instancetype) | - initWithId:direction: |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class. More... | |
(instancetype) | - initWithId:direction:payloadTypes: |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class. More... | |
(instancetype) | - initWithId:direction:payloadTypes:restrictions: |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class. More... | |
(instancetype) | - initWithId:direction:restrictions: |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class. More... | |
(NSMutableArray *) | - payloadTypes |
Gets the payload types that can be used in the associated stream. More... | |
(NSMutableArray *) | - restrictions |
Gets the codec-agnostic restrictions to which the corresponding stream will conform. More... | |
(void) | - setPayloadTypes: |
Sets the payload types that can be used in the associated stream. More... | |
(void) | - setRestrictions: |
Sets the codec-agnostic restrictions to which the corresponding stream will conform. 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... | |
The SDP media attribute "rid" specifies restrictions defining a unique RTP payload configuration.
- (NSString*) direction |
Gets the direction.
+ (FMLiveSwitchSdpRtpRidAttribute*) fromAttributeValue: | (NSString *) | value |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
value | The attribute value. |
- (NSString*) getAttributeValue |
Gets the internal value of the attribute.
Implements FMLiveSwitchSdpAttribute.
Gets a restriction value.
restrictionKey | The restriction key. |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
- (instancetype) initWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
payloadTypes: | (NSMutableArray *) | payloadTypes | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
- (instancetype) initWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
payloadTypes: | (NSMutableArray *) | payloadTypes | |
restrictions: | (NSMutableArray *) | restrictions | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
restrictions | The restrictions. |
- (instancetype) initWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
restrictions: | (NSMutableArray *) | restrictions | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
restrictions | The restrictions. |
- (NSMutableArray*) payloadTypes |
Gets the payload types that can be used in the associated stream.
This property is optional and may be null.
- (NSMutableArray*) restrictions |
Gets the codec-agnostic restrictions to which the corresponding stream will conform.
This property is optional and may be null.
+ (FMLiveSwitchSdpRtpRidAttribute*) ridAttributeWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
+ (FMLiveSwitchSdpRtpRidAttribute*) ridAttributeWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
payloadTypes: | (NSMutableArray *) | payloadTypes | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
+ (FMLiveSwitchSdpRtpRidAttribute*) ridAttributeWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
payloadTypes: | (NSMutableArray *) | payloadTypes | |
restrictions: | (NSMutableArray *) | restrictions | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
restrictions | The restrictions. |
+ (FMLiveSwitchSdpRtpRidAttribute*) ridAttributeWithId: | (NSString *) | idValue | |
direction: | (NSString *) | direction | |
restrictions: | (NSMutableArray *) | restrictions | |
Initializes a new instance of the FMLiveSwitchSdpRtpRidAttribute class.
idValue | The identifier. |
direction | The direction. |
restrictions | The restrictions. |
- (void) setPayloadTypes: | (NSMutableArray *) | value |
Sets the payload types that can be used in the associated stream.
This property is optional and may be null.
- (void) setRestrictions: | (NSMutableArray *) | value |
Sets the codec-agnostic restrictions to which the corresponding stream will conform.
This property is optional and may be null.
+ (bool) validateId: | (NSString *) | idValue |
Validates that the identifier conforms to RFC syntax, which means that it only contains alpha-numeric characters and/or the hyphen and underscore.
See https://tools.ietf.org/html/draft-ietf-avtext-rid/ and https://tools.ietf.org/html/draft-ietf-mmusic-rid/ for more info.
idValue | The identifier |