FMLiveSwitchSdpKeywordsAttribute Class Reference

Like the cat attribute, this is to assist identifying wanted sessions at the receiver. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithKeywords:
 Initializes a new instance of the FMLiveSwitchSdpKeywordsAttribute class. More...
 
(NSString *) - keywords
 Gets the keywords describing the purpose of the session. 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

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

Like the cat attribute, this is to assist identifying wanted sessions at the receiver.

This allows a receiver to select interesting session based on keywords describing the purpose of the session; there is no central registry of keywords. It is a session-level attribute. It is a charset-dependent attribute, meaning that its value should be interpreted in the charset specified for the session description if one is specified, or by default in ISO 10646/UTF-8.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpKeywordsAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithKeywords:

- (instancetype) initWithKeywords: (NSString *)  keywords

Initializes a new instance of the FMLiveSwitchSdpKeywordsAttribute class.

Parameters
keywordsThe keywords describing the purpose of the session.

◆ keywords

- (NSString*) keywords

Gets the keywords describing the purpose of the session.

◆ keywordsAttributeWithKeywords:

+ (FMLiveSwitchSdpKeywordsAttribute*) keywordsAttributeWithKeywords: (NSString *)  keywords

Initializes a new instance of the FMLiveSwitchSdpKeywordsAttribute class.

Parameters
keywordsThe keywords describing the purpose of the session.