← Back to release summary

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

Ecosystem

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

View on chromestatus.com