A WebRTC/ORTC-compatible collection of local audio/video tracks. More...
Instance Methods | |
(FMLiveSwitchAudioPipe *) | - activeAudioConverter |
Gets the active audio converter. More... | |
(FMLiveSwitchAudioEncoder *) | - activeAudioEncoder |
Gets the active audio encoder. More... | |
(FMLiveSwitchAudioPipe *) | - activeAudioPacketizer |
Gets the active audio packetizer. More... | |
(FMLiveSwitchVideoPipe *) | - activeVideoController |
Gets the active video controller. More... | |
(FMLiveSwitchVideoPipe *) | - activeVideoConverter |
Gets the active video converter. More... | |
(FMLiveSwitchVideoEncoder *) | - activeVideoEncoder |
Gets the active video encoder. More... | |
(FMLiveSwitchVideoPipe *) | - activeVideoPacketizer |
Gets the active video packetizer. More... | |
(void) | - addOnActiveAudioConverterChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes. More... | |
(FMLiveSwitchAudioPipe *) | - addOnActiveAudioConverterChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes. More... | |
(void) | - addOnActiveAudioConverterChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes. More... | |
(void) | - addOnActiveAudioEncoderChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes. More... | |
(FMLiveSwitchAudioEncoder *) | - addOnActiveAudioEncoderChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes. More... | |
(void) | - addOnActiveAudioEncoderChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes. More... | |
(void) | - addOnActiveAudioPacketizerChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes. More... | |
(FMLiveSwitchAudioPipe *) | - addOnActiveAudioPacketizerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes. More... | |
(void) | - addOnActiveAudioPacketizerChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes. More... | |
(void) | - addOnActiveVideoControllerChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes. More... | |
(FMLiveSwitchVideoPipe *) | - addOnActiveVideoControllerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes. More... | |
(void) | - addOnActiveVideoControllerChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes. More... | |
(void) | - addOnActiveVideoConverterChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes. More... | |
(FMLiveSwitchVideoPipe *) | - addOnActiveVideoConverterChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes. More... | |
(void) | - addOnActiveVideoConverterChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes. More... | |
(void) | - addOnActiveVideoEncoderChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes. More... | |
(FMLiveSwitchVideoEncoder *) | - addOnActiveVideoEncoderChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes. More... | |
(void) | - addOnActiveVideoEncoderChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes. More... | |
(void) | - addOnActiveVideoPacketizerChange: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes. More... | |
(FMLiveSwitchVideoPipe *) | - addOnActiveVideoPacketizerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes. More... | |
(void) | - addOnActiveVideoPacketizerChangeWithBlock: |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer 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 *) | - audioOutputs |
Gets the audio outputs. More... | |
(bool) | - automaticVideoDegradation |
Gets whether to automatically degrade video based on FMLiveSwitchRtcLocalMedia1#videoBitsPerPixel and FMLiveSwitchRtcLocalMedia 1videoDegradationPreference when bitrate constraints are applied to the local encoders. More... | |
(FMLiveSwitchAudioSink *) | - createAudioRecorderWithInputFormat: |
Creates an audio recorder. More... | |
(FMLiveSwitchAudioSource *) | - createAudioSourceWithConfig: |
Creates an audio source. More... | |
(FMLiveSwitchVideoPipe *) | - createFrameRateControllerWithOutputFormat: |
Creates a frame-rate controller. More... | |
(FMLiveSwitchAudioEncoder *) | - createG722EncoderWithConfig: |
Creates a G.722 encoder. More... | |
(FMLiveSwitchAudioPipe *) | - createG722PacketizerWithConfig: |
Creates a G.722 packetizer. More... | |
(FMLiveSwitchVideoEncoder *) | - createH264Encoder |
Creates an H.264 encoder. More... | |
(NSMutableArray *) | - createH264Encoders |
Creates H.264 encoders. More... | |
(FMLiveSwitchVideoPipe *) | - createH264Packetizer |
Creates an H.264 packetizer. More... | |
(NSMutableArray *) | - createH264Packetizers |
Creates H.264 packetizers. More... | |
(FMLiveSwitchVideoEncoder *) | - createH265Encoder |
Creates a H.265 encoder. More... | |
(FMLiveSwitchVideoPipe *) | - createH265Packetizer |
Creates a H.265 packetizer. More... | |
(FMLiveSwitchVideoPipe *) | - createImageConverterWithOutputFormat: |
Creates an image converter. More... | |
(FMLiveSwitchAudioEncoder *) | - createL16EncoderWithConfig: |
Creates a L16 encoder. More... | |
(FMLiveSwitchAudioPipe *) | - createL16PacketizerWithConfig: |
Creates a L16 packetizer. More... | |
(FMLiveSwitchAudioEncoder *) | - createOpusEncoderWithConfig: |
Creates an Opus encoder. More... | |
(FMLiveSwitchAudioPipe *) | - createOpusPacketizerWithConfig: |
Creates an Opus packetizer. More... | |
(FMLiveSwitchAudioEncoder *) | - createPcmaEncoderWithConfig: |
Creates a PCMA encoder. More... | |
(FMLiveSwitchAudioPipe *) | - createPcmaPacketizerWithConfig: |
Creates a PCMA packetizer. More... | |
(FMLiveSwitchAudioEncoder *) | - createPcmuEncoderWithConfig: |
Creates a PCMU encoder. More... | |
(FMLiveSwitchAudioPipe *) | - createPcmuPacketizerWithConfig: |
Creates a PCMU packetizer. More... | |
(FMLiveSwitchAudioPipe *) | - createSoundConverterWithConfig: |
Creates a sound converter. More... | |
(FMLiveSwitchVideoSink *) | - createVideoRecorderWithInputFormat: |
Creates a video recorder. More... | |
(FMLiveSwitchVideoSource *) | - createVideoSource |
Creates a video source. More... | |
(FMLiveSwitchViewSink< TView > *) | - createViewSink |
Creates a view sink. More... | |
(FMLiveSwitchVideoEncoder *) | - createVp8Encoder |
Creates a VP8 encoder. More... | |
(FMLiveSwitchVideoPipe *) | - createVp8Packetizer |
Creates a VP8 packetizer. More... | |
(FMLiveSwitchVideoEncoder *) | - createVp9Encoder |
Creates a VP9 encoder. More... | |
(FMLiveSwitchVideoPipe *) | - createVp9Packetizer |
Creates a VP9 packetizer. More... | |
(void) | - destroy |
Destroys all media tracks. More... | |
(NSMutableArray *) | - doGetAudioEncodings |
Gets the local audio encodings. More... | |
(NSMutableArray *) | - doGetVideoEncodings |
Gets the local video encodings. More... | |
(void) | - doSetAudioEncodings: |
Sets the local audio encodings. More... | |
(void) | - doSetVideoEncodings: |
Sets the local video encodings. More... | |
(FMLiveSwitchAudioPipe *) | - g722Converter |
Gets the G.722 converter. More... | |
(bool) | - g722Disabled |
Gets whether the G.722 codec is disabled. More... | |
(FMLiveSwitchAudioEncoder *) | - g722Encoder |
Gets the G.722 encoder. More... | |
(FMLiveSwitchAudioPipe *) | - g722Packetizer |
Gets the G.722 packetizer. More... | |
(FMLiveSwitchVideoPipe *) | - h264Controller |
Gets the first H.264 controller. More... | |
(NSMutableArray *) | - h264Controllers |
Gets the H.264 controllers. More... | |
(FMLiveSwitchVideoPipe *) | - h264Converter |
Gets the first H.264 converter. More... | |
(NSMutableArray *) | - h264Converters |
Gets the H.264 converters. More... | |
(NSMutableArray *) | - h264ConvertersArray |
Gets the H.264 converters array. More... | |
(bool) | - h264Disabled |
Gets whether the H.264 codec is disabled. More... | |
(FMLiveSwitchVideoEncoder *) | - h264Encoder |
Gets the first H.264 encoder. More... | |
(NSMutableArray *) | - h264Encoders |
Gets the first H.264 encoders. More... | |
(NSMutableArray *) | - h264EncodersArray |
Gets the H.264 encoders array. More... | |
(FMLiveSwitchVideoPipe *) | - h264Packetizer |
Gets the first H.264 packetizer. More... | |
(NSMutableArray *) | - h264Packetizers |
Gets the first H.264 packetizers. More... | |
(NSMutableArray *) | - h264PacketizersArray |
Gets the first H.264 packetizers array. More... | |
(NSMutableArray *) | - h264PacketizersArrayArray |
Gets the H.264 packetizers array array. More... | |
(FMLiveSwitchVideoPipe *) | - h265Controller |
Gets the first H265 controller. More... | |
(NSMutableArray *) | - h265Controllers |
Gets the H265 controllers. More... | |
(FMLiveSwitchVideoPipe *) | - h265Converter |
Gets the first H265 converter. More... | |
(NSMutableArray *) | - h265Converters |
Gets the H265 converters. More... | |
(bool) | - h265Disabled |
Gets whether the H.265 codec is disabled. More... | |
(FMLiveSwitchVideoEncoder *) | - h265Encoder |
Gets the first H265 encoder. More... | |
(NSMutableArray *) | - h265Encoders |
Gets the H265 encoders. More... | |
(FMLiveSwitchVideoPipe *) | - h265Packetizer |
Gets the first H265 packetizer. More... | |
(NSMutableArray *) | - h265Packetizers |
Gets the H265 packetizers. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
(bool) | - initialize |
Initializes this instance. More... | |
(bool) | - initializeWithAudioTrackConfig:videoTrackConfig: |
Initializes this instance. More... | |
(instancetype) | - initWithDisableAudio:disableVideo: |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
(instancetype) | - initWithDisableAudio:disableVideo:aecContext: |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
(FMLiveSwitchAudioPipe *) | - l16Converter |
Gets the L16 converter. More... | |
(bool) | - l16Disabled |
Gets whether the L16 codec is disabled. More... | |
(FMLiveSwitchAudioEncoder *) | - l16Encoder |
Gets the L16 encoder. More... | |
(FMLiveSwitchAudioPipe *) | - l16Packetizer |
Gets the L16 packetizer. More... | |
(FMLiveSwitchAudioPipe *) | - opusConverter |
Gets the first Opus converter. More... | |
(NSMutableArray *) | - opusConverters |
Gets the Opus converters. More... | |
(bool) | - opusDisabled |
Gets whether the Opus codec is disabled. More... | |
(FMLiveSwitchAudioEncoder *) | - opusEncoder |
Gets the first Opus encoder. More... | |
(NSMutableArray *) | - opusEncoders |
Gets the Opus encoders. More... | |
(FMLiveSwitchAudioPipe *) | - opusPacketizer |
Gets the first Opus packetizer. More... | |
(NSMutableArray *) | - opusPacketizers |
Gets the Opus packetizers. More... | |
(bool) | - packetizerDisabled |
Gets a value indicating whether the packetizer is disabled. More... | |
(FMLiveSwitchAudioPipe *) | - pcmaConverter |
Gets the PCMA converter. More... | |
(bool) | - pcmaDisabled |
Gets whether the PCMA codec is disabled. More... | |
(FMLiveSwitchAudioEncoder *) | - pcmaEncoder |
Gets the PCMA encoder. More... | |
(FMLiveSwitchAudioPipe *) | - pcmaPacketizer |
Gets the PCMA packetizer. More... | |
(FMLiveSwitchAudioPipe *) | - pcmuConverter |
Gets the PCMU converter. More... | |
(bool) | - pcmuDisabled |
Gets whether the PCMU codec is disabled. More... | |
(FMLiveSwitchAudioEncoder *) | - pcmuEncoder |
Gets the PCMU encoder. More... | |
(FMLiveSwitchAudioPipe *) | - pcmuPacketizer |
Gets the PCMU packetizer. More... | |
(void) | - removeOnActiveAudioConverterChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes. More... | |
(void) | - removeOnActiveAudioEncoderChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes. More... | |
(void) | - removeOnActiveAudioPacketizerChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes. More... | |
(void) | - removeOnActiveVideoControllerChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes. More... | |
(void) | - removeOnActiveVideoConverterChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes. More... | |
(void) | - removeOnActiveVideoEncoderChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes. More... | |
(void) | - removeOnActiveVideoPacketizerChange: |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes. More... | |
(void) | - setAutomaticVideoDegradation: |
Sets whether to automatically degrade video based on FMLiveSwitchRtcLocalMedia1#videoBitsPerPixel and FMLiveSwitchRtcLocalMedia 1videoDegradationPreference when bitrate constraints are applied to the local encoders. More... | |
(void) | - setPacketizerDisabled: |
Sets a value indicating whether the packetizer is disabled. More... | |
(void) | - setVideoBitsPerPixel: |
Sets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution. More... | |
(void) | - setVideoDegradationPreference: |
Sets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution. More... | |
(bool) | - toggleAudioRecording |
Toggles audio recording. More... | |
(bool) | - toggleVideoRecording |
Toggles video recording. More... | |
(double) | - videoBitsPerPixel |
Gets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution. More... | |
(FMLiveSwitchVideoDegradationPreference) | - videoDegradationPreference |
Gets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution. More... | |
(bool) | - videoDisabled |
Gets a value indicating whether video is disabled. More... | |
(NSMutableArray *) | - videoOutputs |
Gets the video outputs. 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 *) | - vp8Controller |
Gets the first VP8 controller. More... | |
(NSMutableArray *) | - vp8Controllers |
Gets the VP8 controllers. More... | |
(FMLiveSwitchVideoPipe *) | - vp8Converter |
Gets the first VP8 converter. More... | |
(NSMutableArray *) | - vp8Converters |
Gets the VP8 converters. More... | |
(bool) | - vp8Disabled |
Gets whether the VP8 codec is disabled. More... | |
(FMLiveSwitchVideoEncoder *) | - vp8Encoder |
Gets the first VP8 encoder. More... | |
(NSMutableArray *) | - vp8Encoders |
Gets the VP8 encoders. More... | |
(FMLiveSwitchVideoPipe *) | - vp8Packetizer |
Gets the first VP8 packetizer. More... | |
(NSMutableArray *) | - vp8Packetizers |
Gets the VP8 packetizers. More... | |
(FMLiveSwitchVideoPipe *) | - vp9Controller |
Gets the first VP9 controller. More... | |
(NSMutableArray *) | - vp9Controllers |
Gets the VP9 controllers. More... | |
(FMLiveSwitchVideoPipe *) | - vp9Converter |
Gets the first VP9 converter. More... | |
(NSMutableArray *) | - vp9Converters |
Gets the VP9 converters. More... | |
(bool) | - vp9Disabled |
Gets whether the VP9 codec is disabled. More... | |
(FMLiveSwitchVideoEncoder *) | - vp9Encoder |
Gets the first VP9 encoder. More... | |
(NSMutableArray *) | - vp9Encoders |
Gets the VP9 encoders. More... | |
(FMLiveSwitchVideoPipe *) | - vp9Packetizer |
Gets the first VP9 packetizer. More... | |
(NSMutableArray *) | - vp9Packetizers |
Gets the VP9 packetizers. More... | |
Class Methods | |
(FMLiveSwitchRtcLocalMedia *) | + rtcLocalMedia |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
(FMLiveSwitchRtcLocalMedia *) | + rtcLocalMediaWithDisableAudio:disableVideo: |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
(FMLiveSwitchRtcLocalMedia *) | + rtcLocalMediaWithDisableAudio:disableVideo:aecContext: |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class. More... | |
Protected Attributes | |
__pad0__: FMLiveSwitchLocalMedia<FMLiveSwitchIViewSinkableMedia | |
A WebRTC/ORTC-compatible collection of local audio/video tracks.
- (FMLiveSwitchAudioPipe*) activeAudioConverter |
Gets the active audio converter.
- (FMLiveSwitchAudioEncoder*) activeAudioEncoder |
Gets the active audio encoder.
- (FMLiveSwitchAudioPipe*) activeAudioPacketizer |
Gets the active audio packetizer.
- (FMLiveSwitchVideoPipe*) activeVideoController |
Gets the active video controller.
- (FMLiveSwitchVideoPipe*) activeVideoConverter |
Gets the active video converter.
- (FMLiveSwitchVideoEncoder*) activeVideoEncoder |
Gets the active video encoder.
- (FMLiveSwitchVideoPipe*) activeVideoPacketizer |
Gets the active video packetizer.
- (void) addOnActiveAudioConverterChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes.
- (FMLiveSwitchAudioPipe*) addOnActiveAudioConverterChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes.
- (void) addOnActiveAudioConverterChangeWithBlock: | (void(^)(FMLiveSwitchAudioPipe *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes.
- (void) addOnActiveAudioEncoderChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioEncoder * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes.
- (FMLiveSwitchAudioEncoder*) addOnActiveAudioEncoderChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes.
- (void) addOnActiveAudioEncoderChangeWithBlock: | (void(^)(FMLiveSwitchAudioEncoder *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes.
- (void) addOnActiveAudioPacketizerChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes.
- (FMLiveSwitchAudioPipe*) addOnActiveAudioPacketizerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes.
- (void) addOnActiveAudioPacketizerChangeWithBlock: | (void(^)(FMLiveSwitchAudioPipe *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes.
- (void) addOnActiveVideoControllerChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes.
- (FMLiveSwitchVideoPipe*) addOnActiveVideoControllerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes.
- (void) addOnActiveVideoControllerChangeWithBlock: | (void(^)(FMLiveSwitchVideoPipe *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes.
- (void) addOnActiveVideoConverterChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes.
- (FMLiveSwitchVideoPipe*) addOnActiveVideoConverterChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes.
- (void) addOnActiveVideoConverterChangeWithBlock: | (void(^)(FMLiveSwitchVideoPipe *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes.
- (void) addOnActiveVideoEncoderChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoEncoder * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes.
- (FMLiveSwitchVideoEncoder*) addOnActiveVideoEncoderChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes.
- (void) addOnActiveVideoEncoderChangeWithBlock: | (void(^)(FMLiveSwitchVideoEncoder *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes.
- (void) addOnActiveVideoPacketizerChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes.
- (FMLiveSwitchVideoPipe*) addOnActiveVideoPacketizerChangeWithBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes.
- (void) addOnActiveVideoPacketizerChangeWithBlock: | (void(^)(FMLiveSwitchVideoPipe *)) | valueBlock |
Adds a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes.
- (FMLiveSwitchAecContext*) aecContext |
Gets the acoustic echo cancellation context.
- (bool) aecDisabled |
Gets a value indicating whether acoustic echo cancellation is disabled.
- (bool) audioDisabled |
Gets a value indicating whether audio is disabled.
- (NSMutableArray*) audioOutputs |
Gets the audio outputs.
- (bool) automaticVideoDegradation |
Gets whether to automatically degrade video based on FMLiveSwitchRtcLocalMedia1#videoBitsPerPixel and FMLiveSwitchRtcLocalMedia
1videoDegradationPreference when bitrate constraints are applied to the local encoders.
- (FMLiveSwitchAudioSink*) createAudioRecorderWithInputFormat: | (FMLiveSwitchAudioFormat *) | inputFormat |
Creates an audio recorder.
inputFormat | The input format. |
- (FMLiveSwitchAudioSource*) createAudioSourceWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates an audio source.
config | The configuration. |
- (FMLiveSwitchVideoPipe*) createFrameRateControllerWithOutputFormat: | (FMLiveSwitchVideoFormat *) | outputFormat |
Creates a frame-rate controller.
outputFormat | The video output format. |
- (FMLiveSwitchAudioEncoder*) createG722EncoderWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a G.722 encoder.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createG722PacketizerWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a G.722 packetizer.
config | The configuration. |
- (FMLiveSwitchVideoEncoder*) createH264Encoder |
Creates an H.264 encoder.
- (NSMutableArray*) createH264Encoders |
Creates H.264 encoders.
- (FMLiveSwitchVideoPipe*) createH264Packetizer |
Creates an H.264 packetizer.
- (NSMutableArray*) createH264Packetizers |
Creates H.264 packetizers.
- (FMLiveSwitchVideoEncoder*) createH265Encoder |
Creates a H.265 encoder.
- (FMLiveSwitchVideoPipe*) createH265Packetizer |
Creates a H.265 packetizer.
- (FMLiveSwitchVideoPipe*) createImageConverterWithOutputFormat: | (FMLiveSwitchVideoFormat *) | outputFormat |
Creates an image converter.
outputFormat | The video output format. |
- (FMLiveSwitchAudioEncoder*) createL16EncoderWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a L16 encoder.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createL16PacketizerWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a L16 packetizer.
config | The configuration. |
- (FMLiveSwitchAudioEncoder*) createOpusEncoderWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates an Opus encoder.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createOpusPacketizerWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates an Opus packetizer.
config | The configuration. |
- (FMLiveSwitchAudioEncoder*) createPcmaEncoderWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a PCMA encoder.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createPcmaPacketizerWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a PCMA packetizer.
config | The configuration. |
- (FMLiveSwitchAudioEncoder*) createPcmuEncoderWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a PCMU encoder.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createPcmuPacketizerWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a PCMU packetizer.
config | The configuration. |
- (FMLiveSwitchAudioPipe*) createSoundConverterWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Creates a sound converter.
config | The configuration. |
- (FMLiveSwitchVideoSink*) createVideoRecorderWithInputFormat: | (FMLiveSwitchVideoFormat *) | inputFormat |
Creates a video recorder.
inputFormat | The output format. |
- (FMLiveSwitchVideoSource*) createVideoSource |
Creates a video source.
- (FMLiveSwitchViewSink<TView>*) createViewSink |
Creates a view sink.
- (FMLiveSwitchVideoEncoder*) createVp8Encoder |
Creates a VP8 encoder.
- (FMLiveSwitchVideoPipe*) createVp8Packetizer |
Creates a VP8 packetizer.
- (FMLiveSwitchVideoEncoder*) createVp9Encoder |
Creates a VP9 encoder.
- (FMLiveSwitchVideoPipe*) createVp9Packetizer |
Creates a VP9 packetizer.
- (void) destroy |
Destroys all media tracks.
- (NSMutableArray*) doGetAudioEncodings |
Gets the local audio encodings.
- (NSMutableArray*) doGetVideoEncodings |
Gets the local video encodings.
- (void) doSetAudioEncodings: | (NSMutableArray *) | encodings |
Sets the local audio encodings.
encodings | The local audio encodings. |
- (void) doSetVideoEncodings: | (NSMutableArray *) | encodings |
Sets the local video encodings.
encodings | The local video encodings. |
- (FMLiveSwitchAudioPipe*) g722Converter |
Gets the G.722 converter.
- (bool) g722Disabled |
Gets whether the G.722 codec is disabled.
- (FMLiveSwitchAudioEncoder*) g722Encoder |
Gets the G.722 encoder.
- (FMLiveSwitchAudioPipe*) g722Packetizer |
Gets the G.722 packetizer.
- (FMLiveSwitchVideoPipe*) h264Controller |
Gets the first H.264 controller.
- (NSMutableArray*) h264Controllers |
Gets the H.264 controllers.
- (FMLiveSwitchVideoPipe*) h264Converter |
Gets the first H.264 converter.
- (NSMutableArray*) h264Converters |
Gets the H.264 converters.
- (NSMutableArray*) h264ConvertersArray |
Gets the H.264 converters array.
- (bool) h264Disabled |
Gets whether the H.264 codec is disabled.
- (FMLiveSwitchVideoEncoder*) h264Encoder |
Gets the first H.264 encoder.
- (NSMutableArray*) h264Encoders |
Gets the first H.264 encoders.
- (NSMutableArray*) h264EncodersArray |
Gets the H.264 encoders array.
- (FMLiveSwitchVideoPipe*) h264Packetizer |
Gets the first H.264 packetizer.
- (NSMutableArray*) h264Packetizers |
Gets the first H.264 packetizers.
- (NSMutableArray*) h264PacketizersArray |
Gets the first H.264 packetizers array.
- (NSMutableArray*) h264PacketizersArrayArray |
Gets the H.264 packetizers array array.
- (FMLiveSwitchVideoPipe*) h265Controller |
Gets the first H265 controller.
- (NSMutableArray*) h265Controllers |
Gets the H265 controllers.
- (FMLiveSwitchVideoPipe*) h265Converter |
Gets the first H265 converter.
- (NSMutableArray*) h265Converters |
Gets the H265 converters.
- (bool) h265Disabled |
Gets whether the H.265 codec is disabled.
- (FMLiveSwitchVideoEncoder*) h265Encoder |
Gets the first H265 encoder.
- (NSMutableArray*) h265Encoders |
Gets the H265 encoders.
- (FMLiveSwitchVideoPipe*) h265Packetizer |
Gets the first H265 packetizer.
- (NSMutableArray*) h265Packetizers |
Gets the H265 packetizers.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
- (bool) initialize |
Initializes this instance.
Must be called before being used.
- (bool) initializeWithAudioTrackConfig: | (FMLiveSwitchRtcAudioTrackConfig *) | audioTrackConfig | |
videoTrackConfig: | (FMLiveSwitchRtcVideoTrackConfig *) | videoTrackConfig | |
Initializes this instance.
Must be called before being used.
- (instancetype) initWithDisableAudio: | (bool) | disableAudio | |
disableVideo: | (bool) | disableVideo | |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
disableAudio | Whether to disable audio. |
disableVideo | Whether to disable video. |
- (instancetype) initWithDisableAudio: | (bool) | disableAudio | |
disableVideo: | (bool) | disableVideo | |
aecContext: | (FMLiveSwitchAecContext *) | aecContext | |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
disableAudio | Whether to disable audio. |
disableVideo | Whether to disable video. |
aecContext | The acoustic echo cancellation context. |
- (FMLiveSwitchAudioPipe*) l16Converter |
Gets the L16 converter.
- (bool) l16Disabled |
Gets whether the L16 codec is disabled.
- (FMLiveSwitchAudioEncoder*) l16Encoder |
Gets the L16 encoder.
- (FMLiveSwitchAudioPipe*) l16Packetizer |
Gets the L16 packetizer.
- (FMLiveSwitchAudioPipe*) opusConverter |
Gets the first Opus converter.
- (NSMutableArray*) opusConverters |
Gets the Opus converters.
- (bool) opusDisabled |
Gets whether the Opus codec is disabled.
- (FMLiveSwitchAudioEncoder*) opusEncoder |
Gets the first Opus encoder.
- (NSMutableArray*) opusEncoders |
Gets the Opus encoders.
- (FMLiveSwitchAudioPipe*) opusPacketizer |
Gets the first Opus packetizer.
- (NSMutableArray*) opusPacketizers |
Gets the Opus packetizers.
- (bool) packetizerDisabled |
Gets a value indicating whether the packetizer is disabled.
WebRTC media requires the RTP packetizer so the value must be false
. Media-over-WebSockets must not use the RTP packetizer, so the value must be true
. If the packetizer is not required, this value must be set in the constructor.
- (FMLiveSwitchAudioPipe*) pcmaConverter |
Gets the PCMA converter.
- (bool) pcmaDisabled |
Gets whether the PCMA codec is disabled.
- (FMLiveSwitchAudioEncoder*) pcmaEncoder |
Gets the PCMA encoder.
- (FMLiveSwitchAudioPipe*) pcmaPacketizer |
Gets the PCMA packetizer.
- (FMLiveSwitchAudioPipe*) pcmuConverter |
Gets the PCMU converter.
- (bool) pcmuDisabled |
Gets whether the PCMU codec is disabled.
- (FMLiveSwitchAudioEncoder*) pcmuEncoder |
Gets the PCMU encoder.
- (FMLiveSwitchAudioPipe*) pcmuPacketizer |
Gets the PCMU packetizer.
- (void) removeOnActiveAudioConverterChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioConverter changes.
- (void) removeOnActiveAudioEncoderChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioEncoder * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioEncoder changes.
- (void) removeOnActiveAudioPacketizerChange: | (FMLiveSwitchAction1< FMLiveSwitchAudioPipe * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeAudioPacketizer changes.
- (void) removeOnActiveVideoControllerChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoController changes.
- (void) removeOnActiveVideoConverterChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoConverter changes.
- (void) removeOnActiveVideoEncoderChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoEncoder * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoEncoder changes.
- (void) removeOnActiveVideoPacketizerChange: | (FMLiveSwitchAction1< FMLiveSwitchVideoPipe * > *) | value |
Removes a handler that is raised when the FMLiveSwitchRtcLocalMedia`1activeVideoPacketizer changes.
+ (FMLiveSwitchRtcLocalMedia*) rtcLocalMedia |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
+ (FMLiveSwitchRtcLocalMedia*) rtcLocalMediaWithDisableAudio: | (bool) | disableAudio | |
disableVideo: | (bool) | disableVideo | |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
disableAudio | Whether to disable audio. |
disableVideo | Whether to disable video. |
+ (FMLiveSwitchRtcLocalMedia*) rtcLocalMediaWithDisableAudio: | (bool) | disableAudio | |
disableVideo: | (bool) | disableVideo | |
aecContext: | (FMLiveSwitchAecContext *) | aecContext | |
Initializes a new instance of the FMLiveSwitchRtcLocalMedia`1 class.
disableAudio | Whether to disable audio. |
disableVideo | Whether to disable video. |
aecContext | The acoustic echo cancellation context. |
- (void) setAutomaticVideoDegradation: | (bool) | value |
Sets whether to automatically degrade video based on FMLiveSwitchRtcLocalMedia1#videoBitsPerPixel and FMLiveSwitchRtcLocalMedia
1videoDegradationPreference when bitrate constraints are applied to the local encoders.
- (void) setPacketizerDisabled: | (bool) | value |
Sets a value indicating whether the packetizer is disabled.
WebRTC media requires the RTP packetizer so the value must be false
. Media-over-WebSockets must not use the RTP packetizer, so the value must be true
. If the packetizer is not required, this value must be set in the constructor.
- (void) setVideoBitsPerPixel: | (double) | value |
Sets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution.
- (void) setVideoDegradationPreference: | (FMLiveSwitchVideoDegradationPreference) | value |
Sets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution.
- (bool) toggleAudioRecording |
Toggles audio recording.
- (bool) toggleVideoRecording |
Toggles video recording.
- (double) videoBitsPerPixel |
Gets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution.
- (FMLiveSwitchVideoDegradationPreference) videoDegradationPreference |
Gets the video degradation preference when bitrate constraints require a compromise on frame-rate and/or resolution.
- (bool) videoDisabled |
Gets a value indicating whether video is disabled.
- (NSMutableArray*) videoOutputs |
Gets the video outputs.
- (TView) view |
Gets the video view, if video is not disabled.
- (FMLiveSwitchViewSink<TView>*) viewSink |
Gets the video view sink, if video is not disabled.
- (FMLiveSwitchVideoPipe*) vp8Controller |
Gets the first VP8 controller.
- (NSMutableArray*) vp8Controllers |
Gets the VP8 controllers.
- (FMLiveSwitchVideoPipe*) vp8Converter |
Gets the first VP8 converter.
- (NSMutableArray*) vp8Converters |
Gets the VP8 converters.
- (bool) vp8Disabled |
Gets whether the VP8 codec is disabled.
- (FMLiveSwitchVideoEncoder*) vp8Encoder |
Gets the first VP8 encoder.
- (NSMutableArray*) vp8Encoders |
Gets the VP8 encoders.
- (FMLiveSwitchVideoPipe*) vp8Packetizer |
Gets the first VP8 packetizer.
- (NSMutableArray*) vp8Packetizers |
Gets the VP8 packetizers.
- (FMLiveSwitchVideoPipe*) vp9Controller |
Gets the first VP9 controller.
- (NSMutableArray*) vp9Controllers |
Gets the VP9 controllers.
- (FMLiveSwitchVideoPipe*) vp9Converter |
Gets the first VP9 converter.
- (NSMutableArray*) vp9Converters |
Gets the VP9 converters.
- (bool) vp9Disabled |
Gets whether the VP9 codec is disabled.
- (FMLiveSwitchVideoEncoder*) vp9Encoder |
Gets the first VP9 encoder.
- (NSMutableArray*) vp9Encoders |
Gets the VP9 encoders.
- (FMLiveSwitchVideoPipe*) vp9Packetizer |
Gets the first VP9 packetizer.
- (NSMutableArray*) vp9Packetizers |
Gets the VP9 packetizers.
|
protected |