pion / turn

Pion TURN, an API for building TURN clients and servers
MIT License
1.83k stars 312 forks source link

Example using IPv6? #212

Open morajabi opened 3 years ago

morajabi commented 3 years ago

Summary

Ability to use IPv6 public address.

Motivation

Because services like Fly.io mostly work well on ipv6 UDP.

bekriebel commented 3 years ago

+1 to this because I'm also trying to use fly.io.

In particular, I'd love to be able to have TURN listening on ipv4 and ipv6 UDP and TCP and have it relay for an SFU running on ipv6 UDP.

GingerAdonis commented 2 years ago

Unfortunately it requires the implementation of RFC 6156 to support IPv6.

GingerAdonis commented 2 years ago

@Sean-Der Is IPv6 support planned? Thanks in advance.

stv0g commented 2 years ago

Seems like the TURN client currently does IPv4 lookups only:

https://github.com/pion/turn/blob/6880381c77d370eb8121fe7eb237b838ea8e4429/client.go#L95

stv0g commented 1 year ago

See also #265