LegacyAudioDeviceModule

Deprecated

This class represents the legacy AudioDeviceModule that is currently hardcoded into C++ WebRTC. It will return a null native AudioDeviceModule pointer, leading to an internal object being created inside WebRTC that is controlled by static calls to the classes under the voiceengine package. Please use the new JavaAudioDeviceModule instead of this class.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Returns a C++ pointer to a webrtc::AudioDeviceModule.
Link copied to clipboard
open fun release()
Release resources for this AudioDeviceModule, including native resources.
Link copied to clipboard
open fun setMicrophoneMute(mute: Boolean)
Control muting/unmuting the microphone.
Link copied to clipboard
open fun setSpeakerMute(mute: Boolean)
Control muting/unmuting the speaker.