sepfy / libpeer

WebRTC Library for IoT/Embedded Device using C
MIT License
804 stars 108 forks source link

IPv6 support #57

Closed richlegrand closed 2 weeks ago

richlegrand commented 7 months ago

I'm noticing that some devices (phones) only have ipv6 addresses available. What is needed to support ipv6? Here's what I see:

1) Add ipv6 support to open, bind, sendto, etc. in udp.c, and address.c. 2) Get ipv6 addresses (local and global?) from device. 3) ipv6 STUN 4) Generate ipv6 ice candidates and an ipv6 reflexive candidate if needed. 5) Generate candidate pairs by only matching local ipv4s to remote ipv4s and local ipv6s to remote ipv6s.

I feel like I can give these a try, but there are probably other things that I haven't thought of -- let me know your thoughts :)

thanks!

nonibytes commented 3 months ago

Did you make any progress on this?

sepfy commented 2 weeks ago

Added ipv6 support: https://github.com/sepfy/libpeer/pull/72