FMLiveSwitchIceCandidate Class Reference

Instance Methods

(NSString *) - description
 
(FMLiveSwitchError *) - error
 
(NSString *) - foundation
 
(NSString *) - foundationOverSignalling
 
(NSString *) - foundationOverStunRequest
 
(FMLiveSwitchSdpIceCandidateAttribute *) - generateAttributeWithComponentId:
 
(FMLiveSwitchCandidateInfo *) - getInfo
 
(FMLiveSwitchCandidateStats *) - getStats
 
(int) - hash
 
(NSString *) - id
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:context:
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:context:
 
(NSString *) - ipAddress
 
(bool) - isEqualWithObj:
 
(id- lock
 
(int) - port
 
(long long) - preference
 
(long long) - priority
 
(long long) - priorityOverSignalling
 
(long long) - priorityOverStunRequest
 
(FMLiveSwitchProtocolType) - protocol
 
(FMLiveSwitchProtocolType) - protocolOverSignalling
 
(FMLiveSwitchProtocolType) - protocolOverStunRequest
 
(NSString *) - relatedIPAddress
 
(int) - relatedPort
 
(FMLiveSwitchProtocolType) - relayProtocol
 
(void) - sendStunAndInsertAttemptMessageWithItem:
 
(void) - sendStunMessageWithItem:
 
(FMLiveSwitchError *) - sendWithData:remoteCandidate:
 
(void) - setError:
 
(void) - setFoundationOverSignalling:
 
(void) - setFoundationOverStunRequest:
 
(void) - setId:
 
(void) - setPreference:
 
(void) - setPriorityOverSignalling:
 
(void) - setPriorityOverStunRequest:
 
(void) - setProtocolOverSignalling:
 
(void) - setProtocolOverStunRequest:
 
(void) - setTypeOverSignalling:
 
(void) - setTypeOverStunRequest:
 
(FMLiveSwitchIceLocalCandidateState) - state
 
(FMLiveSwitchCandidate *) - toCandidateWithComponentId:streamIndex:
 
(FMLiveSwitchTransportAddress *) - transportAddress
 
(FMLiveSwitchCandidateType) - type
 
(FMLiveSwitchCandidateType) - typeOverSignalling
 
(FMLiveSwitchCandidateType) - typeOverStunRequest
 

Class Methods

(int) + calculateLocalPreferenceWithType:priority:component:protocol:
 
(long long) + calculatePriorityWithType:localPreference:component:protocol:
 
(FMLiveSwitchIceCandidate *) + candidateWithLockObject:foundation:protocol:address:port:type:
 
(FMLiveSwitchIceCandidate *) + candidateWithLockObject:foundation:protocol:address:port:type:context:
 
(FMLiveSwitchIceCandidate *) + candidateWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:
 
(FMLiveSwitchIceCandidate *) + candidateWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:context:
 
(FMLiveSwitchIceCandidate *) + fromSdpCandidateAttributeWithLockObject:candidateAttribute:context:
 
(int) + getHostTypePreference
 
(int) + getPeerReflexivePreference
 
(int) + getServerReflexivePreference
 
(int) + getTcpRelayPreference
 
(int) + getUdpRelayPreference
 
(int) + unset
 

Method Documentation

◆ calculateLocalPreferenceWithType:priority:component:protocol:

+ (int) calculateLocalPreferenceWithType: (FMLiveSwitchCandidateType)  type
priority: (long long)  priority
component: (FMLiveSwitchIceComponent)  component
protocol: (FMLiveSwitchProtocolType)  protocol 

◆ calculatePriorityWithType:localPreference:component:protocol:

+ (long long) calculatePriorityWithType: (FMLiveSwitchCandidateType)  type
localPreference: (long long)  localPreference
component: (FMLiveSwitchIceComponent)  component
protocol: (FMLiveSwitchProtocolType)  protocol 

◆ candidateWithLockObject:foundation:protocol:address:port:type:

+ (FMLiveSwitchIceCandidate*) candidateWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type 

◆ candidateWithLockObject:foundation:protocol:address:port:type:context:

+ (FMLiveSwitchIceCandidate*) candidateWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
context: (FMLiveSwitchLogContext *)  context 

◆ candidateWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:

+ (FMLiveSwitchIceCandidate*) candidateWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
relatedIPAddress: (NSString *)  relatedIPAddress
relatedPort: (int)  relatedPort 

◆ candidateWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:context:

+ (FMLiveSwitchIceCandidate*) candidateWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
relatedIPAddress: (NSString *)  relatedIPAddress
relatedPort: (int)  relatedPort
context: (FMLiveSwitchLogContext *)  context 

◆ description

- (NSString*) description

◆ error

- (FMLiveSwitchError*) error

◆ foundation

- (NSString*) foundation

◆ foundationOverSignalling

- (NSString*) foundationOverSignalling

◆ foundationOverStunRequest

- (NSString*) foundationOverStunRequest

◆ fromSdpCandidateAttributeWithLockObject:candidateAttribute:context:

+ (FMLiveSwitchIceCandidate*) fromSdpCandidateAttributeWithLockObject: (id lockObject
candidateAttribute: (FMLiveSwitchSdpIceCandidateAttribute *)  candidateAttribute
context: (FMLiveSwitchLogContext *)  context 

◆ generateAttributeWithComponentId:

- (FMLiveSwitchSdpIceCandidateAttribute*) generateAttributeWithComponentId: (int)  componentId

◆ getHostTypePreference

+ (int) getHostTypePreference

◆ getInfo

◆ getPeerReflexivePreference

+ (int) getPeerReflexivePreference

◆ getServerReflexivePreference

+ (int) getServerReflexivePreference

◆ getStats

◆ getTcpRelayPreference

+ (int) getTcpRelayPreference

◆ getUdpRelayPreference

+ (int) getUdpRelayPreference

◆ hash

- (int) hash

◆ id

- (NSString*) id

◆ initWithLockObject:foundation:protocol:address:port:type:

- (instancetype) initWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type 

◆ initWithLockObject:foundation:protocol:address:port:type:context:

- (instancetype) initWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
context: (FMLiveSwitchLogContext *)  context 

◆ initWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:

- (instancetype) initWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
relatedIPAddress: (NSString *)  relatedIPAddress
relatedPort: (int)  relatedPort 

◆ initWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:context:

- (instancetype) initWithLockObject: (id lockObject
foundation: (NSString *)  foundation
protocol: (FMLiveSwitchProtocolType)  protocol
address: (NSString *)  address
port: (int)  port
type: (FMLiveSwitchCandidateType)  type
relatedIPAddress: (NSString *)  relatedIPAddress
relatedPort: (int)  relatedPort
context: (FMLiveSwitchLogContext *)  context 

◆ ipAddress

- (NSString*) ipAddress

◆ isEqualWithObj:

- (bool) isEqualWithObj: (id obj

◆ lock

- (id) lock

◆ port

- (int) port

◆ preference

- (long long) preference

◆ priority

- (long long) priority

◆ priorityOverSignalling

- (long long) priorityOverSignalling

◆ priorityOverStunRequest

- (long long) priorityOverStunRequest

◆ protocol

- (FMLiveSwitchProtocolType) protocol

◆ protocolOverSignalling

- (FMLiveSwitchProtocolType) protocolOverSignalling

◆ protocolOverStunRequest

- (FMLiveSwitchProtocolType) protocolOverStunRequest

◆ relatedIPAddress

- (NSString*) relatedIPAddress

◆ relatedPort

- (int) relatedPort

◆ relayProtocol

- (FMLiveSwitchProtocolType) relayProtocol

◆ sendStunAndInsertAttemptMessageWithItem:

- (void) sendStunAndInsertAttemptMessageWithItem: (FMLiveSwitchScheduledItem *)  item

◆ sendStunMessageWithItem:

- (void) sendStunMessageWithItem: (FMLiveSwitchScheduledItem *)  item

◆ sendWithData:remoteCandidate:

- (FMLiveSwitchError*) sendWithData: (FMLiveSwitchDataBuffer *)  data
remoteCandidate: (FMLiveSwitchIceCandidate *)  remoteCandidate 

◆ setError:

- (void) setError: (FMLiveSwitchError *)  value

◆ setFoundationOverSignalling:

- (void) setFoundationOverSignalling: (NSString *)  value

◆ setFoundationOverStunRequest:

- (void) setFoundationOverStunRequest: (NSString *)  value

◆ setId:

- (void) setId: (NSString *)  value

◆ setPreference:

- (void) setPreference: (long long)  value

◆ setPriorityOverSignalling:

- (void) setPriorityOverSignalling: (long long)  value

◆ setPriorityOverStunRequest:

- (void) setPriorityOverStunRequest: (long long)  value

◆ setProtocolOverSignalling:

- (void) setProtocolOverSignalling: (FMLiveSwitchProtocolType)  value

◆ setProtocolOverStunRequest:

- (void) setProtocolOverStunRequest: (FMLiveSwitchProtocolType)  value

◆ setTypeOverSignalling:

- (void) setTypeOverSignalling: (FMLiveSwitchCandidateType)  value

◆ setTypeOverStunRequest:

- (void) setTypeOverStunRequest: (FMLiveSwitchCandidateType)  value

◆ state

- (FMLiveSwitchIceLocalCandidateState) state

◆ toCandidateWithComponentId:streamIndex:

- (FMLiveSwitchCandidate*) toCandidateWithComponentId: (int)  componentId
streamIndex: (int)  streamIndex 

◆ transportAddress

- (FMLiveSwitchTransportAddress*) transportAddress

◆ type

- (FMLiveSwitchCandidateType) type

◆ typeOverSignalling

- (FMLiveSwitchCandidateType) typeOverSignalling

◆ typeOverStunRequest

- (FMLiveSwitchCandidateType) typeOverStunRequest

◆ unset

+ (int) unset