Repository navigation
Trickle offers, publicAddress() STUN lookup, drop stale Limits - #14
Merged
Merged
Conversation
…op stale Limits
- An offer sent before ICE gathering finishes already works (ICE-lite learns the
client's address from its checks). Test with an offer that has no candidates.
- Server.publicAddress(stunServer, timeoutMs): STUN Binding from the shared UDP
port, resolves with the NAT's mapped { ip, port } for accept().
- README/docs: remove the Limits (v1) lines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a=candidatestripped. Docs and JSDoc no longer say "non-trickle".server.publicAddress(stunServer, timeoutMs = 3000)sends a STUN Binding request from the shared UDP port and resolves with{ ip, port }, the NAT's mapping, foraccept(offer, ip, port). It retransmits at 250 ms and doubles, then rejects on timeout. The loop matches responses by txid and source. New test against a fake STUN server that drops the first request.Not done: immediate SACK on the server (for browser→server). I benched it against Chromium at 5% and 10% loss, 100 ms RTT, 2 seeds, and it made no difference. The server already SACKs at once when it sees a gap.
No version bump.