FMLiveSwitchSdpMediaStreamIdentifierAttribute Class Reference

https://datatracker.ietf.org/doc/html/rfc8830#sect-media-stream "Media stream identifier" attribute, which can be used to signal the relationship between a group of MediaStreams and a set of media descriptions Its formatting in SDP [RFC8830] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]: More...

Instance Methods

(NSString *) - appData
 Gets the app data (may be null). More...
 
(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(NSString *) - identifier
 Gets the identifier. More...
 
(instancetype) - initWithAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class. More...
 
(void) - setAppData:
 Sets the app data (may be null). More...
 
(void) - setIdentifier:
 Sets the identifier. 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

(FMLiveSwitchSdpMediaStreamIdentifierAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class. More...
 
(FMLiveSwitchSdpMediaStreamIdentifierAttribute *) + mediaStreamIdentifierAttributeWithAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class. 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

https://datatracker.ietf.org/doc/html/rfc8830#sect-media-stream "Media stream identifier" attribute, which can be used to signal the relationship between a group of MediaStreams and a set of media descriptions Its formatting in SDP [RFC8830] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]:

msid-value = msid-id [ SP msid-appdata ] msid-id = 1*64token-char ; see RFC 4566 msid-appdata = 1*64token-char ; see RFC 4566 The identification-tag MUST be unique within an SDP session description.

Method Documentation

◆ appData

- (NSString*) appData

Gets the app data (may be null).

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ identifier

- (NSString*) identifier

Gets the identifier.

◆ initWithAttributeValue:

- (instancetype) initWithAttributeValue: (NSString *)  attributeValue

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class.

Parameters
attributeValueThe identifier (and optionally app-data).

◆ mediaStreamIdentifierAttributeWithAttributeValue:

+ (FMLiveSwitchSdpMediaStreamIdentifierAttribute*) mediaStreamIdentifierAttributeWithAttributeValue: (NSString *)  attributeValue

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdentifierAttribute class.

Parameters
attributeValueThe identifier (and optionally app-data).

◆ setAppData:

- (void) setAppData: (NSString *)  value

Sets the app data (may be null).

◆ setIdentifier:

- (void) setIdentifier: (NSString *)  value

Sets the identifier.