-
Notifications
You must be signed in to change notification settings - Fork 936
chore: Buffer remote candidates like local #77
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
Merged
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
310eb82
chore: Buffer remote candidates like local
kylecarbs b874a1e
Use local description instead
kylecarbs 411542a
Add logging for candidate flush
kylecarbs 90e00db
Fix race with atomic bool
kylecarbs 85e6def
Simplify locks
kylecarbs 7f26a99
Add mutex to flush
kylecarbs a56560b
Reset buffer
kylecarbs 58445d5
Remove leak dependency to limit confusion
kylecarbs 6a07a99
Fix ordering
kylecarbs 3272e13
Revert channel close
kylecarbs 877ae59
Flush candidates after remote session description is set
kylecarbs 1e6a923
Bump up count to ensure race is fixed
kylecarbs 0c02c78
Use custom ICE dependency
kylecarbs 0439e23
Fix data race
kylecarbs a8b5a07
Lower timeout to make for fast CI
kylecarbs d74f454
Add back mutex to prevent race
kylecarbs b613b6d
Improve debug logging
kylecarbs ba878ca
Lock on local description
kylecarbs ef41921
Flush local candidates uniquely
kylecarbs 3515fe7
Fix race
kylecarbs fbe847c
Move mutex to prevent candidate send race
kylecarbs 7321303
Move lock to handshake so no race can occur
kylecarbs bebc74d
Reduce timeout to improve test times
kylecarbs 48078d2
Move unlock to defer
kylecarbs 5021b95
Use flushed bool instead of checking remote
kylecarbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
I was surprised we didn't need this, but saw it was brought back! I thought there might be cases where ICE candidates could come in, in parallel to
negotiate
here.