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

Add WPT to determine whether reception is interleaved #417

Open
jan-ivar opened this issue Aug 30, 2022 · 1 comment
Open

Add WPT to determine whether reception is interleaved #417

jan-ivar opened this issue Aug 30, 2022 · 1 comment
Assignees

Comments

@jan-ivar
Copy link
Member

Write WPT write a test that sends a little bit of data on stream A followed by a lot of data on stream B, then see if we can read out the second stream before the first is done.

@aboba
Copy link
Collaborator

aboba commented Oct 30, 2022

If writer.write() is used instead of await writer.write() then reception appears to be interleaved. When I made this substitution in the WebCodecs-echo sample, the glass-glass latency went down and reordering was observed on the receiver side (requiring a re-ordering buffer).

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

No branches or pull requests

4 participants