Skip to content

Conversation

@stefankiesz
Copy link
Contributor

@stefankiesz stefankiesz commented Nov 13, 2025

Issue #, if available:
N/A

What was changed?

  • Added support for dual-stack KVS signaling channel endpoints.
  • Added support for dual-stack KVS STUN servers and IPv6 srflx candidates.
  • Added support for dual-stack KVS TURN servers and IPv6 relay candidates.
    • Dual-stack TURN servers
  • Added an environment variable to switch between dual-stack and legacy (default) modes.

Why was it changed?

  • To prepare for dual-stack KVS service support.

How was it changed?

  • ICE server structs now maintain two IP addresses per server: IPv4 and IPv6.
    • If the ICE server is not dual-stack, then only the IPv4 address will be set.
  • Dual-stack peers using dual-stack STUN servers gather both IPv4 and IPv6 srflx candidates, allowing for cross-network-type connections between dual-stack and IPv4-only peers.
  • 2 turn connections (IPv4 and IPv6) will be made if using dual-stack TURN service; the IPv6 allocation requests will include the REQUESTED-ADDRESS-FAMILY attribute.

What testing was done for the changes?

  • CI to pass.
  • Unit tests with dual-stack server resolution to be added once service support is enabled.

This PR includes changes from #2115.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stefankiesz stefankiesz changed the title Add support for dual-stack STUN and TURN, and for IPv6 srflx and rela… Add support for dual-stack STUN and TURN, and IPv6 srflx and relay candidates Nov 17, 2025
@stefankiesz stefankiesz changed the title Add support for dual-stack STUN and TURN, and IPv6 srflx and relay candidates Dual-Stack Endpoints and IPv6 ICE Candidates Nov 21, 2025
@stefankiesz stefankiesz force-pushed the dual-stack-stun-and-turn branch from 548396f to 62e3bca Compare December 2, 2025 09:57
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