Open Bug 1849321 Opened 3 years ago Updated 2 years ago

Implement 2.2 of VideoDecoder#Decode: check if the data passed in is a key frame when it's required, and throw synchronously

Categories

(Core :: Audio/Video: Web Codecs, task)

task

Tracking

()

People

(Reporter: padenot, Unassigned)

References

(Blocks 1 open bug)

Details

https://w3c.github.io/webcodecs/#dom-videodecoder-decode, 2.2 reads:

Implementers SHOULD inspect the chunk’s [[internal data]] to verify that it is truly a key chunk. If a mismatch is detected, throw a DataError.

As a reminder, SHOULD means:

  1. SHOULD This word, or the adjective "RECOMMENDED", mean that there
    may exist valid reasons in particular circumstances to ignore a
    particular item, but the full implications must be understood and
    carefully weighed before choosing a different course.

The severity field is not set for this bug.
:padenot, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)
Blocks: webcodecs
Severity: -- → S3
Flags: needinfo?(padenot)
Type: defect → task
You need to log in before you can comment on or make changes to this bug.