Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataChannel vs WebTransport #29

Open
backkem opened this issue Dec 22, 2023 · 2 comments
Open

DataChannel vs WebTransport #29

backkem opened this issue Dec 22, 2023 · 2 comments

Comments

@backkem
Copy link
Collaborator

backkem commented Dec 22, 2023

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:

  • If we want to keep both options. While they both have precedent (WebRTC & WebTransport) having both likely has a higher cost.
  • If keeping both: do we want to put forward one over the other in the spec?
  • If keeping one: It may be possible to polyfill the DataChannel API over the WebTransport one. Maybe it's also possible to allow the option to choose between a multiplexed (over OSP) or dedicated (new QUIC conn) WebTransport.
@backkem
Copy link
Collaborator Author

backkem commented Dec 29, 2023

Muxing the QuicTransport over OSP seems possible: implementation experiment.

@backkem
Copy link
Collaborator Author

backkem commented Jan 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant