w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
953 stars 135 forks source link

encodedChunk Metadata Registry #647

Closed aboba closed 2 months ago

aboba commented 1 year ago

We now have a proposal to add some timing information to the RTCEncodedVideoFrameMetadata: https://github.com/w3c/webrtc-encoded-transform/pull/173

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

aboba commented 2 months ago

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.