FMLiveSwitchRtcRemoteMedia Class Reference

A WebRTC/ORTC-compatible collection of remote audio/video tracks. More...

Instance Methods

(FMLiveSwitchAudioPipe *) - activeAudioConverter
 Gets the active audio converter. More...
 
(FMLiveSwitchAudioDecoder *) - activeAudioDecoder
 Gets the active audio decoder. More...
 
(FMLiveSwitchAudioPipe *) - activeAudioDepacketizer
 Gets the active audio depacketizer. More...
 
(FMLiveSwitchAudioSink *) - activeAudioSink
 Gets the active audio sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - activeAudioSynchronizer
 Gets the active audio synchronizer. More...
 
(FMLiveSwitchVideoPipe *) - activeVideoConverter
 Gets the active video converter. More...
 
(FMLiveSwitchVideoDecoder *) - activeVideoDecoder
 Gets the active video decoder. More...
 
(FMLiveSwitchVideoPipe *) - activeVideoDepacketizer
 Gets the active video depacketizer. More...
 
(FMLiveSwitchVideoSynchronizer *) - activeVideoSynchronizer
 Gets the active video synchronizer. More...
 
(void) - addOnActiveAudioConverterChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes. More...
 
(FMLiveSwitchAudioPipe *) - addOnActiveAudioConverterChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes. More...
 
(void) - addOnActiveAudioConverterChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes. More...
 
(void) - addOnActiveAudioDecoderChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes. More...
 
(FMLiveSwitchAudioDecoder *) - addOnActiveAudioDecoderChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes. More...
 
(void) - addOnActiveAudioDecoderChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes. More...
 
(void) - addOnActiveAudioDepacketizerChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes. More...
 
(FMLiveSwitchAudioPipe *) - addOnActiveAudioDepacketizerChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes. More...
 
(void) - addOnActiveAudioDepacketizerChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes. More...
 
(void) - addOnActiveAudioSinkChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes. More...
 
(FMLiveSwitchAudioSink *) - addOnActiveAudioSinkChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes. More...
 
(void) - addOnActiveAudioSinkChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes. More...
 
(void) - addOnActiveAudioSynchronizerChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes. More...
 
(FMLiveSwitchAudioSynchronizer *) - addOnActiveAudioSynchronizerChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes. More...
 
(void) - addOnActiveAudioSynchronizerChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes. More...
 
(void) - addOnActiveVideoConverterChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes. More...
 
(FMLiveSwitchVideoPipe *) - addOnActiveVideoConverterChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes. More...
 
(void) - addOnActiveVideoConverterChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes. More...
 
(void) - addOnActiveVideoDecoderChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes. More...
 
(FMLiveSwitchVideoDecoder *) - addOnActiveVideoDecoderChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes. More...
 
(void) - addOnActiveVideoDecoderChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes. More...
 
(void) - addOnActiveVideoDepacketizerChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes. More...
 
(FMLiveSwitchVideoPipe *) - addOnActiveVideoDepacketizerChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes. More...
 
(void) - addOnActiveVideoDepacketizerChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes. More...
 
(void) - addOnActiveVideoSynchronizerChange:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes. More...
 
(FMLiveSwitchVideoSynchronizer *) - addOnActiveVideoSynchronizerChangeWithBlock
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes. More...
 
(void) - addOnActiveVideoSynchronizerChangeWithBlock:
 Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes. More...
 
(FMLiveSwitchAecContext *) - aecContext
 Gets the acoustic echo cancellation context. More...
 
(bool) - aecDisabled
 Gets a value indicating whether acoustic echo cancellation is disabled. More...
 
(bool) - audioDisabled
 Gets a value indicating whether audio is disabled. More...
 
(NSMutableArray *) - audioInputs
 Gets the audio inputs. More...
 
(FMLiveSwitchAudioSink *) - createAudioRecorderWithInputFormat:
 Creates an audio recorder. More...
 
(FMLiveSwitchAudioSink *) - createAudioSinkWithConfig:
 Creates an audio sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - createAudioSynchronizerWithFormat:
 Creates an audio synchronizer. More...
 
(FMLiveSwitchAudioDecoder *) - createG722DecoderWithConfig:
 Creates a G.722 decoder. More...
 
(FMLiveSwitchAudioPipe *) - createG722DepacketizerWithConfig:
 Creates a G.722 depacketizer. More...
 
(FMLiveSwitchVideoDecoder *) - createH264Decoder
 Creates an H.264 decoder. More...
 
(NSMutableArray *) - createH264Decoders
 Creates H.264 decoders. More...
 
(FMLiveSwitchVideoPipe *) - createH264Depacketizer
 Creates an H.264 depacketizer. More...
 
(NSMutableArray *) - createH264Depacketizers
 Creates H.264 depacketizers. More...
 
(FMLiveSwitchVideoDecoder *) - createH265Decoder
 Creates a H.265 decoder. More...
 
(FMLiveSwitchVideoPipe *) - createH265Depacketizer
 Creates a H.265 depacketizer. More...
 
(FMLiveSwitchVideoPipe *) - createImageConverterWithOutputFormat:
 Creates an image converter. More...
 
(FMLiveSwitchAudioDecoder *) - createL16DecoderWithConfig:
 Creates a PCMA decoder. More...
 
(FMLiveSwitchAudioPipe *) - createL16DepacketizerWithConfig:
 Creates a L16 depacketizer. More...
 
(FMLiveSwitchAudioDecoder *) - createOpusDecoderWithConfig:
 Creates an Opus decoder. More...
 
(FMLiveSwitchAudioPipe *) - createOpusDepacketizerWithConfig:
 Creates an Opus depacketizer. More...
 
(FMLiveSwitchAudioDecoder *) - createPcmaDecoderWithConfig:
 Creates a PCMA decoder. More...
 
(FMLiveSwitchAudioPipe *) - createPcmaDepacketizerWithConfig:
 Creates a PCMA depacketizer. More...
 
(FMLiveSwitchAudioDecoder *) - createPcmuDecoderWithConfig:
 Creates a PCMU decoder. More...
 
(FMLiveSwitchAudioPipe *) - createPcmuDepacketizerWithConfig:
 Creates a PCMU depacketizer. More...
 
(FMLiveSwitchAudioPipe *) - createSoundConverterWithConfig:
 Creates a sound converter. More...
 
(FMLiveSwitchVideoSink *) - createVideoRecorderWithInputFormat:
 Creates a video recorder. More...
 
(FMLiveSwitchVideoSynchronizer *) - createVideoSynchronizerWithFormat:
 Creates a video synchronizer. More...
 
(FMLiveSwitchViewSink< TView > *) - createViewSink
 Creates a view sink. More...
 
(FMLiveSwitchVideoDecoder *) - createVp8Decoder
 Creates a VP8 decoder. More...
 
(FMLiveSwitchVideoPipe *) - createVp8Depacketizer
 Creates a VP8 depacketizer. More...
 
(FMLiveSwitchVideoDecoder *) - createVp9Decoder
 Creates a VP9 decoder. More...
 
(FMLiveSwitchVideoPipe *) - createVp9Depacketizer
 Creates a VP9 depacketizer. More...
 
(void) - destroy
 Destroys all media tracks. More...
 
(FMLiveSwitchAudioPipe *) - g722Converter
 Gets the G.722 converter. More...
 
(FMLiveSwitchAudioDecoder *) - g722Decoder
 Gets the G.722 decoder. More...
 
(FMLiveSwitchAudioPipe *) - g722Depacketizer
 Gets the G.722 depacketizer. More...
 
(bool) - g722Disabled
 Gets whether the G.722 codec is disabled. More...
 
(FMLiveSwitchAudioSink *) - g722Sink
 Gets the G.722 sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - g722Synchronizer
 Gets the G.722 synchronizer. More...
 
(FMLiveSwitchVideoPipe *) - h264Converter
 Gets the H.264 converter. More...
 
(NSMutableArray *) - h264Converters
 Gets the H.264 converters. More...
 
(FMLiveSwitchVideoDecoder *) - h264Decoder
 Gets first the H.264 decoder. More...
 
(NSMutableArray *) - h264Decoders
 Gets the H.264 decoders. More...
 
(FMLiveSwitchVideoPipe *) - h264Depacketizer
 Gets the first H.264 depacketizer. More...
 
(NSMutableArray *) - h264Depacketizers
 Gets the first H.264 depacketizers. More...
 
(NSMutableArray *) - h264DepacketizersArray
 Gets the H.264 depacketizers array. More...
 
(bool) - h264Disabled
 Gets whether the H.264 codec is disabled. More...
 
(FMLiveSwitchVideoSynchronizer *) - h264Synchronizer
 Gets the H.264 synchronizer. More...
 
(NSMutableArray *) - h264Synchronizers
 Gets the H.264 synchronizers. More...
 
(FMLiveSwitchVideoPipe *) - h265Converter
 Gets the H.265 converter. More...
 
(FMLiveSwitchVideoDecoder *) - h265Decoder
 Gets the H.265 decoder. More...
 
(FMLiveSwitchVideoPipe *) - h265Depacketizer
 Gets the H.265 depacketizer. More...
 
(bool) - h265Disabled
 Gets whether the H.265 codec is disabled. More...
 
(FMLiveSwitchVideoSynchronizer *) - h265Synchronizer
 Gets the H.265 synchronizer. More...
 
(bool) - initialize
 Initializes this instance. More...
 
(bool) - initializeWithAudioTrackConfig:videoTrackConfig:
 Initializes this instance. More...
 
(instancetype) - initWithDisableAudio:disableVideo:
 Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class. More...
 
(instancetype) - initWithDisableAudio:disableVideo:aecContext:
 Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class. More...
 
(FMLiveSwitchAudioPipe *) - l16Converter
 Gets the L16 converter. More...
 
(FMLiveSwitchAudioDecoder *) - l16Decoder
 Gets the L16 decoder. More...
 
(FMLiveSwitchAudioPipe *) - l16Depacketizer
 Gets the L16 depacketizer. More...
 
(bool) - l16Disabled
 Gets whether the L16 codec is disabled. More...
 
(FMLiveSwitchAudioSink *) - l16Sink
 Gets the L16 sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - l16Synchronizer
 Gets the L16 synchronizer. More...
 
(FMLiveSwitchAudioPipe *) - opusConverter
 Gets the Opus converter. More...
 
(FMLiveSwitchAudioDecoder *) - opusDecoder
 Gets the Opus decoder. More...
 
(FMLiveSwitchAudioPipe *) - opusDepacketizer
 Gets the Opus depacketizer. More...
 
(bool) - opusDisabled
 Gets whether the Opus codec is disabled. More...
 
(FMLiveSwitchAudioSink *) - opusSink
 Gets the Opus sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - opusSynchronizer
 Gets the Opus synchronizer. More...
 
(FMLiveSwitchAudioPipe *) - pcmaConverter
 Gets the PCMA converter. More...
 
(FMLiveSwitchAudioDecoder *) - pcmaDecoder
 Gets the PCMA decoder. More...
 
(FMLiveSwitchAudioPipe *) - pcmaDepacketizer
 Gets the PCMA depacketizer. More...
 
(bool) - pcmaDisabled
 Gets whether the PCMA codec is disabled. More...
 
(FMLiveSwitchAudioSink *) - pcmaSink
 Gets the PCMA sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - pcmaSynchronizer
 Gets the PCMA synchronizer. More...
 
(FMLiveSwitchAudioPipe *) - pcmuConverter
 Gets the PCMU converter. More...
 
(FMLiveSwitchAudioDecoder *) - pcmuDecoder
 Gets the PCMU decoder. More...
 
(FMLiveSwitchAudioPipe *) - pcmuDepacketizer
 Gets the PCMU depacketizer. More...
 
(bool) - pcmuDisabled
 Gets whether the PCMU codec is disabled. More...
 
(FMLiveSwitchAudioSink *) - pcmuSink
 Gets the PCMU sink. More...
 
(FMLiveSwitchAudioSynchronizer *) - pcmuSynchronizer
 Gets the PCMU synchronizer. More...
 
(void) - removeOnActiveAudioConverterChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes. More...
 
(void) - removeOnActiveAudioDecoderChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes. More...
 
(void) - removeOnActiveAudioDepacketizerChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes. More...
 
(void) - removeOnActiveAudioSinkChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes. More...
 
(void) - removeOnActiveAudioSynchronizerChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes. More...
 
(void) - removeOnActiveVideoConverterChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes. More...
 
(void) - removeOnActiveVideoDecoderChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes. More...
 
(void) - removeOnActiveVideoDepacketizerChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes. More...
 
(void) - removeOnActiveVideoSynchronizerChange:
 Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes. More...
 
(bool) - toggleAudioRecording
 Toggles audio recording. More...
 
(bool) - toggleVideoRecording
 Toggles video recording. More...
 
(bool) - videoDisabled
 Gets a value indicating whether video is disabled. More...
 
(NSMutableArray *) - videoInputs
 Gets the video inputs. More...
 
(TView) - view
 Gets the video view, if video is not disabled. More...
 
(FMLiveSwitchViewSink< TView > *) - viewSink
 Gets the video view sink, if video is not disabled. More...
 
(FMLiveSwitchVideoPipe *) - vp8Converter
 Gets the VP8 converter. More...
 
(FMLiveSwitchVideoDecoder *) - vp8Decoder
 Gets the VP8 decoder. More...
 
(FMLiveSwitchVideoPipe *) - vp8Depacketizer
 Gets the VP8 depacketizer. More...
 
(bool) - vp8Disabled
 Gets whether the VP8 codec is disabled. More...
 
(FMLiveSwitchVideoSynchronizer *) - vp8Synchronizer
 Gets the VP8 synchronizer. More...
 
(FMLiveSwitchVideoPipe *) - vp9Converter
 Gets the VP9 converter. More...
 
(FMLiveSwitchVideoDecoder *) - vp9Decoder
 Gets the VP9 decoder. More...
 
(FMLiveSwitchVideoPipe *) - vp9Depacketizer
 Gets the VP9 depacketizer. More...
 
(bool) - vp9Disabled
 Gets whether the VP9 codec is disabled. More...
 
(FMLiveSwitchVideoSynchronizer *) - vp9Synchronizer
 Gets the VP9 synchronizer. More...
 

Class Methods

(FMLiveSwitchRtcRemoteMedia *) + rtcRemoteMediaWithDisableAudio:disableVideo:
 Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class. More...
 
(FMLiveSwitchRtcRemoteMedia *) + rtcRemoteMediaWithDisableAudio:disableVideo:aecContext:
 Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class. More...
 

Protected Attributes

 __pad0__: FMLiveSwitchRemoteMedia<FMLiveSwitchIViewSinkableMedia
 

Detailed Description

A WebRTC/ORTC-compatible collection of remote audio/video tracks.

Method Documentation

◆ activeAudioConverter

- (FMLiveSwitchAudioPipe*) activeAudioConverter

Gets the active audio converter.

◆ activeAudioDecoder

- (FMLiveSwitchAudioDecoder*) activeAudioDecoder

Gets the active audio decoder.

◆ activeAudioDepacketizer

- (FMLiveSwitchAudioPipe*) activeAudioDepacketizer

Gets the active audio depacketizer.

◆ activeAudioSink

- (FMLiveSwitchAudioSink*) activeAudioSink

Gets the active audio sink.

◆ activeAudioSynchronizer

- (FMLiveSwitchAudioSynchronizer*) activeAudioSynchronizer

Gets the active audio synchronizer.

◆ activeVideoConverter

- (FMLiveSwitchVideoPipe*) activeVideoConverter

Gets the active video converter.

◆ activeVideoDecoder

- (FMLiveSwitchVideoDecoder*) activeVideoDecoder

Gets the active video decoder.

◆ activeVideoDepacketizer

- (FMLiveSwitchVideoPipe*) activeVideoDepacketizer

Gets the active video depacketizer.

◆ activeVideoSynchronizer

- (FMLiveSwitchVideoSynchronizer*) activeVideoSynchronizer

Gets the active video synchronizer.

◆ addOnActiveAudioConverterChange:

- (void) addOnActiveAudioConverterChange: (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes.

◆ addOnActiveAudioConverterChangeWithBlock

- (FMLiveSwitchAudioPipe*) addOnActiveAudioConverterChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes.

◆ addOnActiveAudioConverterChangeWithBlock:

- (void) addOnActiveAudioConverterChangeWithBlock: (void(^)(FMLiveSwitchAudioPipe *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes.

◆ addOnActiveAudioDecoderChange:

- (void) addOnActiveAudioDecoderChange: (FMLiveSwitchAction1< FMLiveSwitchAudioDecoder * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes.

◆ addOnActiveAudioDecoderChangeWithBlock

- (FMLiveSwitchAudioDecoder*) addOnActiveAudioDecoderChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes.

◆ addOnActiveAudioDecoderChangeWithBlock:

- (void) addOnActiveAudioDecoderChangeWithBlock: (void(^)(FMLiveSwitchAudioDecoder *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes.

◆ addOnActiveAudioDepacketizerChange:

- (void) addOnActiveAudioDepacketizerChange: (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes.

◆ addOnActiveAudioDepacketizerChangeWithBlock

- (FMLiveSwitchAudioPipe*) addOnActiveAudioDepacketizerChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes.

◆ addOnActiveAudioDepacketizerChangeWithBlock:

- (void) addOnActiveAudioDepacketizerChangeWithBlock: (void(^)(FMLiveSwitchAudioPipe *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes.

◆ addOnActiveAudioSinkChange:

- (void) addOnActiveAudioSinkChange: (FMLiveSwitchAction1< FMLiveSwitchAudioSink * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes.

◆ addOnActiveAudioSinkChangeWithBlock

- (FMLiveSwitchAudioSink*) addOnActiveAudioSinkChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes.

◆ addOnActiveAudioSinkChangeWithBlock:

- (void) addOnActiveAudioSinkChangeWithBlock: (void(^)(FMLiveSwitchAudioSink *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes.

◆ addOnActiveAudioSynchronizerChange:

- (void) addOnActiveAudioSynchronizerChange: (FMLiveSwitchAction1< FMLiveSwitchAudioSynchronizer * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes.

◆ addOnActiveAudioSynchronizerChangeWithBlock

- (FMLiveSwitchAudioSynchronizer*) addOnActiveAudioSynchronizerChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes.

◆ addOnActiveAudioSynchronizerChangeWithBlock:

- (void) addOnActiveAudioSynchronizerChangeWithBlock: (void(^)(FMLiveSwitchAudioSynchronizer *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes.

◆ addOnActiveVideoConverterChange:

- (void) addOnActiveVideoConverterChange: (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes.

◆ addOnActiveVideoConverterChangeWithBlock

- (FMLiveSwitchVideoPipe*) addOnActiveVideoConverterChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes.

◆ addOnActiveVideoConverterChangeWithBlock:

- (void) addOnActiveVideoConverterChangeWithBlock: (void(^)(FMLiveSwitchVideoPipe *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes.

◆ addOnActiveVideoDecoderChange:

- (void) addOnActiveVideoDecoderChange: (FMLiveSwitchAction1< FMLiveSwitchVideoDecoder * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes.

◆ addOnActiveVideoDecoderChangeWithBlock

- (FMLiveSwitchVideoDecoder*) addOnActiveVideoDecoderChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes.

◆ addOnActiveVideoDecoderChangeWithBlock:

- (void) addOnActiveVideoDecoderChangeWithBlock: (void(^)(FMLiveSwitchVideoDecoder *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes.

◆ addOnActiveVideoDepacketizerChange:

- (void) addOnActiveVideoDepacketizerChange: (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes.

◆ addOnActiveVideoDepacketizerChangeWithBlock

- (FMLiveSwitchVideoPipe*) addOnActiveVideoDepacketizerChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes.

◆ addOnActiveVideoDepacketizerChangeWithBlock:

- (void) addOnActiveVideoDepacketizerChangeWithBlock: (void(^)(FMLiveSwitchVideoPipe *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes.

◆ addOnActiveVideoSynchronizerChange:

- (void) addOnActiveVideoSynchronizerChange: (FMLiveSwitchAction1< FMLiveSwitchVideoSynchronizer * > *)  value

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes.

◆ addOnActiveVideoSynchronizerChangeWithBlock

- (FMLiveSwitchVideoSynchronizer*) addOnActiveVideoSynchronizerChangeWithBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes.

◆ addOnActiveVideoSynchronizerChangeWithBlock:

- (void) addOnActiveVideoSynchronizerChangeWithBlock: (void(^)(FMLiveSwitchVideoSynchronizer *))  valueBlock

Adds a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes.

◆ aecContext

- (FMLiveSwitchAecContext*) aecContext

Gets the acoustic echo cancellation context.

◆ aecDisabled

- (bool) aecDisabled

Gets a value indicating whether acoustic echo cancellation is disabled.

◆ audioDisabled

- (bool) audioDisabled

Gets a value indicating whether audio is disabled.

◆ audioInputs

- (NSMutableArray*) audioInputs

Gets the audio inputs.

◆ createAudioRecorderWithInputFormat:

- (FMLiveSwitchAudioSink*) createAudioRecorderWithInputFormat: (FMLiveSwitchAudioFormat *)  inputFormat

Creates an audio recorder.

Parameters
inputFormatThe input format.

◆ createAudioSinkWithConfig:

- (FMLiveSwitchAudioSink*) createAudioSinkWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates an audio sink.

Parameters
configThe configuration.

◆ createAudioSynchronizerWithFormat:

- (FMLiveSwitchAudioSynchronizer*) createAudioSynchronizerWithFormat: (FMLiveSwitchAudioFormat *)  format

Creates an audio synchronizer.

Parameters
formatThe format.

◆ createG722DecoderWithConfig:

- (FMLiveSwitchAudioDecoder*) createG722DecoderWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a G.722 decoder.

Parameters
configThe configuration.

◆ createG722DepacketizerWithConfig:

- (FMLiveSwitchAudioPipe*) createG722DepacketizerWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a G.722 depacketizer.

Parameters
configThe configuration.

◆ createH264Decoder

- (FMLiveSwitchVideoDecoder*) createH264Decoder

Creates an H.264 decoder.

◆ createH264Decoders

- (NSMutableArray*) createH264Decoders

Creates H.264 decoders.

◆ createH264Depacketizer

- (FMLiveSwitchVideoPipe*) createH264Depacketizer

Creates an H.264 depacketizer.

◆ createH264Depacketizers

- (NSMutableArray*) createH264Depacketizers

Creates H.264 depacketizers.

◆ createH265Decoder

- (FMLiveSwitchVideoDecoder*) createH265Decoder

Creates a H.265 decoder.

◆ createH265Depacketizer

- (FMLiveSwitchVideoPipe*) createH265Depacketizer

Creates a H.265 depacketizer.

◆ createImageConverterWithOutputFormat:

- (FMLiveSwitchVideoPipe*) createImageConverterWithOutputFormat: (FMLiveSwitchVideoFormat *)  outputFormat

Creates an image converter.

Parameters
outputFormatThe output format.

◆ createL16DecoderWithConfig:

- (FMLiveSwitchAudioDecoder*) createL16DecoderWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a PCMA decoder.

Parameters
configThe configuration.

◆ createL16DepacketizerWithConfig:

- (FMLiveSwitchAudioPipe*) createL16DepacketizerWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a L16 depacketizer.

Parameters
configThe configuration.

◆ createOpusDecoderWithConfig:

- (FMLiveSwitchAudioDecoder*) createOpusDecoderWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates an Opus decoder.

Parameters
configThe configuration.

◆ createOpusDepacketizerWithConfig:

- (FMLiveSwitchAudioPipe*) createOpusDepacketizerWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates an Opus depacketizer.

Parameters
configThe configuration.

◆ createPcmaDecoderWithConfig:

- (FMLiveSwitchAudioDecoder*) createPcmaDecoderWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a PCMA decoder.

Parameters
configThe configuration.

◆ createPcmaDepacketizerWithConfig:

- (FMLiveSwitchAudioPipe*) createPcmaDepacketizerWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a PCMA depacketizer.

Parameters
configThe configuration.

◆ createPcmuDecoderWithConfig:

- (FMLiveSwitchAudioDecoder*) createPcmuDecoderWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a PCMU decoder.

Parameters
configThe configuration.

◆ createPcmuDepacketizerWithConfig:

- (FMLiveSwitchAudioPipe*) createPcmuDepacketizerWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a PCMU depacketizer.

Parameters
configThe configuration.

◆ createSoundConverterWithConfig:

- (FMLiveSwitchAudioPipe*) createSoundConverterWithConfig: (FMLiveSwitchAudioConfig *)  config

Creates a sound converter.

Parameters
configThe configuration.

◆ createVideoRecorderWithInputFormat:

- (FMLiveSwitchVideoSink*) createVideoRecorderWithInputFormat: (FMLiveSwitchVideoFormat *)  inputFormat

Creates a video recorder.

Parameters
inputFormatThe output format.

◆ createVideoSynchronizerWithFormat:

- (FMLiveSwitchVideoSynchronizer*) createVideoSynchronizerWithFormat: (FMLiveSwitchVideoFormat *)  format

Creates a video synchronizer.

Parameters
formatThe format.

◆ createViewSink

- (FMLiveSwitchViewSink<TView>*) createViewSink

Creates a view sink.

◆ createVp8Decoder

- (FMLiveSwitchVideoDecoder*) createVp8Decoder

Creates a VP8 decoder.

◆ createVp8Depacketizer

- (FMLiveSwitchVideoPipe*) createVp8Depacketizer

Creates a VP8 depacketizer.

◆ createVp9Decoder

- (FMLiveSwitchVideoDecoder*) createVp9Decoder

Creates a VP9 decoder.

◆ createVp9Depacketizer

- (FMLiveSwitchVideoPipe*) createVp9Depacketizer

Creates a VP9 depacketizer.

◆ destroy

- (void) destroy

Destroys all media tracks.

◆ g722Converter

- (FMLiveSwitchAudioPipe*) g722Converter

Gets the G.722 converter.

◆ g722Decoder

- (FMLiveSwitchAudioDecoder*) g722Decoder

Gets the G.722 decoder.

◆ g722Depacketizer

- (FMLiveSwitchAudioPipe*) g722Depacketizer

Gets the G.722 depacketizer.

◆ g722Disabled

- (bool) g722Disabled

Gets whether the G.722 codec is disabled.

◆ g722Sink

- (FMLiveSwitchAudioSink*) g722Sink

Gets the G.722 sink.

◆ g722Synchronizer

- (FMLiveSwitchAudioSynchronizer*) g722Synchronizer

Gets the G.722 synchronizer.

◆ h264Converter

- (FMLiveSwitchVideoPipe*) h264Converter

Gets the H.264 converter.

◆ h264Converters

- (NSMutableArray*) h264Converters

Gets the H.264 converters.

◆ h264Decoder

- (FMLiveSwitchVideoDecoder*) h264Decoder

Gets first the H.264 decoder.

◆ h264Decoders

- (NSMutableArray*) h264Decoders

Gets the H.264 decoders.

◆ h264Depacketizer

- (FMLiveSwitchVideoPipe*) h264Depacketizer

Gets the first H.264 depacketizer.

◆ h264Depacketizers

- (NSMutableArray*) h264Depacketizers

Gets the first H.264 depacketizers.

◆ h264DepacketizersArray

- (NSMutableArray*) h264DepacketizersArray

Gets the H.264 depacketizers array.

◆ h264Disabled

- (bool) h264Disabled

Gets whether the H.264 codec is disabled.

◆ h264Synchronizer

- (FMLiveSwitchVideoSynchronizer*) h264Synchronizer

Gets the H.264 synchronizer.

◆ h264Synchronizers

- (NSMutableArray*) h264Synchronizers

Gets the H.264 synchronizers.

◆ h265Converter

- (FMLiveSwitchVideoPipe*) h265Converter

Gets the H.265 converter.

◆ h265Decoder

- (FMLiveSwitchVideoDecoder*) h265Decoder

Gets the H.265 decoder.

◆ h265Depacketizer

- (FMLiveSwitchVideoPipe*) h265Depacketizer

Gets the H.265 depacketizer.

◆ h265Disabled

- (bool) h265Disabled

Gets whether the H.265 codec is disabled.

◆ h265Synchronizer

- (FMLiveSwitchVideoSynchronizer*) h265Synchronizer

Gets the H.265 synchronizer.

◆ initialize

- (bool) initialize

Initializes this instance.

Must be called before being used.

◆ initializeWithAudioTrackConfig:videoTrackConfig:

- (bool) initializeWithAudioTrackConfig: (FMLiveSwitchRtcAudioTrackConfig *)  audioTrackConfig
videoTrackConfig: (FMLiveSwitchRtcVideoTrackConfig *)  videoTrackConfig 

Initializes this instance.

Must be called before being used.

◆ initWithDisableAudio:disableVideo:

- (instancetype) initWithDisableAudio: (bool)  disableAudio
disableVideo: (bool)  disableVideo 

Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.

◆ initWithDisableAudio:disableVideo:aecContext:

- (instancetype) initWithDisableAudio: (bool)  disableAudio
disableVideo: (bool)  disableVideo
aecContext: (FMLiveSwitchAecContext *)  aecContext 

Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.
aecContextThe acoustic echo cancellation context.

◆ l16Converter

- (FMLiveSwitchAudioPipe*) l16Converter

Gets the L16 converter.

◆ l16Decoder

- (FMLiveSwitchAudioDecoder*) l16Decoder

Gets the L16 decoder.

◆ l16Depacketizer

- (FMLiveSwitchAudioPipe*) l16Depacketizer

Gets the L16 depacketizer.

◆ l16Disabled

- (bool) l16Disabled

Gets whether the L16 codec is disabled.

◆ l16Sink

- (FMLiveSwitchAudioSink*) l16Sink

Gets the L16 sink.

◆ l16Synchronizer

- (FMLiveSwitchAudioSynchronizer*) l16Synchronizer

Gets the L16 synchronizer.

◆ opusConverter

- (FMLiveSwitchAudioPipe*) opusConverter

Gets the Opus converter.

◆ opusDecoder

- (FMLiveSwitchAudioDecoder*) opusDecoder

Gets the Opus decoder.

◆ opusDepacketizer

- (FMLiveSwitchAudioPipe*) opusDepacketizer

Gets the Opus depacketizer.

◆ opusDisabled

- (bool) opusDisabled

Gets whether the Opus codec is disabled.

◆ opusSink

- (FMLiveSwitchAudioSink*) opusSink

Gets the Opus sink.

◆ opusSynchronizer

- (FMLiveSwitchAudioSynchronizer*) opusSynchronizer

Gets the Opus synchronizer.

◆ pcmaConverter

- (FMLiveSwitchAudioPipe*) pcmaConverter

Gets the PCMA converter.

◆ pcmaDecoder

- (FMLiveSwitchAudioDecoder*) pcmaDecoder

Gets the PCMA decoder.

◆ pcmaDepacketizer

- (FMLiveSwitchAudioPipe*) pcmaDepacketizer

Gets the PCMA depacketizer.

◆ pcmaDisabled

- (bool) pcmaDisabled

Gets whether the PCMA codec is disabled.

◆ pcmaSink

- (FMLiveSwitchAudioSink*) pcmaSink

Gets the PCMA sink.

◆ pcmaSynchronizer

- (FMLiveSwitchAudioSynchronizer*) pcmaSynchronizer

Gets the PCMA synchronizer.

◆ pcmuConverter

- (FMLiveSwitchAudioPipe*) pcmuConverter

Gets the PCMU converter.

◆ pcmuDecoder

- (FMLiveSwitchAudioDecoder*) pcmuDecoder

Gets the PCMU decoder.

◆ pcmuDepacketizer

- (FMLiveSwitchAudioPipe*) pcmuDepacketizer

Gets the PCMU depacketizer.

◆ pcmuDisabled

- (bool) pcmuDisabled

Gets whether the PCMU codec is disabled.

◆ pcmuSink

- (FMLiveSwitchAudioSink*) pcmuSink

Gets the PCMU sink.

◆ pcmuSynchronizer

- (FMLiveSwitchAudioSynchronizer*) pcmuSynchronizer

Gets the PCMU synchronizer.

◆ removeOnActiveAudioConverterChange:

- (void) removeOnActiveAudioConverterChange: (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioConverter changes.

◆ removeOnActiveAudioDecoderChange:

- (void) removeOnActiveAudioDecoderChange: (FMLiveSwitchAction1< FMLiveSwitchAudioDecoder * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDecoder changes.

◆ removeOnActiveAudioDepacketizerChange:

- (void) removeOnActiveAudioDepacketizerChange: (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioDepacketizer changes.

◆ removeOnActiveAudioSinkChange:

- (void) removeOnActiveAudioSinkChange: (FMLiveSwitchAction1< FMLiveSwitchAudioSink * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSink changes.

◆ removeOnActiveAudioSynchronizerChange:

- (void) removeOnActiveAudioSynchronizerChange: (FMLiveSwitchAction1< FMLiveSwitchAudioSynchronizer * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeAudioSynchronizer changes.

◆ removeOnActiveVideoConverterChange:

- (void) removeOnActiveVideoConverterChange: (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoConverter changes.

◆ removeOnActiveVideoDecoderChange:

- (void) removeOnActiveVideoDecoderChange: (FMLiveSwitchAction1< FMLiveSwitchVideoDecoder * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDecoder changes.

◆ removeOnActiveVideoDepacketizerChange:

- (void) removeOnActiveVideoDepacketizerChange: (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoDepacketizer changes.

◆ removeOnActiveVideoSynchronizerChange:

- (void) removeOnActiveVideoSynchronizerChange: (FMLiveSwitchAction1< FMLiveSwitchVideoSynchronizer * > *)  value

Removes a handler that is raised when the FMLiveSwitchRtcRemoteMedia`1activeVideoSynchronizer changes.

◆ rtcRemoteMediaWithDisableAudio:disableVideo:

+ (FMLiveSwitchRtcRemoteMedia*) rtcRemoteMediaWithDisableAudio: (bool)  disableAudio
disableVideo: (bool)  disableVideo 

Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.

◆ rtcRemoteMediaWithDisableAudio:disableVideo:aecContext:

+ (FMLiveSwitchRtcRemoteMedia*) rtcRemoteMediaWithDisableAudio: (bool)  disableAudio
disableVideo: (bool)  disableVideo
aecContext: (FMLiveSwitchAecContext *)  aecContext 

Initializes a new instance of the FMLiveSwitchRtcRemoteMedia`1 class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.
aecContextThe acoustic echo cancellation context.

◆ toggleAudioRecording

- (bool) toggleAudioRecording

Toggles audio recording.

◆ toggleVideoRecording

- (bool) toggleVideoRecording

Toggles video recording.

◆ videoDisabled

- (bool) videoDisabled

Gets a value indicating whether video is disabled.

◆ videoInputs

- (NSMutableArray*) videoInputs

Gets the video inputs.

◆ view

- (TView) view

Gets the video view, if video is not disabled.

◆ viewSink

- (FMLiveSwitchViewSink<TView>*) viewSink

Gets the video view sink, if video is not disabled.

◆ vp8Converter

- (FMLiveSwitchVideoPipe*) vp8Converter

Gets the VP8 converter.

◆ vp8Decoder

- (FMLiveSwitchVideoDecoder*) vp8Decoder

Gets the VP8 decoder.

◆ vp8Depacketizer

- (FMLiveSwitchVideoPipe*) vp8Depacketizer

Gets the VP8 depacketizer.

◆ vp8Disabled

- (bool) vp8Disabled

Gets whether the VP8 codec is disabled.

◆ vp8Synchronizer

- (FMLiveSwitchVideoSynchronizer*) vp8Synchronizer

Gets the VP8 synchronizer.

◆ vp9Converter

- (FMLiveSwitchVideoPipe*) vp9Converter

Gets the VP9 converter.

◆ vp9Decoder

- (FMLiveSwitchVideoDecoder*) vp9Decoder

Gets the VP9 decoder.

◆ vp9Depacketizer

- (FMLiveSwitchVideoPipe*) vp9Depacketizer

Gets the VP9 depacketizer.

◆ vp9Disabled

- (bool) vp9Disabled

Gets whether the VP9 codec is disabled.

◆ vp9Synchronizer

- (FMLiveSwitchVideoSynchronizer*) vp9Synchronizer

Gets the VP9 synchronizer.

Member Data Documentation

◆ __pad0__

- __pad0__
protected