FMLiveSwitchWssWebSocketConnectionBase Class Reference

Instance Methods

(void) - addIceServers:
 
(void) - addOnExternalIdChange:
 
(NSString *, NSString *) - addOnExternalIdChangeWithBlock
 
(void) - addOnExternalIdChangeWithBlock:
 
(void) - addOnGatheringStateChange:
 
(TConnection) - addOnGatheringStateChangeWithBlock
 
(void) - addOnGatheringStateChangeWithBlock:
 
(void) - addOnIceConnectionStateChange:
 
(TConnection) - addOnIceConnectionStateChangeWithBlock
 
(void) - addOnIceConnectionStateChangeWithBlock:
 
(void) - addOnLocalCandidate:
 
(TConnection, FMLiveSwitchCandidate *) - addOnLocalCandidateWithBlock
 
(void) - addOnLocalCandidateWithBlock:
 
(void) - addOnLocalDescription:
 
(TConnection, FMLiveSwitchSessionDescription *) - addOnLocalDescriptionWithBlock
 
(void) - addOnLocalDescriptionWithBlock:
 
(void) - addOnRemoteCandidate:
 
(TConnection, FMLiveSwitchCandidate *) - addOnRemoteCandidateWithBlock
 
(void) - addOnRemoteCandidateWithBlock:
 
(void) - addOnRemoteDescription:
 
(TConnection, FMLiveSwitchSessionDescription *) - addOnRemoteDescriptionWithBlock
 
(void) - addOnRemoteDescriptionWithBlock:
 
(void) - addOnSignallingStateChange:
 
(TConnection) - addOnSignallingStateChangeWithBlock
 
(void) - addOnSignallingStateChangeWithBlock:
 
(void) - addOnStateChange:
 
(TConnection) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(FMLiveSwitchFuture< FMLiveSwitchCandidate * > *) - addRemoteCandidate:
 
(void) - addToWebSocketConnectionWithOpenArgs:
 
(TAudioStream) - audioStream
 
(NSMutableArray *) - audioStreams
 
(FMLiveSwitchBundlePolicy) - bundlePolicy
 
(NSString *) - canonicalName
 
(bool) - close
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - createAnswer
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - createOffer
 
(TDataStream) - dataStream
 
(NSMutableArray *) - dataStreams
 
(int) - deadStreamTimeout
 
(FMLiveSwitchError *) - error
 
(NSString *) - externalId
 
(void) - failWithError:
 
(FMLiveSwitchIceGatheringState) - gatheringState
 
(FMLiveSwitchFuture< FMLiveSwitchConnectionStats * > *) - getStats
 
(bool) - hasAudio
 
(bool) - hasData
 
(bool) - hasVideo
 
(FMLiveSwitchIceConnectionState) - iceConnectionState
 
(FMLiveSwitchIceGatherPolicy) - iceGatherPolicy
 
(FMLiveSwitchIceServer *) - iceServer
 
(NSMutableArray *) - iceServers
 
(NSString *) - id
 
(instancetype) - initWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
(instancetype) - initWithLocalMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
(bool) - legacyTimeout
 
(FMLiveSwitchSessionDescription *) - localDescription
 
(FMLiveSwitchMediaProtocol) - mediaProtocol
 
(FMLiveSwitchSessionDescription *) - remoteDescription
 
(void) - removeIceServer:
 
(void) - removeIceServers:
 
(void) - removeOnExternalIdChange:
 
(void) - removeOnGatheringStateChange:
 
(void) - removeOnIceConnectionStateChange:
 
(void) - removeOnLocalCandidate:
 
(void) - removeOnLocalDescription:
 
(void) - removeOnRemoteCandidate:
 
(void) - removeOnRemoteDescription:
 
(void) - removeOnSignallingStateChange:
 
(void) - removeOnStateChange:
 
(void) - setBundlePolicy:
 
(void) - setDeadStreamTimeout:
 
(void) - setError:
 
(void) - setExternalId:
 
(void) - setIceGatherPolicy:
 
(void) - setIceServer:
 
(void) - setIceServers:
 
(void) - setLegacyTimeout:
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - setLocalDescription:
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - setRemoteDescription:
 
(void) - setState:
 
(void) - setTieBreaker:
 
(void) - setTimeout:
 
(void) - setTrickleIcePolicy:
 
(FMLiveSwitchSignallingState) - signallingState
 
(FMLiveSwitchConnectionState) - state
 
(void) - streamOverWebSocketWithAudioWebSocketStreamId:videoWebSocketStreamId:videoStreamInfo:
 
(NSMutableArray *) - streams
 
(NSString *) - tieBreaker
 
(int) - timeout
 
(FMLiveSwitchTrickleIcePolicy) - trickleIcePolicy
 
(void) - updateWebSocketConnectionWithConfig:promise:
 
(TVideoStream) - videoStream
 
(NSMutableArray *) - videoStreams
 

Class Methods

(FMLiveSwitchWssWebSocketConnectionBase *) + wssWebSocketConnectionBaseWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
(FMLiveSwitchWssWebSocketConnectionBase *) + wssWebSocketConnectionBaseWithLocalMediaForAudio:localMediaForVideo:remoteMedia:streams:
 

Protected Attributes

 __pad0__: FMLiveSwitchDynamic<FMLiveSwitchIConnection>- (void) addIceServer:(FMLiveSwitchIceServer*)iceServer
 

Method Documentation

◆ addIceServers:

- (void) addIceServers: (NSMutableArray *)  iceServers

◆ addOnExternalIdChange:

- (void) addOnExternalIdChange: (FMLiveSwitchAction2< NSString *, NSString * > *)  value

◆ addOnExternalIdChangeWithBlock

- (NSString*, NSString*) addOnExternalIdChangeWithBlock

◆ addOnExternalIdChangeWithBlock:

- (void) addOnExternalIdChangeWithBlock: (void(^)(NSString *, NSString *))  valueBlock

◆ addOnGatheringStateChange:

- (void) addOnGatheringStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ addOnGatheringStateChangeWithBlock

- (TConnection) addOnGatheringStateChangeWithBlock

◆ addOnGatheringStateChangeWithBlock:

- (void) addOnGatheringStateChangeWithBlock: (void(^)(TConnection))  valueBlock

◆ addOnIceConnectionStateChange:

- (void) addOnIceConnectionStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ addOnIceConnectionStateChangeWithBlock

- (TConnection) addOnIceConnectionStateChangeWithBlock

◆ addOnIceConnectionStateChangeWithBlock:

- (void) addOnIceConnectionStateChangeWithBlock: (void(^)(TConnection))  valueBlock

◆ addOnLocalCandidate:

- (void) addOnLocalCandidate: (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *)  value

◆ addOnLocalCandidateWithBlock

- (TConnection, FMLiveSwitchCandidate*) addOnLocalCandidateWithBlock

◆ addOnLocalCandidateWithBlock:

- (void) addOnLocalCandidateWithBlock: (void(^)(TConnection, FMLiveSwitchCandidate *))  valueBlock

◆ addOnLocalDescription:

- (void) addOnLocalDescription: (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *)  value

◆ addOnLocalDescriptionWithBlock

- (TConnection, FMLiveSwitchSessionDescription*) addOnLocalDescriptionWithBlock

◆ addOnLocalDescriptionWithBlock:

- (void) addOnLocalDescriptionWithBlock: (void(^)(TConnection, FMLiveSwitchSessionDescription *))  valueBlock

◆ addOnRemoteCandidate:

- (void) addOnRemoteCandidate: (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *)  value

◆ addOnRemoteCandidateWithBlock

- (TConnection, FMLiveSwitchCandidate*) addOnRemoteCandidateWithBlock

◆ addOnRemoteCandidateWithBlock:

- (void) addOnRemoteCandidateWithBlock: (void(^)(TConnection, FMLiveSwitchCandidate *))  valueBlock

◆ addOnRemoteDescription:

- (void) addOnRemoteDescription: (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *)  value

◆ addOnRemoteDescriptionWithBlock

- (TConnection, FMLiveSwitchSessionDescription*) addOnRemoteDescriptionWithBlock

◆ addOnRemoteDescriptionWithBlock:

- (void) addOnRemoteDescriptionWithBlock: (void(^)(TConnection, FMLiveSwitchSessionDescription *))  valueBlock

◆ addOnSignallingStateChange:

- (void) addOnSignallingStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ addOnSignallingStateChangeWithBlock

- (TConnection) addOnSignallingStateChangeWithBlock

◆ addOnSignallingStateChangeWithBlock:

- (void) addOnSignallingStateChangeWithBlock: (void(^)(TConnection))  valueBlock

◆ addOnStateChange:

- (void) addOnStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ addOnStateChangeWithBlock

- (TConnection) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

- (void) addOnStateChangeWithBlock: (void(^)(TConnection))  valueBlock

◆ addRemoteCandidate:

- (FMLiveSwitchFuture<FMLiveSwitchCandidate*>*) addRemoteCandidate: (FMLiveSwitchCandidate *)  remoteCandidate

◆ addToWebSocketConnectionWithOpenArgs:

- (void) addToWebSocketConnectionWithOpenArgs: (FMLiveSwitchWssServiceOpenArgs *)  openArgs

◆ audioStream

- (TAudioStream) audioStream

◆ audioStreams

- (NSMutableArray*) audioStreams

◆ bundlePolicy

- (FMLiveSwitchBundlePolicy) bundlePolicy

◆ canonicalName

- (NSString*) canonicalName

◆ close

- (bool) close

◆ createAnswer

◆ createOffer

◆ dataStream

- (TDataStream) dataStream

◆ dataStreams

- (NSMutableArray*) dataStreams

◆ deadStreamTimeout

- (int) deadStreamTimeout

◆ error

- (FMLiveSwitchError*) error

◆ externalId

- (NSString*) externalId

◆ failWithError:

- (void) failWithError: (FMLiveSwitchError *)  error

◆ gatheringState

- (FMLiveSwitchIceGatheringState) gatheringState

◆ getStats

◆ hasAudio

- (bool) hasAudio

◆ hasData

- (bool) hasData

◆ hasVideo

- (bool) hasVideo

◆ iceConnectionState

- (FMLiveSwitchIceConnectionState) iceConnectionState

◆ iceGatherPolicy

- (FMLiveSwitchIceGatherPolicy) iceGatherPolicy

◆ iceServer

- (FMLiveSwitchIceServer*) iceServer

◆ iceServers

- (NSMutableArray*) iceServers

◆ id

- (NSString*) id

◆ initWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:

- (instancetype) initWithId: (NSString *)  idValue
localMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
remoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
streams: (NSMutableArray *)  streams 

◆ initWithLocalMediaForAudio:localMediaForVideo:remoteMedia:streams:

- (instancetype) initWithLocalMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
remoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
streams: (NSMutableArray *)  streams 

◆ legacyTimeout

- (bool) legacyTimeout

◆ localDescription

- (FMLiveSwitchSessionDescription*) localDescription

◆ mediaProtocol

- (FMLiveSwitchMediaProtocol) mediaProtocol

◆ remoteDescription

- (FMLiveSwitchSessionDescription*) remoteDescription

◆ removeIceServer:

- (void) removeIceServer: (FMLiveSwitchIceServer *)  iceServer

◆ removeIceServers:

- (void) removeIceServers: (NSMutableArray *)  iceServers

◆ removeOnExternalIdChange:

- (void) removeOnExternalIdChange: (FMLiveSwitchAction2< NSString *, NSString * > *)  value

◆ removeOnGatheringStateChange:

- (void) removeOnGatheringStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ removeOnIceConnectionStateChange:

- (void) removeOnIceConnectionStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ removeOnLocalCandidate:

- (void) removeOnLocalCandidate: (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *)  value

◆ removeOnLocalDescription:

- (void) removeOnLocalDescription: (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *)  value

◆ removeOnRemoteCandidate:

- (void) removeOnRemoteCandidate: (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *)  value

◆ removeOnRemoteDescription:

- (void) removeOnRemoteDescription: (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *)  value

◆ removeOnSignallingStateChange:

- (void) removeOnSignallingStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ removeOnStateChange:

- (void) removeOnStateChange: (FMLiveSwitchAction1< TConnection > *)  value

◆ setBundlePolicy:

- (void) setBundlePolicy: (FMLiveSwitchBundlePolicy)  value

◆ setDeadStreamTimeout:

- (void) setDeadStreamTimeout: (int)  value

◆ setError:

- (void) setError: (FMLiveSwitchError *)  value

◆ setExternalId:

- (void) setExternalId: (NSString *)  value

◆ setIceGatherPolicy:

- (void) setIceGatherPolicy: (FMLiveSwitchIceGatherPolicy)  value

◆ setIceServer:

- (void) setIceServer: (FMLiveSwitchIceServer *)  value

◆ setIceServers:

- (void) setIceServers: (NSMutableArray *)  value

◆ setLegacyTimeout:

- (void) setLegacyTimeout: (bool)  value

◆ setLocalDescription:

- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) setLocalDescription: (FMLiveSwitchSessionDescription *)  localDescription

◆ setRemoteDescription:

- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) setRemoteDescription: (FMLiveSwitchSessionDescription *)  remoteDescription

◆ setState:

- (void) setState: (FMLiveSwitchConnectionState)  value

◆ setTieBreaker:

- (void) setTieBreaker: (NSString *)  value

◆ setTimeout:

- (void) setTimeout: (int)  value

◆ setTrickleIcePolicy:

- (void) setTrickleIcePolicy: (FMLiveSwitchTrickleIcePolicy)  value

◆ signallingState

- (FMLiveSwitchSignallingState) signallingState

◆ state

- (FMLiveSwitchConnectionState) state

◆ streamOverWebSocketWithAudioWebSocketStreamId:videoWebSocketStreamId:videoStreamInfo:

- (void) streamOverWebSocketWithAudioWebSocketStreamId: (int)  audioWebSocketStreamId
videoWebSocketStreamId: (int)  videoWebSocketStreamId
videoStreamInfo: (FMLiveSwitchMediaStreamInfo *)  videoStreamInfo 

◆ streams

- (NSMutableArray*) streams

◆ tieBreaker

- (NSString*) tieBreaker

◆ timeout

- (int) timeout

◆ trickleIcePolicy

- (FMLiveSwitchTrickleIcePolicy) trickleIcePolicy

◆ updateWebSocketConnectionWithConfig:promise:

- (void) updateWebSocketConnectionWithConfig: (FMLiveSwitchConnectionConfig *)  config
promise: (FMLiveSwitchPromise< id > *)  promise 

◆ videoStream

- (TVideoStream) videoStream

◆ videoStreams

- (NSMutableArray*) videoStreams

◆ wssWebSocketConnectionBaseWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:

+ (FMLiveSwitchWssWebSocketConnectionBase*) wssWebSocketConnectionBaseWithId: (NSString *)  idValue
localMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
remoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
streams: (NSMutableArray *)  streams 

◆ wssWebSocketConnectionBaseWithLocalMediaForAudio:localMediaForVideo:remoteMedia:streams:

+ (FMLiveSwitchWssWebSocketConnectionBase*) wssWebSocketConnectionBaseWithLocalMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
remoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
streams: (NSMutableArray *)  streams 

Member Data Documentation

◆ __pad0__

- __pad0__
protected