Skip to content

[client] Fix TURN-Relay switch #3456

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
merged 2 commits into from
Mar 7, 2025
Merged

[client] Fix TURN-Relay switch #3456

merged 2 commits into from
Mar 7, 2025

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Mar 6, 2025

Describe your changes

  • When a peer is connected with TURN and a Relay connection is established, do not force switching to Relay. Keep using TURN until disconnection.
  • In the proxy preparation phase, the Bind Proxy does not set the remote conn as a fake address for Bind. When running the Work() function, the proper proxy instance updates the conn inside the Bind.

Note

This change breaks the [client] Fix/pkg loss #3338 PR.

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

Copy link

sonarqubecloud bot commented Mar 6, 2025

@pappz pappz merged commit 4b76d93 into main Mar 7, 2025
34 checks passed
@pappz pappz deleted the fix/conn-turn-relay-switch branch March 7, 2025 11:00
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