Module webrtc.java

Class AudioOptions

java.lang.Object
dev.onvoid.webrtc.media.audio.AudioOptions

public class AudioOptions extends Object
Audio options to control AudioTracks.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Automatic gain control is often desirable on the input signal recorded by the microphone.
    boolean
    When one or more audio streams is being played in the processes of various microphones, it is often desirable to attempt to remove the sound being played from the input signals recorded by the microphones.
    boolean
    Audio processing to remove background noise of lower frequencies.
    boolean
    Noise suppression is often desirable on the input signal recorded by the microphone.
    boolean
    Audio processing to detect residual echoes.
    boolean
    Audio processing to detect typing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • echoCancellation

      public boolean echoCancellation
      When one or more audio streams is being played in the processes of various microphones, it is often desirable to attempt to remove the sound being played from the input signals recorded by the microphones. This is referred to as echo cancellation. There are cases where it is not needed and it is desirable to turn it off so that no audio artifacts are introduced. This allows applications to control this behavior.
    • autoGainControl

      public boolean autoGainControl
      Automatic gain control is often desirable on the input signal recorded by the microphone. There are cases where it is not needed and it is desirable to turn it off so that the audio is not altered. This allows applications to control this behavior.
    • noiseSuppression

      public boolean noiseSuppression
      Noise suppression is often desirable on the input signal recorded by the microphone. There are cases where it is not needed and it is desirable to turn it off so that the audio is not altered. This allows applications to control this behavior.
    • highpassFilter

      public boolean highpassFilter
      Audio processing to remove background noise of lower frequencies.
    • typingDetection

      public boolean typingDetection
      Audio processing to detect typing.
    • residualEchoDetector

      public boolean residualEchoDetector
      Audio processing to detect residual echoes.
  • Constructor Details

    • AudioOptions

      public AudioOptions()