Re:Direct Sockets API in Chrome 131
by bpfrh on Saturday November 02, 2024 @04:47AM
(#42024979)
You can also use WebTransport with streams for tcp and datagramms for udp
https://developer.mozilla.org/en-US/docs/Web/API/WebTranspor...
[ Parent
| on HN ]
Not peer to peer though presumably?
Yes 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.
Re:Direct Sockets API in Chrome 131
by jauntywundrkind on Saturday November 02, 2024 @06:04PM
(#42029529)
There was some traction & interest in 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.
Re:Direct Sockets API in Chrome 131
by arthurcolle on Tuesday November 05, 2024 @03:08AM
(#42049568)
Perfect timing with realtime AGI happening. Need lots of focus on realtime streaming protocols
Re:Direct Sockets API in Chrome 131
by bedatadriven on Monday November 04, 2024 @04:39PM
(#42046252)
This a very early draft I'm following: https://wicg.github.io/local-peer-to-peer/