webcodecs-opus-codec-registration.idl (824B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Opus WebCodecs Registration (https://w3c.github.io/webcodecs/opus_codec_registration.html) 5 6 partial dictionary AudioEncoderConfig { 7 OpusEncoderConfig opus; 8 }; 9 10 dictionary OpusEncoderConfig { 11 OpusBitstreamFormat format = "opus"; 12 OpusSignal signal = "auto"; 13 OpusApplication application = "audio"; 14 [EnforceRange] unsigned long long frameDuration = 20000; 15 [EnforceRange] unsigned long complexity; 16 [EnforceRange] unsigned long packetlossperc = 0; 17 boolean useinbandfec = false; 18 boolean usedtx = false; 19 }; 20 21 enum OpusBitstreamFormat { 22 "opus", 23 "ogg", 24 }; 25 26 enum OpusSignal { 27 "auto", 28 "music", 29 "voice", 30 }; 31 32 enum OpusApplication { 33 "voip", 34 "audio", 35 "lowdelay", 36 };