logoalt Hacker News

awkiitoday at 12:56 AM4 repliesview on HN

This poor soul. There are few protocols I hate implementing more than WebRTC. Getting a simple client going means you need to quickly acclimate to SDP, TURN/STUN, ice-candidates, offers, peer-to-peer protocols, and the complex handshake that is implemented from scratch each time. I can't imagine re-writing the whole trenchcoat of protocols and unintended "best-practices".


Replies

jgalt212today at 1:01 AM

Have you attempted to use the Microsoft Graph API to interact with email?

show 2 replies
moffkalasttoday at 8:17 AM

The first time I was able to get a working webrtc datachannel setup with aiortc was when LLMs became a thing, before that it it was pretty much impossible full stop. Nobody knows what or how, there are no examples. It's a horrible protocol that just needs to die.

moomoo11today at 1:29 AM

i like livekit for this reason and their ceo is cool

Sean-Dertoday at 1:09 AM

What platforms were you targeting that you found it painful! Sorry it was frustrating.

I hope it’s getting better with education/more libraries. It’s also amazing how easy Codex etc… can burn through it now