FMLiveSwitchSdpIcePasswordAttribute Class Reference

The "ice-pwd" attribute conveys the password used by ICE for message integrity. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the value of the attribute. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class. More...
 
(instancetype) - initWithPassword:
 Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class. More...
 
(NSString *) - password
 Gets the password used by ICE for message integrity. More...
 
- Instance Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(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

(FMLiveSwitchSdpIcePasswordAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class. More...
 
(NSString *) + generatePassword
 Generates a random password. More...
 
(FMLiveSwitchSdpIcePasswordAttribute *) + passwordAttribute
 Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class. More...
 
(FMLiveSwitchSdpIcePasswordAttribute *) + passwordAttributeWithPassword:
 Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute 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

The "ice-pwd" attribute conveys the password used by ICE for message integrity.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class.

Parameters
valueThe attribute value.

◆ generatePassword

+ (NSString*) generatePassword

Generates a random password.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class.

Implements FMLiveSwitchSdpAttribute.

◆ initWithPassword:

- (instancetype) initWithPassword: (NSString *)  password

Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class.

Parameters
passwordThe password used by ICE for message integrity.

◆ password

- (NSString*) password

Gets the password used by ICE for message integrity.

◆ passwordAttribute

+ (FMLiveSwitchSdpIcePasswordAttribute*) passwordAttribute

Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class.

◆ passwordAttributeWithPassword:

+ (FMLiveSwitchSdpIcePasswordAttribute*) passwordAttributeWithPassword: (NSString *)  password

Initializes a new instance of the FMLiveSwitchSdpIcePasswordAttribute class.

Parameters
passwordThe password used by ICE for message integrity.