Class OpusCodec


public class OpusCodec extends AudioCodec
Lossy audio coding format.
See Also:
  • Field Details

  • Constructor Details

    • OpusCodec

      public OpusCodec()
    • OpusCodec

      public OpusCodec(boolean useDtx)
      A constructor to initialize the OpusCodec with non-default attributes.
      useDtx - Discontinuous transmission reduces the bitrate for certain input signals, like periods of silence [RFC-7587 3.1.3]( The default is false. This setting applies to sender and receiver transmission.
  • Method Details

    • isDtxEnabled

      public boolean isDtxEnabled()
      Reports whether DTX is enabled or not.
      true if DTX is enabled.