Package com.twilio.video
Class OpusCodec
- java.lang.Object
-
- com.twilio.video.AudioCodec
-
- com.twilio.video.OpusCodec
-
public class OpusCodec extends AudioCodec
Lossy audio coding format.- See Also:
- Opus
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDtxEnabled()
Reports whether DTX is enabled or not.-
Methods inherited from class com.twilio.video.AudioCodec
getName, toString
-
-
-
-
Field Detail
-
NAME
@NonNull public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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.
-
-