Files
tubestation/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl
github-actions[bot] 47ae28d16c Bug 1887323 [wpt PR 45297] - Sync interfaces/ with @webref/idl 3.45.3, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.45.3 (#45297)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: ac8b032c18666de37a8035fc219403d1811af1eb
wpt-pr: 45297
2024-04-10 09:24:50 +00:00

37 lines
824 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Opus WebCodecs Registration (https://w3c.github.io/webcodecs/opus_codec_registration.html)
partial dictionary AudioEncoderConfig {
OpusEncoderConfig opus;
};
dictionary OpusEncoderConfig {
OpusBitstreamFormat format = "opus";
OpusSignal signal = "auto";
OpusApplication application = "audio";
[EnforceRange] unsigned long long frameDuration = 20000;
[EnforceRange] unsigned long complexity;
[EnforceRange] unsigned long packetlossperc = 0;
boolean useinbandfec = false;
boolean usedtx = false;
};
enum OpusBitstreamFormat {
"opus",
"ogg",
};
enum OpusSignal {
"auto",
"music",
"voice",
};
enum OpusApplication {
"voip",
"audio",
"lowdelay",
};