Skip to content

Priortize turns ice_servers#39

Closed
sebvanleuven wants to merge 2 commits intomainfrom
chore/webrtc_ICE_connection_setup
Closed

Priortize turns ice_servers#39
sebvanleuven wants to merge 2 commits intomainfrom
chore/webrtc_ICE_connection_setup

Conversation

@sebvanleuven
Copy link
Contributor

@sebvanleuven sebvanleuven commented Feb 19, 2026

aioirtc only uses the first ICE serverin a list. This might be a problem when default TURN over UDP doesn't work. TURN over TLS has the highest likelihood for success.
As the PythonSDK targets backend use cases, the use of TCP transport is not a major concern.


Summary by cubic

Prioritizes TURN over TLS in ICE server URLs so aiortc picks the most reliable option first, improving WebRTC connection success when UDP TURN fails.

  • Bug Fixes

    • Reorders each ICE server’s urls to put “turns:” entries first; accepts string or list and normalizes to a list.
    • Leaves other client config fields unchanged.
  • Dependencies

    • Bumped anam version to 0.3.0 in uv.lock.

Written for commit 6f159cf. Summary will update on new commits.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

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.

1 participant