Allow WebRTC Encoded Transform API to manipulate audio and video frame metadata. Some WebRTC Encoded Transform use cases involve manipulation of not only the payload of encoded video / audio frames but also its metadata. Some examples: * Altering the timestamp of a frame to introduce a delay, * Changing the mime type of the frame if the transform changes the type of the payload. * Forwarding of media to a new peer connection set up to use different metadata values Use cases: https://w3c.github.io/webrtc-nv-use-cases/#live-encoded-media https://w3c.github.io/webrtc-nv-use-cases/#stored-encoded-media https://w3c.github.io/webrtc-nv-use-cases/#auction Issue link: https://github.com/w3c/webrtc-nv-use-cases/issues/77
This feature is needed to support use cases that involve manipulation of encoded video / audio frames beyond inline processing of its payload. We want to support the creation of new frames with custom metadata. Some example use cases: * Altering the timestamp of a frame to introduce a delay, * Forwarding of media to a new peer connection set up to use different metadata values * Changing the mime type of the frame if the transform changes the type of the payload. Use cases: https://w3c.github.io/webrtc-nv-use-cases/#live-encoded-media https://w3c.github.io/webrtc-nv-use-cases/#stored-encoded-media https://w3c.github.io/webrtc-nv-use-cases/#auction
Explainers: https://github.com/guidou/webrtc-extensions/blob/main/constructor-explainer.md