I've set up a Janus server with a public IP address and I see it's sending its public IP address to the client in the ICE candidate messages, listing both UDP and TCP as options.
In my somewhat limited testing, I've realised the client does not seem to need to send the server its own candidates to make it work. And as I've realised the candidates contain information about the client's local network, the LAN IP address, out of a privacy concern I'm considering just not sending the client's candidates.
Are there any situations in which this could fail? Would sending the client's candidates really improve the connection in this situation? I'm not really sure what the protocol is doing with them in the background so I may be misunderstanding something.
Thank you
question from:
https://stackoverflow.com/questions/66056350/sending-webrtc-ice-candidates-if-the-remote-peer-has-a-public-ip-address 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…