Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
601 views
in Technique[技术] by (71.8m points)

janus gateway - Sending WebRTC ICE candidates if the remote peer has a public IP address

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...