OpusEncoderConfig Class
The options of the Opus encoder (https://w3c.github.io/webcodecs/opus_codec_registration.html#dictdef-opusencoderconfig).
public sealed class OpusEncoderConfigConstructors
| Name | Description |
|---|---|
| OpusEncoderConfig() |
OpusEncoderConfig()
CodecConfigs.cspublic OpusEncoderConfig()No documentation is available.
Properties
| Name | Description |
|---|---|
| Application | Gets the intended application. |
| Complexity | Gets the computational complexity (0 to 10), or null. |
| Format | Gets the bitstream format. |
| FrameDuration | Gets the duration of a frame in microseconds. |
| PacketLossPercentage | Gets the expected packet loss in percent. |
| Signal | Gets the type of signal. |
| UseDtx | Gets whether the discontinuous transmission is used. |
| UseInBandFec | Gets whether the in-band forward error correction is used. |
Application
CodecConfigs.csGets the intended application.
public OpusApplication Application { get; init; }Complexity
CodecConfigs.csGets the computational complexity (0 to 10), or null.
public uint? Complexity { get; init; }Format
CodecConfigs.csGets the bitstream format.
public OpusBitstreamFormat Format { get; init; }FrameDuration
CodecConfigs.csGets the duration of a frame in microseconds.
public ulong FrameDuration { get; init; }PacketLossPercentage
CodecConfigs.csGets the expected packet loss in percent.
public uint PacketLossPercentage { get; init; }Signal
CodecConfigs.csGets the type of signal.
public OpusSignal Signal { get; init; }UseDtx
CodecConfigs.csGets whether the discontinuous transmission is used.
public bool UseDtx { get; init; }UseInBandFec
CodecConfigs.csGets whether the in-band forward error correction is used.
public bool UseInBandFec { get; init; }