fm.liveswitch.RtcAudioTrackConfig Class Reference

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

Public Member Functions

boolean getG722Disabled ()
 Gets whether the G.722 codec should be disabled. More...
 
boolean getL16Disabled ()
 Gets whether the L16 codec should be disabled. More...
 
boolean getOpusDisabled ()
 Gets whether the Opus codec should be disabled. More...
 
boolean getPcmaDisabled ()
 Gets whether the PCMA codec should be disabled. More...
 
boolean getPcmuDisabled ()
 Gets whether the PCMU codec should be disabled. More...
 
 RtcAudioTrackConfig ()
 Initializes a new instance of the fm.liveswitch.RtcAudioTrackConfig class. More...
 
void setG722Disabled (boolean value)
 Sets whether the G.722 codec should be disabled. More...
 
void setL16Disabled (boolean value)
 Sets whether the L16 codec should be disabled. More...
 
void setOpusDisabled (boolean value)
 Sets whether the Opus codec should be disabled. More...
 
void setPcmaDisabled (boolean value)
 Sets whether the PCMA codec should be disabled. More...
 
void setPcmuDisabled (boolean value)
 Sets whether the PCMU codec should be disabled. More...
 

Static Public Member Functions

static boolean getDefaultL16Disabled ()
 Gets whether the L16 codec should be disabled by default. More...
 

Detailed Description

A WebRTC/ORTC-compatible audio track configuration.

Constructor & Destructor Documentation

◆ RtcAudioTrackConfig()

fm.liveswitch.RtcAudioTrackConfig.RtcAudioTrackConfig ( )

Initializes a new instance of the fm.liveswitch.RtcAudioTrackConfig class.

Member Function Documentation

◆ getDefaultL16Disabled()

static boolean fm.liveswitch.RtcAudioTrackConfig.getDefaultL16Disabled ( )
static

Gets whether the L16 codec should be disabled by default.

◆ getG722Disabled()

boolean fm.liveswitch.RtcAudioTrackConfig.getG722Disabled ( )

Gets whether the G.722 codec should be disabled.

Defaults to

false

.

◆ getL16Disabled()

boolean fm.liveswitch.RtcAudioTrackConfig.getL16Disabled ( )

Gets whether the L16 codec should be disabled.

Defaults to

false

.

◆ getOpusDisabled()

boolean fm.liveswitch.RtcAudioTrackConfig.getOpusDisabled ( )

Gets whether the Opus codec should be disabled.

Defaults to

false

.

◆ getPcmaDisabled()

boolean fm.liveswitch.RtcAudioTrackConfig.getPcmaDisabled ( )

Gets whether the PCMA codec should be disabled.

Defaults to

false

.

◆ getPcmuDisabled()

boolean fm.liveswitch.RtcAudioTrackConfig.getPcmuDisabled ( )

Gets whether the PCMU codec should be disabled.

Defaults to

false

.

◆ setG722Disabled()

void fm.liveswitch.RtcAudioTrackConfig.setG722Disabled ( boolean  value)

Sets whether the G.722 codec should be disabled.

Defaults to

false

.

◆ setL16Disabled()

void fm.liveswitch.RtcAudioTrackConfig.setL16Disabled ( boolean  value)

Sets whether the L16 codec should be disabled.

Defaults to

false

.

◆ setOpusDisabled()

void fm.liveswitch.RtcAudioTrackConfig.setOpusDisabled ( boolean  value)

Sets whether the Opus codec should be disabled.

Defaults to

false

.

◆ setPcmaDisabled()

void fm.liveswitch.RtcAudioTrackConfig.setPcmaDisabled ( boolean  value)

Sets whether the PCMA codec should be disabled.

Defaults to

false

.

◆ setPcmuDisabled()

void fm.liveswitch.RtcAudioTrackConfig.setPcmuDisabled ( boolean  value)

Sets whether the PCMU codec should be disabled.

Defaults to

false

.