ice candidate priority for cellular network and wifi network

44 views
Skip to first unread message

apps tester

unread,
Nov 16, 2022, 2:28:00 AM11/16/22
to discuss-webrtc
Hello,

In mobile phone, ice candidate priority of cellular network is less than the one of wifi network.
Please see the below logs.

(basic_port_allocator.cc:925): Port[699aac00:audio:1:0:local:Net[en0:172.30.1.x/24:Wifi:id=1]]: Gathered candidate:
Cand[:829707582:1:udp:1686052607:121.141.145.x:52617:stun:172.30.1.96:52617:5HUA:iwvV5wSaEfJziXwbPjTEVJu6:1:10:0]

(basic_port_allocator.cc:925): Port[699f7600:audio:1:0:local:Net[pdp_ip0:192.0.0.x/32:Cellular:id=7]]: Gathered candidate:
Cand[:3717173733:1:udp:1685790463:223.38.41.x:59693:stun:192.0.0.1:59693:5HUA:iwvV5wSaEfJziXwbPjTEVJu6:7:900:0]

The priority for en0:172.30.1.x/24:Wifi is 1686052607.
The priority for pdp_ip0:192.0.0.x/32:Cellular is 1685790463.

STUN pair becomes cellular IP address even though wifi network is available.

Can I configure to get more priority for wifi network?

BR,
apps




Reply all
Reply to author
Forward
0 new messages