4 ms·
You can also use WebTransport with streams for tcp and datagramms for udp https://developer.mozilla.org/en-US/docs/Web/API/WebTransport https://developer.mozil
by bpfrh 2y ago
You can also use WebTransport with streams for tcp and datagramms for udp
https://developer.mozilla.org/en-US/docs/Web/API/WebTransport https://developer.mozilla.org/en-US/docs/Web/API/WebTranspor...
- IshKebab 2y agoNot peer to peer though presumably?
- modeless 2y agoYes and not in Safari yet either. Someday I hope that all parts of WebRTC can be replaced with smaller and better APIs like this. But for now we're stuck with WebRTC.
- jauntywundrkind 2y agoThere was some traction & interest in https://github.com/w3c/p2p-webtransport https://github.com/w3c/p2p-webtransport but haven't seen any activity in a while now. I'm pretty cocksure certain a whole industry of p2p enthusiasts would spring up building cool new protocols and systems on the web in rapid time if this ever showed up.
- arthurcolle 2y agoPerfect timing with realtime AGI happening. Need lots of focus on realtime streaming protocols
- bedatadriven 2y agoThis a very early draft I'm following: https://wicg.github.io/local-peer-to-peer/ https://wicg.github.io/local-peer-to-peer/