FMLiveSwitchRtcAudioTrackConfig Class Reference

A WebRTC/ORTC-compatible audio track configuration. More...

Instance Methods

(bool) - g722Disabled
 Gets whether the G.722 codec should be disabled. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchRtcAudioTrackConfig class. More...
 
(bool) - l16Disabled
 Gets whether the L16 codec should be disabled. More...
 
(bool) - opusDisabled
 Gets whether the Opus codec should be disabled. More...
 
(bool) - pcmaDisabled
 Gets whether the PCMA codec should be disabled. More...
 
(bool) - pcmuDisabled
 Gets whether the PCMU codec should be disabled. More...
 
(void) - setG722Disabled:
 Sets whether the G.722 codec should be disabled. More...
 
(void) - setL16Disabled:
 Sets whether the L16 codec should be disabled. More...
 
(void) - setOpusDisabled:
 Sets whether the Opus codec should be disabled. More...
 
(void) - setPcmaDisabled:
 Sets whether the PCMA codec should be disabled. More...
 
(void) - setPcmuDisabled:
 Sets whether the PCMU codec should be disabled. More...
 

Class Methods

(bool) + defaultL16Disabled
 Gets whether the L16 codec should be disabled by default. More...
 
(FMLiveSwitchRtcAudioTrackConfig *) + rtcAudioTrackConfig
 Initializes a new instance of the FMLiveSwitchRtcAudioTrackConfig class. More...
 

Detailed Description

A WebRTC/ORTC-compatible audio track configuration.

Method Documentation

◆ defaultL16Disabled

+ (bool) defaultL16Disabled

Gets whether the L16 codec should be disabled by default.

◆ g722Disabled

- (bool) g722Disabled

Gets whether the G.722 codec should be disabled.

Defaults to false.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchRtcAudioTrackConfig class.

◆ l16Disabled

- (bool) l16Disabled

Gets whether the L16 codec should be disabled.

Defaults to false.

◆ opusDisabled

- (bool) opusDisabled

Gets whether the Opus codec should be disabled.

Defaults to false.

◆ pcmaDisabled

- (bool) pcmaDisabled

Gets whether the PCMA codec should be disabled.

Defaults to false.

◆ pcmuDisabled

- (bool) pcmuDisabled

Gets whether the PCMU codec should be disabled.

Defaults to false.

◆ rtcAudioTrackConfig

+ (FMLiveSwitchRtcAudioTrackConfig*) rtcAudioTrackConfig

Initializes a new instance of the FMLiveSwitchRtcAudioTrackConfig class.

◆ setG722Disabled:

- (void) setG722Disabled: (bool)  value

Sets whether the G.722 codec should be disabled.

Defaults to false.

◆ setL16Disabled:

- (void) setL16Disabled: (bool)  value

Sets whether the L16 codec should be disabled.

Defaults to false.

◆ setOpusDisabled:

- (void) setOpusDisabled: (bool)  value

Sets whether the Opus codec should be disabled.

Defaults to false.

◆ setPcmaDisabled:

- (void) setPcmaDisabled: (bool)  value

Sets whether the PCMA codec should be disabled.

Defaults to false.

◆ setPcmuDisabled:

- (void) setPcmuDisabled: (bool)  value

Sets whether the PCMU codec should be disabled.

Defaults to false.