OpusEncoderConfig Class

The options of the Opus encoder (https://w3c.github.io/webcodecs/opus_codec_registration.html#dictdef-opusencoderconfig).

public sealed class OpusEncoderConfig

Constructors

NameDescription
OpusEncoderConfig()

OpusEncoderConfig()

CodecConfigs.cs
public OpusEncoderConfig()

No documentation is available.

Properties

NameDescription
ApplicationGets the intended application.
ComplexityGets the computational complexity (0 to 10), or null.
FormatGets the bitstream format.
FrameDurationGets the duration of a frame in microseconds.
PacketLossPercentageGets the expected packet loss in percent.
SignalGets the type of signal.
UseDtxGets whether the discontinuous transmission is used.
UseInBandFecGets whether the in-band forward error correction is used.

Application

CodecConfigs.cs

Gets the intended application.

public OpusApplication Application { get; init; }

Complexity

CodecConfigs.cs

Gets the computational complexity (0 to 10), or null.

public uint? Complexity { get; init; }

FrameDuration

CodecConfigs.cs

Gets the duration of a frame in microseconds.

public ulong FrameDuration { get; init; }

PacketLossPercentage

CodecConfigs.cs

Gets the expected packet loss in percent.

public uint PacketLossPercentage { get; init; }

Gets the type of signal.

public OpusSignal Signal { get; init; }

Gets whether the discontinuous transmission is used.

public bool UseDtx { get; init; }

UseInBandFec

CodecConfigs.cs

Gets whether the in-band forward error correction is used.

public bool UseInBandFec { get; init; }