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

WHATWG streams for QUIC #800

Closed
lgrahl opened this issue Dec 27, 2017 · 2 comments
Closed

WHATWG streams for QUIC #800

lgrahl opened this issue Dec 27, 2017 · 2 comments

Comments

@lgrahl
Copy link
Contributor

lgrahl commented Dec 27, 2017

I've experimented with WHATWG streams for a few weeks. In my little demo it works pretty good now (apart from a few nits here and there that should be resolvable) and makes a much more composable API. Once more people start utilising WHATWG streams, piping from one stream to another or applying transformations can be made without much of a hassle. It also brings the advantage that data can be fed from the user application into the QUIC stream buffer directly without requiring to copy it.

I had to pause working on this as I need to work on my master thesis now. However, I don't want to hold back this idea any further and show you my current results. In case anyone else wants to jump in, feel free! Otherwise, I'll hopefully come back to this once I have some spare time.

Feedback welcome!

Spec

I've updated the spec but it's still work in progress. While methods and attributes of RTCQuicStream have been updated for WHATWG streams, general description and specification of the construction of a readable and a writable stream instance is still missing. However, you can have a look at the code if you want to see how I've written it for the demo.

The spec changes can be found here and on GitHub.

Demo

The demo can be started here and the code can be found here.

@aboba
Copy link
Contributor

aboba commented Dec 27, 2017

@lgrahl The WEBRTC WG is going to be standardizing the QUIC API. Can you file this and other issues here? https://github.com/w3c/webrtc-quic/issues

@lgrahl
Copy link
Contributor Author

lgrahl commented Dec 28, 2017

@lgrahl lgrahl closed this as completed Dec 28, 2017
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

2 participants