RtpTransport WebRTC API
- Category
- WebRTC
- Type
- New or changed feature
- Status
- No active development (Chrome No active development)
- Intent stage
- None
Summary
An API allowing web apps to directly interact with the RTP packets sent and received by WebRTC PeerConnections, allowing customised encoders, packetisers and congestion control mechanisms.
Motivation
WebRTC PeerConnections are a blackbox, provided with raw media and externally configured to encode & send / receive & decode audio and video tracks, applying built-in generic congestion control algorithms and RTP serialization. There's significant interest to be able to integrate external components which can be tuned to the specific usecase of an app and developed independently: - using alternative bandwidth estimation algorithms run in JS or WASM - encoding media using new technologies such as WebCodecs or encoders compiled to WASM etc These are explored in the explainers: "Use Case 1" regarding external encoders & packetizers, "Use Case 2" regarding external congestion control / bandwidth estimation.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=rtptransport-webrtc-api
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+RtpTransport%20WebRTC%20API
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=RtpTransport%20WebRTC%20API
- Baseline status: https://webstatus.dev/?q=RtpTransport%20WebRTC%20API
Explainers: https://github.com/w3c/webrtc-rtptransport/blob/main/explainer-use-case-1.md https://github.com/w3c/webrtc-rtptransport/blob/main/explainer-use-case-2.md