Saturday, 15 August 2015

voip - STUN, TURN and ICE -



voip - STUN, TURN and ICE -

i have 2 pc behind different nat. want access first pc sec pc. while searching on internet, have found concepts of stun, turn , ice.

if run stun client on 1 pc, can find ip , port of pc public net perspective. after how can connect other pc. how other pc know ip , port public ip , external port of router?

both pcs behind restricted cone nat, think don't need turn server functionality. have 1 pc public ip can run stun server.

i have read specifications of stun , ice, not getting clear idea. there telling there signalling mechanism available through other host can know ip , port number.

but, how? if there 1 stun server , multiple clients, how can decided client need connect client no client knows othet clients addresses?

the short reply is, stun server helps peer identify public ip, not matter how many clients seek talk each other, not care, job supply peer public ip.

from understand, stun server helps (the browser client) identify public ip, set in sdp, , pass signalling server, forwards other peer, similarly, other peer transmit sdp (the offer , answer).

voip webrtc nat stun

No comments:

Post a Comment