[webrtc-encoded-transform] RTCEncodedAudioFrame and RTCEncodedVideoFrame constructors handling of changed metadata (#242)

youennf has just created a new issue for https://github.com/w3c/webrtc-encoded-transform:

== RTCEncodedAudioFrame and RTCEncodedVideoFrame constructors handling of changed metadata ==
Currently, the spec allows changing all metadata to any value.

Looking at what Chrome does, it validates a lot the metadata.
For instance, for audio frames, it seems that only RTP timestamp can be changed.

Either the constructor ignores other metadata or it throws.

I wonder whether:
1. We should not have dictionaries for modifiable audio and video metadata. For audio, only RTP timestamp would be listed in that dictionary.
2. We add validation rules as needed.

Please view or discuss this issue at https://github.com/w3c/webrtc-encoded-transform/issues/242 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 1 April 2025 14:20:16 UTC