Package com.twilio.video
Class OpusCodec
java.lang.Object
com.twilio.video.AudioCodec
com.twilio.video.OpusCodec
Lossy audio coding format.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.twilio.video.AudioCodec
getName, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
OpusCodec
public OpusCodec() -
OpusCodec
public OpusCodec(boolean useDtx) A constructor to initialize the OpusCodec with non-default attributes.- Parameters:
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.
-
-
Method Details
-
isDtxEnabled
public boolean isDtxEnabled()Reports whether DTX is enabled or not.- Returns:
- true if DTX is enabled.
-