-
Notifications
You must be signed in to change notification settings - Fork 74
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
Experiment with a WebRTC client #1938
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approving tomaka's pull requests. This auto-approval will be removed once more maintainers are active.
twiggy diff reportDifference in .wasm size before and after this pull request.
|
The code in this PR causes Chrome to send UDP packets to the target IP address. Here's what the UDP packets look like (sampled):
Unfortunately, this isn't a valid DTLS record, as bytes 2 and 3 of the packet are supposed to be a version number equal to |
This is because it's STUN traffic. Need to understand ICE better. |
RFC 8445, section 7:
|
Closing in favor of #2135. |
cc #1712
Opening this PR as a draft, mostly to keep the overview that I wrote down.
The code in this PR makes the browser open a TCP connection to 127.0.0.1:41000.
I haven't experimented with a DTLS+SCTP server yet.