[sr-dev] rtpengine add itself only as relay candidate?

Juha Heinanen jh at tutpro.com
Tue Oct 7 08:12:50 CEST 2014


Peter Villeneuve writes:

> I have tried force-relay but I belive that only works when the clients
> already have ICE relay candidates, in that case rtpengine simply replaces
> them with its own.

i tested and (as i thought) the above is not true.

incoming:

a=candidate:c062661e 1 UDP 2113932031 192.98.102.30 10490 typ host.
a=candidate:c062661e 2 UDP 2113932030 192.98.102.30 10491 typ host.
a=candidate:c0a82b92 1 UDP 2113932031 192.168.43.146 10490 typ host.
a=candidate:c0a82b92 2 UDP 2113932030 192.168.43.146 10491 typ host.
a=candidate:c062671e 1 UDP 2113932031 192.98.103.30 10490 typ host.
a=candidate:c062671e 2 UDP 2113932030 192.98.103.30 10491 typ host.
a=candidate:63c01c46 1 UDP 2113932031 2002:c062:661e::1 10490 typ host.
a=candidate:63c01c46 2 UDP 2113932030 2002:c062:661e::1 10491 typ host.
a=candidate:1e6662c0 1 UDP 2113932031 ::192.98.102.30 10490 typ host.
a=candidate:1e6662c0 2 UDP 2113932030 ::192.98.102.30 10491 typ host.
a=candidate:5d6a04d2 1 UDP 1677721855 93.106.4.211 10490 typ srflx raddr 192.98.102.30 rport 10490.
a=candidate:5d6a04d2 2 UDP 1677721854 93.106.4.211 10491 typ srflx raddr 192.98.102.30 rport 10491.

outgoing after force-relay:

a=candidate:c062661e 1 UDP 2113932031 192.98.102.30 10490 typ host.
a=candidate:c062661e 2 UDP 2113932030 192.98.102.30 10491 typ host.
a=candidate:c0a82b92 1 UDP 2113932031 192.168.43.146 10490 typ host.
a=candidate:c0a82b92 2 UDP 2113932030 192.168.43.146 10491 typ host.
a=candidate:c062671e 1 UDP 2113932031 192.98.103.30 10490 typ host.
a=candidate:c062671e 2 UDP 2113932030 192.98.103.30 10491 typ host.
a=candidate:63c01c46 1 UDP 2113932031 2002:c062:661e::1 10490 typ host.
a=candidate:63c01c46 2 UDP 2113932030 2002:c062:661e::1 10491 typ host.
a=candidate:1e6662c0 1 UDP 2113932031 ::192.98.102.30 10490 typ host.
a=candidate:1e6662c0 2 UDP 2113932030 ::192.98.102.30 10491 typ host.
a=candidate:5d6a04d2 1 UDP 1677721855 93.106.4.211 10490 typ srflx raddr 192.98.102.30 rport 10490.
a=candidate:5d6a04d2 2 UDP 1677721854 93.106.4.211 10491 typ srflx raddr 192.98.102.30 rport 10491.
a=candidate:UrghmdNHD8slTr03 1 UDP 16777215 192.98.102.30 50350 typ relay.
a=candidate:UrghmdNHD8slTr03 2 UDP 16777214 192.98.102.30 50351 typ relay.

-- juha



More information about the sr-dev mailing list