Audio Options
class AudioOptions(val audioOutputType: AudioType? = null, val audioHandler: AudioHandler? = null, val audioDeviceModule: AudioDeviceModule? = null, val javaAudioDeviceModuleCustomizer: (builder: JavaAudioDeviceModule.Builder) -> Unit? = null, val disableCommunicationModeWorkaround: Boolean = false, val audioProcessorOptions: AudioProcessorOptions? = null)
Options for customizing the audio settings of LiveKit.
Constructors
Link copied to clipboard
constructor(audioOutputType: AudioType? = null, audioHandler: AudioHandler? = null, audioDeviceModule: AudioDeviceModule? = null, javaAudioDeviceModuleCustomizer: (builder: JavaAudioDeviceModule.Builder) -> Unit? = null, disableCommunicationModeWorkaround: Boolean = false, audioProcessorOptions: AudioProcessorOptions? = null)
Properties
Link copied to clipboard
Override the default AudioDeviceModule.
Link copied to clipboard
Override the default AudioHandler.
Link copied to clipboard
Override the default output AudioType.
Link copied to clipboard
Options for processing the mic and incoming audio.
Link copied to clipboard
On Android 11+, the audio mode will reset itself from AudioManager.MODE_IN_COMMUNICATION if there is no audio playback or capture for 6 seconds (for example when joining a room with no speakers and the local mic is muted.) This mode reset will cause unexpected behavior when trying to change the volume, causing it to not properly change the volume.
Link copied to clipboard
Called after default setup to allow for customizations on the JavaAudioDeviceModule.