FMLiveSwitchWssWebSocketConnection Class Reference

Instance Methods

(NSMutableArray *) - audioStreams
 
(NSMutableArray *) - dataStreams
 
(FMLiveSwitchFuture< FMLiveSwitchConnectionStats * > *) - getStats
 
(instancetype) - initWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
(NSMutableArray *) - streams
 
(NSMutableArray *) - videoStreams
 
- Instance Methods inherited from FMLiveSwitchWssWebSocketConnectionBase
(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
 
(FMLiveSwitchBundlePolicy) - bundlePolicy
 
(NSString *) - canonicalName
 
(bool) - close
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - createAnswer
 
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) - createOffer
 
(TDataStream) - dataStream
 
(int) - deadStreamTimeout
 
(FMLiveSwitchError *) - error
 
(NSString *) - externalId
 
(void) - failWithError:
 
(FMLiveSwitchIceGatheringState) - gatheringState
 
(FMLiveSwitchMediaReceiverStats *) - getReceiverStatsWithStreamType:
 
(FMLiveSwitchMediaSenderStats *) - getSenderStatsWithStreamType:
 
(FMLiveSwitchTransportStats *) - getTransportStats
 
(bool) - hasAudio
 
(bool) - hasData
 
(bool) - hasVideo
 
(FMLiveSwitchIceConnectionState) - iceConnectionState
 
(FMLiveSwitchIceGatherPolicy) - iceGatherPolicy
 
(FMLiveSwitchIceServer *) - iceServer
 
(NSMutableArray *) - iceServers
 
(NSString *) - id
 
(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:
 
(NSString *) - tieBreaker
 
(int) - timeout
 
(FMLiveSwitchTrickleIcePolicy) - trickleIcePolicy
 
(void) - updateWebSocketConnectionWithConfig:promise:
 
(TVideoStream) - videoStream
 
(FMLiveSwitchWssManager *) - wssManager
 

Class Methods

(FMLiveSwitchWssWebSocketConnection *) + wssWebSocketConnectionWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
- Class Methods inherited from FMLiveSwitchWssWebSocketConnectionBase
(FMLiveSwitchWssWebSocketConnectionBase *) + wssWebSocketConnectionBaseWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:
 
(FMLiveSwitchWssWebSocketConnectionBase *) + wssWebSocketConnectionBaseWithLocalMediaForAudio:localMediaForVideo:remoteMedia:streams:
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchWssWebSocketConnectionBase
 __pad0__: FMLiveSwitchDynamic<FMLiveSwitchIConnection>- (void) addIceServer:(FMLiveSwitchIceServer*)iceServer
 

Method Documentation

◆ audioStreams

- (NSMutableArray*) audioStreams

◆ dataStreams

- (NSMutableArray*) dataStreams

◆ getStats

◆ initWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:

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

◆ streams

- (NSMutableArray*) streams

◆ videoStreams

- (NSMutableArray*) videoStreams

◆ wssWebSocketConnectionWithId:localMediaForAudio:localMediaForVideo:remoteMedia:streams:

+ (FMLiveSwitchWssWebSocketConnection*) wssWebSocketConnectionWithId: (NSString *)  idValue
localMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
remoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
streams: (NSMutableArray *)  streams