Media over QUIC

Issues

Yeah, so there’s a lot of work to do.

Because we’ve broken out of the WebRTC jail, we need to implement a lot of things that are taken for granted. If you want full control over the media stack so you can build cool shit, then welcome, you’re in the right place. But if you just want a Google Meet clone and want to do minimal work, then check out Pion.

This page is a summary of the major issues, updated periodically. If you want to help, jump in Discord!

What works

Before we give into despair, here’s what does work:

Networking

name description
Congestion Control The default congestion controller in QUIC (Reno/CUBIC) suffers from bufferbloat. The WebTransport API exposes congestion control hints but I’m not sure if this has been implemented in browsers yet. It’s also not clear if BBR is sufficient for real-time media and we might want to invest in porting GCC (Google Congestion Control) to QUIC.
Mass Deployment The relays form a very simple mesh network, where each relay talks to every other relay. This won’t scale past a few nodes; we need some sort of tree.

Media

name description
Adaptive Bitrate Currently, the bitrate for a broadcast is fixed at creation time. We need to implement back-pressure so the broadcaster lowers its bitrate during congestion. In addition, we could use simulcast to create multiple tracks allowing the viewer to choose what to receive.
Viewer Feedback Currently, viewers don’t provide any feedback to the broadcaster(s). This would be very useful for small broadcasts for stuff like negotiating codecs, bitrates, etc.

Miscellaneous

name description
Logging There’s no logging, metrics, or even health checks. I don’t even know if the site is up.

And of course, there’s a million other things. Hit me up on Discord if you want to volunteer your time or monies to help make these a reality.