gatherCandidatesLocalUDPMux gathers candidates not on socket
Your environment.
- Version: ice v2.2.2
- Browser: any version

What did you expect?
i'm expecting it should only gather candidates on socket
What happened?
it will gather every ip as candiddate , if you have multi ip on your interface , it will make a wrong candidate
@Sean-Der is this a bug? i think it should skip the ip when it is not matched with the socket
@50infivedays that looks like a bug to me!
pion/ice was written with the assumption that every interface will only have one IP, so I bet we have lots of bugs/behaviors that aren't expected.
@50infivedays that looks like a bug to me!
pion/icewas written with the assumption that every interface will only have one IP, so I bet we have lots of bugs/behaviors that aren't expected.
will multi-IP on one interface be supported in the future?
I think it is already supported.
There is just another caveat here: pion/ice uses pion/transports vnet.Net to get a list of interfaces and addresses during ice.NewAgent() which remains static for the lifetime of the agent.
No changes of interfaces or addresses will be taken into account.
Fixed by #483 , gather will collect candidates from Mux's socket now.