stun - Media transfer in webrtc with TURN relay -
suppose want communicate b
by sending allocate request turn server t1 , relay address , port r1:r1
similarly, b sending allocate request turn server t2, b relay address , port r2:r2
now want send media b, send media r1:r1, r2:r2 destination address, when turn server receives media @ r2:r2, forward b. media transfer in webrtc, forwarded in way or not?
if don't know b's relayed transport address, how can reaches b?
yes how works if use turn relay.
if , b want connect each other, must know each others server reflexive or relay address. applies if , b in separate networks. server reflexive address nats public address gathered through stun server. if don't know of these 2 addresses can't connect each other.
if doesn't know b's relayed transport address can connect through server reflexive address.
even knowing server reflexive address of each other won't guarantee connection establishment. if 1 of or b behind symmetric nat , other behind symmetric/prc nat , b must know turn relay address of each other guarantee connection establishment.
Comments
Post a Comment