FMLiveSwitchWssManagerBase Class Reference

Instance Methods

(instancetype) - initWithOpenArgs:connection:
 
(void) - requestRemoteKeyFrameWithStreamId:
 
(void) - sendConnectionUpdateWithPromise:updateMuteLocalAudio:muteLocalAudio:updateDisableLocalAudio:disableLocalAudio:updateDisableRemoteAudio:disableRemoteAudio:updateMuteLocalVideo:muteLocalVideo:updateDisableLocalVideo:disableLocalVideo:updateDisableRemoteVideo:disableRemoteVideo:
 
(FMLiveSwitchFuture< FMLiveSwitchWebSocketCloseCompleteArgs * > *) - stop
 
(void) - streamLocalMediaWithLocalMediaForAudio:localMediaForVideo:audioStreamId:videoStreamId:audioBitrate:videoBitrate:
 
(void) - streamRemoteMedia:audioStreamId:videoStreamId:videoStreamInfo:
 

Class Methods

(FMLiveSwitchWssManagerBase *) + wssManagerBaseWithOpenArgs:connection:
 

Protected Attributes

 __pad0__: NSObject- (void) connectionStateUpdateWithConnectionState:(FMLiveSwitchConnectionState)connectionState
 

Method Documentation

◆ initWithOpenArgs:connection:

- (instancetype) initWithOpenArgs: (FMLiveSwitchWssServiceOpenArgs *)  openArgs
connection: (FMLiveSwitchWssWebSocketConnectionBase< TConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel > *)  connection 

◆ requestRemoteKeyFrameWithStreamId:

- (void) requestRemoteKeyFrameWithStreamId: (int)  streamId

◆ sendConnectionUpdateWithPromise:updateMuteLocalAudio:muteLocalAudio:updateDisableLocalAudio:disableLocalAudio:updateDisableRemoteAudio:disableRemoteAudio:updateMuteLocalVideo:muteLocalVideo:updateDisableLocalVideo:disableLocalVideo:updateDisableRemoteVideo:disableRemoteVideo:

- (void) sendConnectionUpdateWithPromise: (FMLiveSwitchPromise< id > *)  promise
updateMuteLocalAudio: (bool)  updateMuteLocalAudio
muteLocalAudio: (bool)  muteLocalAudio
updateDisableLocalAudio: (bool)  updateDisableLocalAudio
disableLocalAudio: (bool)  disableLocalAudio
updateDisableRemoteAudio: (bool)  updateDisableRemoteAudio
disableRemoteAudio: (bool)  disableRemoteAudio
updateMuteLocalVideo: (bool)  updateMuteLocalVideo
muteLocalVideo: (bool)  muteLocalVideo
updateDisableLocalVideo: (bool)  updateDisableLocalVideo
disableLocalVideo: (bool)  disableLocalVideo
updateDisableRemoteVideo: (bool)  updateDisableRemoteVideo
disableRemoteVideo: (bool)  disableRemoteVideo 

◆ stop

◆ streamLocalMediaWithLocalMediaForAudio:localMediaForVideo:audioStreamId:videoStreamId:audioBitrate:videoBitrate:

- (void) streamLocalMediaWithLocalMediaForAudio: (FMLiveSwitchLocalMedia *)  localMediaForAudio
localMediaForVideo: (FMLiveSwitchLocalMedia *)  localMediaForVideo
audioStreamId: (int)  audioStreamId
videoStreamId: (int)  videoStreamId
audioBitrate: (int)  audioBitrate
videoBitrate: (int)  videoBitrate 

Implemented in FMLiveSwitchWssManager.

◆ streamRemoteMedia:audioStreamId:videoStreamId:videoStreamInfo:

- (void) streamRemoteMedia: (FMLiveSwitchRemoteMedia *)  remoteMedia
audioStreamId: (int)  audioStreamId
videoStreamId: (int)  videoStreamId
videoStreamInfo: (FMLiveSwitchMediaStreamInfo *)  videoStreamInfo 

◆ wssManagerBaseWithOpenArgs:connection:

+ (FMLiveSwitchWssManagerBase*) wssManagerBaseWithOpenArgs: (FMLiveSwitchWssServiceOpenArgs *)  openArgs
connection: (FMLiveSwitchWssWebSocketConnectionBase< TConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel > *)  connection 

Member Data Documentation

◆ __pad0__

- __pad0__
protected