FMLiveSwitchConnectionFactory Class Reference

Instance Methods

(FMLiveSwitchMcuConnection *) - createMcuConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:audioStream:videoStream:dataStream:mediaId:
 
(FMLiveSwitchMcuConnection *) - createMcuConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:audioStream:videoStream:dataStream:mediaId:
 
(FMLiveSwitchMessage *) - createMcuConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId
 
(FMLiveSwitchPeerConnection *) - createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:peerConnectionOffer:audioStream:videoStream:dataStream:
 
(FMLiveSwitchPeerConnection *) - createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteClientInfo:audioStream:videoStream:dataStream:
 
(FMLiveSwitchPeerConnection *) - createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:peerConnectionOffer:audioStream:videoStream:dataStream:
 
(FMLiveSwitchPeerConnection *) - createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteClientInfo:audioStream:videoStream:dataStream:
 
(FMLiveSwitchMessage *) - createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndPeerConnectionOfferAndAudioStreamAndVideoStreamAndDataStream
 
(FMLiveSwitchMessage *) - createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteClientInfoAndAudioStreamAndVideoStreamAndDataStream
 
(FMLiveSwitchSfuDownstreamConnection *) - createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteConnectionInfo:audioStream:videoStream:dataStream:
 
(FMLiveSwitchSfuDownstreamConnection *) - createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteMediaId:audioStream:videoStream:dataStream:
 
(FMLiveSwitchSfuDownstreamConnection *) - createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteConnectionInfo:audioStream:videoStream:dataStream:
 
(FMLiveSwitchSfuDownstreamConnection *) - createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteMediaId:audioStream:videoStream:dataStream:
 
(FMLiveSwitchMessage *) - createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteConnectionInfoAndAudioStreamAndVideoStreamAndDataStream
 
(FMLiveSwitchMessage *) - createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteMediaIdAndAudioStreamAndVideoStreamAndDataStream
 
(FMLiveSwitchSfuUpstreamConnection *) - createSfuUpstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:audioStream:videoStream:dataStream:mediaId:
 
(FMLiveSwitchSfuUpstreamConnection *) - createSfuUpstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:audioStream:videoStream:dataStream:mediaId:
 
(FMLiveSwitchMessage *) - createSfuUpstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId
 
(instancetype) - init
 

Class Methods

(FMLiveSwitchConnectionFactory *) + connectionFactory
 

Method Documentation

◆ connectionFactory

+ (FMLiveSwitchConnectionFactory*) connectionFactory

◆ createMcuConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:audioStream:videoStream:dataStream:mediaId:

- (FMLiveSwitchMcuConnection*) createMcuConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream
mediaId: (NSString *)  mediaId 

◆ createMcuConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:audioStream:videoStream:dataStream:mediaId:

- (FMLiveSwitchMcuConnection*) createMcuConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream
mediaId: (NSString *)  mediaId 

◆ createMcuConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId

- (FMLiveSwitchMessage*) createMcuConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId

◆ createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:peerConnectionOffer:audioStream:videoStream:dataStream:

- (FMLiveSwitchPeerConnection*) createPeerConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
peerConnectionOffer: (FMLiveSwitchPeerConnectionOffer *)  peerConnectionOffer
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteClientInfo:audioStream:videoStream:dataStream:

- (FMLiveSwitchPeerConnection*) createPeerConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
remoteClientInfo: (FMLiveSwitchClientInfo *)  remoteClientInfo
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:peerConnectionOffer:audioStream:videoStream:dataStream:

- (FMLiveSwitchPeerConnection*) createPeerConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
peerConnectionOffer: (FMLiveSwitchPeerConnectionOffer *)  peerConnectionOffer
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createPeerConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteClientInfo:audioStream:videoStream:dataStream:

- (FMLiveSwitchPeerConnection*) createPeerConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
remoteClientInfo: (FMLiveSwitchClientInfo *)  remoteClientInfo
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndPeerConnectionOfferAndAudioStreamAndVideoStreamAndDataStream

- (FMLiveSwitchMessage*) createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndPeerConnectionOfferAndAudioStreamAndVideoStreamAndDataStream

◆ createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteClientInfoAndAudioStreamAndVideoStreamAndDataStream

- (FMLiveSwitchMessage*) createPeerConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteClientInfoAndAudioStreamAndVideoStreamAndDataStream

◆ createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteConnectionInfo:audioStream:videoStream:dataStream:

- (FMLiveSwitchSfuDownstreamConnection*) createSfuDownstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
remoteConnectionInfo: (FMLiveSwitchConnectionInfo *)  remoteConnectionInfo
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:remoteMediaId:audioStream:videoStream:dataStream:

- (FMLiveSwitchSfuDownstreamConnection*) createSfuDownstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
remoteMediaId: (NSString *)  remoteMediaId
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteConnectionInfo:audioStream:videoStream:dataStream:

- (FMLiveSwitchSfuDownstreamConnection*) createSfuDownstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
remoteConnectionInfo: (FMLiveSwitchConnectionInfo *)  remoteConnectionInfo
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createSfuDownstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:remoteMediaId:audioStream:videoStream:dataStream:

- (FMLiveSwitchSfuDownstreamConnection*) createSfuDownstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
remoteMediaId: (NSString *)  remoteMediaId
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream 

◆ createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteConnectionInfoAndAudioStreamAndVideoStreamAndDataStream

- (FMLiveSwitchMessage*) createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteConnectionInfoAndAudioStreamAndVideoStreamAndDataStream

◆ createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteMediaIdAndAudioStreamAndVideoStreamAndDataStream

- (FMLiveSwitchMessage*) createSfuDownstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndRemoteMediaIdAndAudioStreamAndVideoStreamAndDataStream

◆ createSfuUpstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:send:audioStream:videoStream:dataStream:mediaId:

- (FMLiveSwitchSfuUpstreamConnection*) createSfuUpstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
send: (FMLiveSwitchFunction1< FMLiveSwitchMessage *, FMLiveSwitchFuture< FMLiveSwitchMessage * > * > *)  send
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream
mediaId: (NSString *)  mediaId 

◆ createSfuUpstreamConnectionWithSharedLock:applicationId:channelId:userId:deviceId:clientId:sendBlock:audioStream:videoStream:dataStream:mediaId:

- (FMLiveSwitchSfuUpstreamConnection*) createSfuUpstreamConnectionWithSharedLock: (id sharedLock
applicationId: (NSString *)  applicationId
channelId: (NSString *)  channelId
userId: (NSString *)  userId
deviceId: (NSString *)  deviceId
clientId: (NSString *)  clientId
sendBlock: (FMLiveSwitchFuture< FMLiveSwitchMessage * > *(^)(FMLiveSwitchMessage *))  sendBlock
audioStream: (FMLiveSwitchAudioStream *)  audioStream
videoStream: (FMLiveSwitchVideoStream *)  videoStream
dataStream: (FMLiveSwitchDataStream *)  dataStream
mediaId: (NSString *)  mediaId 

◆ createSfuUpstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId

- (FMLiveSwitchMessage*) createSfuUpstreamConnectionWithSharedLockAndApplicationIdAndChannelIdAndUserIdAndDeviceIdAndClientIdAndSendBlockAndAudioStreamAndVideoStreamAndDataStreamAndMediaId

◆ init

- (instancetype) init