FMLiveSwitchSdpMediaStreamIdAttribute Class Reference

https://tools.ietf.org/html/rfc5888#page-4 "Media stream identification" media attribute, which is used for identifying media streams within a session description. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(NSString *) - identificationTag
 Gets the identification tag. More...
 
(instancetype) - initWithId:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute class. 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

(FMLiveSwitchSdpMediaStreamIdAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute class. More...
 
(FMLiveSwitchSdpMediaStreamIdAttribute *) + mediaStreamIdAttributeWithId:
 Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute 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://tools.ietf.org/html/rfc5888#page-4 "Media stream identification" media attribute, which is used for identifying media streams within a session description.

Its formatting in SDP [RFC4566] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]:

mid-attribute = "a=mid:" identification-tag identification-tag = token ; token is defined in RFC 4566 The identification-tag MUST be unique within an SDP session description.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ identificationTag

- (NSString*) identificationTag

Gets the identification tag.

◆ initWithId:

- (instancetype) initWithId: (NSString *)  idValue

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute class.

Parameters
idValueThe identifier.

◆ mediaStreamIdAttributeWithId:

+ (FMLiveSwitchSdpMediaStreamIdAttribute*) mediaStreamIdAttributeWithId: (NSString *)  idValue

Initializes a new instance of the FMLiveSwitchSdpMediaStreamIdAttribute class.

Parameters
idValueThe identifier.