Skip to content

Commit

Permalink
Merge pull request #220 from youennf/throw-if-both-videoKeyFrameInter…
Browse files Browse the repository at this point in the history
…valDuration-and-videoKeyFrameIntervalCount

Throw NotSupportedError if both videoKeyFrameIntervalDuration and videoKeyFrameIntervalCount are set
  • Loading branch information
alvestrand authored May 11, 2023
2 parents 4b57924 + cfe2f96 commit 48e2abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaRecorder.bs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ interface MediaRecorder : EventTarget {
frames passed since the last key frame.</li>

<li>If both |videoKeyFrameIntervalDuration| and |videoKeyFrameIntervalCount| are not <code>null</code>,
the UA may ignore either.</li>
then throw a {{NotSupportedError}} {{DOMException}} and abort these steps.</li>

<li>If both |videoKeyFrameIntervalDuration| and |videoKeyFrameIntervalCount| are <code>null</code>,
the User Agent may emit key frames as it deems fit.</li>
Expand Down

0 comments on commit 48e2abf

Please sign in to comment.