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

Process routes before peers #2105

Merged
merged 15 commits into from
Jun 19, 2024
Merged

Process routes before peers #2105

merged 15 commits into from
Jun 19, 2024

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented Jun 7, 2024

Describe your changes

We need to discard candidates thare are routed through any of our received routes (minus default route).
The existing approach to discard candidates when received in onCandidate doesn't catch prflx ones.
Hence we block candidates directly in the muxerconn's WriteTo method.

Additonally this PR ensures we have routes present before deciding to discard ICE candidates that might be routed to other peers.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@lixmal lixmal force-pushed the fix/handle-routes-before-peers branch from 42e9061 to 9b30776 Compare June 10, 2024 17:06
@lixmal lixmal force-pushed the fix/ice-candidate-via-route branch 4 times, most recently from ed1533f to 562e398 Compare June 14, 2024 09:57
@lixmal lixmal force-pushed the fix/handle-routes-before-peers branch from 29918dd to 941681e Compare June 14, 2024 10:13
Base automatically changed from fix/ice-candidate-via-route to main June 17, 2024 07:47
@lixmal lixmal force-pushed the fix/handle-routes-before-peers branch from c9e0d6a to fd41cb9 Compare June 17, 2024 13:04
@lixmal lixmal force-pushed the fix/handle-routes-before-peers branch from fd41cb9 to 4a4677c Compare June 17, 2024 13:22
Copy link

@lixmal lixmal merged commit 61bc092 into main Jun 19, 2024
22 checks passed
@lixmal lixmal deleted the fix/handle-routes-before-peers branch June 19, 2024 10:12
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

Successfully merging this pull request may close these issues.

2 participants