Skip to content

Specify Public IP for UDPMux #370

Answered by k0nserv
Wicpar asked this question in Q&A
Discussion options

You must be logged in to vote

This is what we do in combination with muxxed UDP where nat_ips is Vec<String>.

settings.set_nat_1to1_ips(nat_ips, webrtc::RTCIceCandidateType::Host);

We only do IPv4 atm. I think there's a bit more work to support both an IPv4 and IPv6 address. But if you have dual stack server feel free to try specifying both

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by k0nserv
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #359 on December 16, 2022 15:55.