Skip to content
Type

AudioEncodingAdditionalOptions

Additional options that control audio encoding.

ts
type AudioEncodingAdditionalOptions = {
	bitrateMode?: 'constant' | 'variable';
	fullCodecString?: string;
};

Used by

Properties

bitrateMode

ts
bitrateMode?: 'constant' | 'variable';

Configures the bitrate mode.

fullCodecString

ts
fullCodecString?: string;

The full codec string as specified in the WebCodecs Codec Registry. This string must match the codec specified in codec. When not set, a fitting codec string will be constructed automatically by the library.

Released under the Mozilla Public License 2.0.