w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.

Home Page:https://w3c.github.io/webcodecs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

encodedChunk Metadata Registry

aboba opened this issue · comments

We now have a proposal to add some timing information to the RTCEncodedVideoFrameMetadata: w3c/webrtc-encoded-transform#173

Would it make sense to define a metadata registry for encodedChunk and add similar info there?

To date, no attributes have been approved in the VideoFrame registry, and it is not clear that the administrative burden of a VideoFrame or encodedChunk registry is worth the benefit.

As long as WebCodecs behavior is not changed by addition of encodedChunk (or VideoFrame) metadata, the benefit of a registry comes from the avoidance of conflicts. However, this goal can be accomplished without a registry, through the issuance of unique identifiers.