public class OpusCodec extends AudioCodec
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
OpusCodec() |
OpusCodec(boolean useDtx)
A constructor to initialize the OpusCodec with non-default attributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDtxEnabled()
Reports whether DTX is enabled or not.
|
getName, toString
@NonNull public static final java.lang.String NAME
public OpusCodec()
public OpusCodec(boolean useDtx)
useDtx
- Discontinuous transmission reduces the bitrate for certain input signals, like
periods of silence [RFC-7587 3.1.3](https://tools.ietf.org/html/rfc7587#section-3.1.3).
The default is false. This setting applies to sender and receiver transmission.6.0.0