h...@chromium.org, agp...@chromium.org, top...@chromium.org, gui...@chromium.org
Add features to the WebRTC Encoded Transform API that allow manipulating audio and video frame metadata Background: A number of use cases have been identified that require the manipulation of WebRTC encoded media without decoding them first. These include: - Sending data that has been encoded previously - Sending data that has been received in encoded form - Receiving data in encoded form and forwarding it.
In particular, we want to support the use case of glitch-free forwarding of media coming from multiple redundant peer connections that provide the same media payloads but with different metadata.
https://github.com/w3c/webrtc-nv-use-cases/issues/77
https://github.com/w3c/webrtc-nv-use-cases/issues/122
The original full spec was reviewed by TAG here: https://github.com/w3ctag/design-reviews/issues/531
No TAG review has been requested for this incremental change, since it is a small addition and its API surface might change as a result of feedback from the origin trial and ongoing discussions in the WebRTC working group.
Pending
RTCEncodedFrameSetMetadata
V8RTCEncodedVideoFrame_SetMetadata_Method
Interoperability risk: There is the risk that other browsers will not implement this feature. We try to mitigate this risk by providing a detailed specification of the new behavior and discussing it in the WebRTC working group, so that it becomes part of the encoded transform spec, which currently has consensus. Compatibility test: This is a new feature intended to support a new use case. It introduces no breaking changes, so we do not expect any compatibility issues.
Gecko: No signal
WebKit: No signal
Web developers: No signals.
Other signals:
This feature is an extension to WebRTC Encoded Transform, which itself is an extension to WebRTC/RTCPeerConnection.
N/A
No new security risks identified.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No
Our goal is to validate that the proposed API can support the intended use case. More specifically, we want to confirm using setMetadata() can help achieve glitch-free forwarding of media using redundant input peer connections in real-world settings.
None
N/A
Yes
No. Currently tested using unit and web tests. WPTs will be added once the final API shape is confirmed.
N/A
N/A
Currently guarded by a Blink RuntimeEnabledFeature: RTCEncodedFrameSetMetadata.
No
https://chromestatus.com/feature/5116073827893248
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/x2ZACgXrqp0
LGTM to experiment from 118 to 123 inclusive.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BBuZxazRts59rCgrOHm2yDKwpGkXqsd-_5Wkurxid34FknDiQ%40mail.gmail.com.