Class LegacyAudioDeviceModule

java.lang.Object
tvi.webrtc.audio.LegacyAudioDeviceModule
All Implemented Interfaces:
AudioDeviceModule

@Deprecated public class LegacyAudioDeviceModule extends Object implements AudioDeviceModule
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.
  • Constructor Details

    • LegacyAudioDeviceModule

      public LegacyAudioDeviceModule()
      Deprecated.
  • Method Details

    • getNativeAudioDeviceModulePointer

      public long getNativeAudioDeviceModulePointer()
      Deprecated.
      Description copied from interface: AudioDeviceModule
      Returns a C++ pointer to a webrtc::AudioDeviceModule. Caller does _not_ take ownership and lifetime is handled through the release() call.
      Specified by:
      getNativeAudioDeviceModulePointer in interface AudioDeviceModule
    • release

      public void release()
      Deprecated.
      Description copied from interface: AudioDeviceModule
      Release resources for this AudioDeviceModule, including native resources. The object should not be used after this call.
      Specified by:
      release in interface AudioDeviceModule
    • setSpeakerMute

      public void setSpeakerMute(boolean mute)
      Deprecated.
      Description copied from interface: AudioDeviceModule
      Control muting/unmuting the speaker.
      Specified by:
      setSpeakerMute in interface AudioDeviceModule
    • setMicrophoneMute

      public void setMicrophoneMute(boolean mute)
      Deprecated.
      Description copied from interface: AudioDeviceModule
      Control muting/unmuting the microphone.
      Specified by:
      setMicrophoneMute in interface AudioDeviceModule