Skip to content

Commit

Permalink
Throw NotSupportedError if both videoKeyFrameIntervalDuration and vid…
Browse files Browse the repository at this point in the history
…eoKeyFrameIntervalCount are set
  • Loading branch information
youennf committed May 5, 2023
1 parent 4b57924 commit cfe2f96
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 cfe2f96

Please sign in to comment.