hi guys,
We are using a test application on Android (native), I am trying to disable WiFi by settings networkIgnoreMask to 1 << 1:
PeerConnectionFactory.initializeAndroidGlobals(context, true, false, false, context);
factory = new PeerConnectionFactory();
PeerConnectionFactory.Options factoryOptions = new PeerConnectionFactory.Options();
factoryOptions.networkIgnoreMask = 0;
factory.setOptions(factoryOptions);
When ICE gathering is done the local offer sdp contains the following candidates:
a=candidate:913901197 1 udp
2122260223 192.168.1.111 36686 typ host generation 0
a=candidate:913901197 2 udp
2122260222 192.168.1.111 55376 typ host generation 0
a=candidate:
2029714045 1 tcp 1518280447 192.168.1.111 47341 typ host tcptype passive generation 0
a=candidate:
2029714045 2 tcp 1518280446 192.168.1.111 40211 typ host tcptype passive generation 0
a=candidate:
3073441849 1 udp 1686052607 <my external ip> 36686 typ srflx raddr 192.168.1.111 rport 36686 generation 0
a=candidate:
3073441849 2 udp 1686052606 <my external ip> 55376 typ srflx raddr 192.168.1.111 rport 55376 generation 0
a=candidate:746068014 1 udp 25108223 <my turn ip> 51970 typ relay raddr <my external ip> rport 48639 generation 0
a=candidate:746068014 2 udp 25108222 <my turn ip> 51338 typ relay raddr <my external ip> rport 38459 generation 0
Any idea? We would like to totally disable WiFi..
Thanks,
Adam