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

[Cherrypick] Match libwebrtc protocol priority #680

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

MaximeBdrd
Copy link

@MaximeBdrd MaximeBdrd commented Apr 16, 2024

Cherrypick from master (since we will keep using v2 for some time)

Description

Match libwebrtc's TURN protocol priority (TCP vs UDP vs TLS)

Reference issue

Fixes reproducibility issues as seen in the field

Today, all relay candidates from Pion have the same priority.
This PR attempts to reproduce libwebrtc's behavior, where the
TURN servers candidates priority is based on the underlying
relay protocol. UDP are preferred over TCP, which are preferred
over the TLS options.
@MaximeBdrd MaximeBdrd changed the base branch from master to v2 April 16, 2024 18:50
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.

None yet

2 participants