FMLiveSwitchIceCandidate Class Reference

Instance Methods

(NSString *) - description
 
(FMLiveSwitchError *) - error
 
(NSString *) - foundation
 
(FMLiveSwitchSdpIceCandidateAttribute *) - generateAttributeWithComponentId:
 
(FMLiveSwitchCandidateInfo *) - getInfo
 
(FMLiveSwitchCandidateStats *) - getStats
 
(int) - hash
 
(NSString *) - id
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:
 
(instancetype) - initWithLockObject:foundation:protocol:address:port:type:relatedIPAddress:relatedPort:
 
(NSString *) - ipAddress
 
(bool) - isEqualWithObj:
 
(id- lock
 
(int) - port
 
(long long) - priority
 
(FMLiveSwitchProtocolType) - protocol
 
(NSString *) - relatedIPAddress
 
(int) - relatedPort
 
(FMLiveSwitchProtocolType) - relayProtocol
 
(void) - sendStunAndInsertAttemptMessageWithItem:
 
(void) - sendStunMessageWithItem:
 
(FMLiveSwitchError *) - sendWithData:remoteCandidate:
 
(void) - setError:
 
(void) - setId:
 
(FMLiveSwitchIceLocalCandidateState) - state
 
(FMLiveSwitchCandidate *) - toCandidateWithComponentId:streamIndex:
 
(FMLiveSwitchTransportAddress *) - transportAddress
 
(FMLiveSwitchCandidateType) - type
 

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:relatedIPAddress:relatedPort:
 
(FMLiveSwitchIceCandidate *) + fromSdpCandidateAttributeWithLockObject:candidateAttribute:
 
(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: (int)  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: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 

◆ description

- (NSString*) description

◆ error

- (FMLiveSwitchError*) error

◆ foundation

- (NSString*) foundation

◆ fromSdpCandidateAttributeWithLockObject:candidateAttribute:

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

◆ generateAttributeWithComponentId:

- (FMLiveSwitchSdpIceCandidateAttribute*) generateAttributeWithComponentId: (int)  componentId

◆ getInfo

◆ getStats

◆ 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: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 

◆ ipAddress

- (NSString*) ipAddress

◆ isEqualWithObj:

- (bool) isEqualWithObj: (id obj

◆ lock

- (id) lock

◆ port

- (int) port

◆ priority

- (long long) priority

◆ protocol

- (FMLiveSwitchProtocolType) protocol

◆ 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

◆ setId:

- (void) setId: (NSString *)  value

◆ state

- (FMLiveSwitchIceLocalCandidateState) state

◆ toCandidateWithComponentId:streamIndex:

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

◆ transportAddress

- (FMLiveSwitchTransportAddress*) transportAddress

◆ type

- (FMLiveSwitchCandidateType) type

◆ unset

+ (int) unset