News for hackers. Stuff that matters.
Re:Using WebTransport by mwcampbell on Friday September 16, 2022 @03:37PM (#32870988)
> WebRTC data channels support peer-to-peer communications, but WebTransport only supports client-server connection. If you have multiple clients that need to talk directly to each other, then WebTransport isn't a viable alternative.

That's disappointing. I have a peer-to-peer application where I'd like to be able to use QUIC streams rather than the current SCTP-based WebRTC data channels. In particular, it seems to me that QUIC streams would be better for transferring files peer-to-peer in a way that takes full advantage of available bandwidth without causing congestion or doing excess buffering on the sending end.

Re:Using WebTransport by jeffparsons on Friday September 16, 2022 @06:57PM (#32873095)
As a user of QUIC, I've found it to be pretty much everything I've been wanting for the last 20 years. Hopefully WebTransport can grow the features required (e.g. by stealing them from WebRTC) to make real P2P WebTransport possible.

Edit: if I'm reading this correctly, then maybe there are already efforts underway to make this possible: https://github.com/w3c/p2p-webtransport

Re:Using WebTransport by CMCDragonkai on Saturday September 17, 2022 @01:34AM (#32875048)
Do you see any resources on hole punching with QUIC, and NAT traversal? So far I can't even easily find a reference in existing QUIC libraries if it is possible to just send single QUIC packets to perform only hole punching while having separate streams to be established when the punch packets pass through.
Re:Using WebTransport by pthatcherg on Saturday September 17, 2022 @03:49AM (#32875589)
You can use ICE and QUIC together. That's what the original version of WebTransport did (back when it was called QuicTransport).
Re:Using WebTransport by felipellrocha on Friday September 16, 2022 @05:26PM (#32872191)
If you are doing p2p, though, webrtc makes a lot of sense since the apis there are designed to punch through a nat
Re:Using WebTransport by pthatcherg on Saturday September 17, 2022 @03:47AM (#32875584)
There's nothing stopping QUIC from being p2p. In fact, the original version of WebTransport was called QuicTransport and was p2p, but there was more interest in client/server use cases, so we switched focus to that.

(I'm one of the original authors of the WebTransort spec and when I worked at Google years ago, some excellent engineers on my team shipped the original QuicTransport behind a field trial).