diff --git a/index.src.html b/index.src.html index 0a6ea365..2becfa8d 100644 --- a/index.src.html +++ b/index.src.html @@ -2073,7 +2073,10 @@ run these steps: 1. If {{AudioEncoderConfig/codec}} is not a valid codec string, return `false`. -2. Return `true`. +2. If the {{AudioEncoderConfig}} has a codec-specific extension and the corresponding + registration in the [[WEBCODECS-CODEC-REGISTRY]] defines steps to check whether the + the extension is a valid extension, return the result of running those steps. +3. Return `true`.
@@ -131,16 +131,26 @@+To check if an {{OpusEncoderConfig}} is valid, run these steps: +1. If {{OpusEncoderConfig/frameDuration}} is not a valid `ptime` value, + which is described in Section 6.1 of [[RFC7587]], return `false`. +2. Return `true`. +dictionary OpusEncoderConfig { OpusBitstreamFormat format = "opus"; + [EnforceRange] unsigned long frameDuration; };