FMLiveSwitchSdpIceRemoteCandidatesAttribute Class Reference

The attribute contains a connection-address and port for each component. More...

Instance Methods

(NSMutableArray *) - candidates
 Gets the array of remote candidates. More...
 
(NSString *) - getAttributeValue
 Gets the value of the attribute. More...
 
(instancetype) - initWithCandidates:
 Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute 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

(FMLiveSwitchSdpIceRemoteCandidatesAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute class. More...
 
(FMLiveSwitchSdpIceRemoteCandidatesAttribute *) + remoteCandidatesAttributeWithCandidates:
 Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute 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 attribute contains a connection-address and port for each component.

The ordering of components is irrelevant. However, a value MUST be present for each component of a media stream. This attribute MUST be included in an offer by a controlling agent for a media stream that is Completed, and MUST NOT be included in any other case.

Method Documentation

◆ candidates

- (NSMutableArray*) candidates

Gets the array of remote candidates.

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithCandidates:

- (instancetype) initWithCandidates: (NSMutableArray *)  candidates

Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute class.

Parameters
candidatesThe array of remote candidates.

◆ remoteCandidatesAttributeWithCandidates:

+ (FMLiveSwitchSdpIceRemoteCandidatesAttribute*) remoteCandidatesAttributeWithCandidates: (NSMutableArray *)  candidates

Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidatesAttribute class.

Parameters
candidatesThe array of remote candidates.