WICG / local-peer-to-peer

↔️ Proposal for local communication between browsers without the aid of a server.
https://wicg.github.io/local-peer-to-peer/
Other
62 stars 6 forks source link

DataChannel vs WebTransport #29

Open backkem opened 6 months ago

backkem commented 6 months ago

We now have two APIs in the spec for transferring data: a DataChannel-based one (LP2PDataChannel) and a WebTransport-based one (LP2PQuicTransport). Both have advantages and disadvantages:

I wanted to open this issue to discuss:

backkem commented 6 months ago

Muxing the QuicTransport over OSP seems possible: implementation experiment.

backkem commented 5 months ago

We (@backkem, @wangw-1991 and @anssiko) had a short discussion on this which confirms the status-quo: the DataChannel API is more easy to grok; the WebTransport API is more modern & powerful.