Discussion about this post

User's avatar
kixelated's avatar

Hey Luke, check out moq.dev (and MoQ in general) if you're considering WebTransport. I totally agree with the issues around WebRTC.

I think WebSockets is actually a pretty good fit considering the current latency/cost of most AI models. You don't want to be too aggressive and drop the output, but that's ingrained into WebRTC. WebTransport won't be an improvement unless you're willing to situationally drop content so keep that in mind.

Expand full comment
Diarmuid Wrenne's avatar

This is a really good article. WebRTC is like magic for demos and small peer to peer communications but really struggles after say 8 inbound video feeds. It is not the tech that fails. It is that the quality of the meeting is dictated by how well or badly the worst computer in the meeting can decode those incoming streams. I saw that Youtube uses RTSP for the streamer but was at one point using WebRTC for the watchers. That works very well as the server IP is public so you don't get into NAT hell. We're developing AI voice agents and experimenting with surfacing them in browsers but there are lots of extra moving parts to go from PSTN based system to webrtc/browser/stun/coturn/sfu and that is just the delivery layer! Websockets is a much more straightforward approach . The irony with plain old voice is that the customer and client expect it to work 100% of the time. There is zero tolerance for jitter, delay, dropped calls etc. for what is "old" tech.

I look forward to seeing what happened!

"Next week: Why we threw all of this away."

Expand full comment
1 more comment...

No posts

Ready for more?