see also https://github.com/w3c/webrtc-encoded-transform/pull/116 https://w3c.github.io/webrtc-encoded-transform/#RTCEncodedVideoFrame-interface and https://w3c.github.io/webrtc-encoded-transform/#RTCEncodedAudioFrame-interface both define a timestamp as ``` readonly attribute unsigned long timestamp; ``` which by definition is the RTP timestamp (and this was changed to align with implementations). This is *different* from what we have in [Webcodecs](https://w3c.github.io/webcodecs/#encodedaudiochunk-interface) ``` readonly attribute long long timestamp; // microseconds ``` This is hard to fix so we should do this as follows: * add rtpTimestamp to metadata * deprecate the existing timestamp on Encoded*Frame * remove from implementations for 1+ release * re-add with correct type
see also #116
https://w3c.github.io/webrtc-encoded-transform/#RTCEncodedVideoFrame-interface
and
https://w3c.github.io/webrtc-encoded-transform/#RTCEncodedAudioFrame-interface
both define a timestamp as
which by definition is the RTP timestamp (and this was changed to align with implementations).
This is different from what we have in Webcodecs
This is hard to fix so we should do this as follows: