FMLiveSwitchSdpIceRemoteCandidate Class Reference

An SDP remote candidate element. More...

Instance Methods

(int) - componentId
 Gets the ID of the component for which this is a remote candidate. More...
 
(NSString *) - connectionAddress
 Gets the IP address of the remote candidate. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - initWithComponentId:connectionAddress:port:
 Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidate class. More...
 
(int) - port
 Gets the port of the remote candidate. More...
 

Class Methods

(FMLiveSwitchSdpIceRemoteCandidate *) + parseWithS:
 Creates an FMLiveSwitchSdpIceRemoteCandidate instance from a string. More...
 
(FMLiveSwitchSdpIceRemoteCandidate *) + remoteCandidateWithComponentId:connectionAddress:port:
 Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidate class. More...
 

Detailed Description

An SDP remote candidate element.

Method Documentation

◆ componentId

- (int) componentId

Gets the ID of the component for which this is a remote candidate.

◆ connectionAddress

- (NSString*) connectionAddress

Gets the IP address of the remote candidate.

◆ description

- (NSString*) description

Converts this instance to a string.

◆ initWithComponentId:connectionAddress:port:

- (instancetype) initWithComponentId: (int)  componentId
connectionAddress: (NSString *)  connectionAddress
port: (int)  port 

Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidate class.

Parameters
componentIdThe ID of the component for which this is a remote candidate.
connectionAddressThe IP address of the remote candidate.
portThe port of the remote candidate.

◆ parseWithS:

+ (FMLiveSwitchSdpIceRemoteCandidate*) parseWithS: (NSString *)  s

Creates an FMLiveSwitchSdpIceRemoteCandidate instance from a string.

Parameters
sThe string to parse.

◆ port

- (int) port

Gets the port of the remote candidate.

◆ remoteCandidateWithComponentId:connectionAddress:port:

+ (FMLiveSwitchSdpIceRemoteCandidate*) remoteCandidateWithComponentId: (int)  componentId
connectionAddress: (NSString *)  connectionAddress
port: (int)  port 

Initializes a new instance of the FMLiveSwitchSdpIceRemoteCandidate class.

Parameters
componentIdThe ID of the component for which this is a remote candidate.
connectionAddressThe IP address of the remote candidate.
portThe port of the remote candidate.