I have this problem when I use different wifi, I can't make calls to each other, but when I connect to the same network, I can still make calls to each other. I don't know what's wrong, I hope everyone can help me. This is my source code.
Code Fe:
https://github.com/qminhminh/test_call_video_webrtc
BE:
https://github.com/qminhminh/call_wbrtc_server
ERROR LOG
👍
016:064][60451] (stun_port.cc:460): Port[4918800:0:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[4918800:0:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:460): Port[4918e00:0:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[4918e00:0:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:607): UDP send of 20 bytes to host demo.espitek.com:3478 (14.224.216.x:3478) failed with error 0 : [0x00000031] Can't assign requested address
[016:064][60451] (stun_port.cc:460): Port[49a2600:1:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[49a2600:1:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:607): UDP send of 20 bytes to host demo.espitek.com:3478 (14.224.216.x:3478) failed with error 0 : [0x00000031] Can't assign requested address
[016:064][60451] (stun_port.cc:460): Port[49a2c00:1:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: StunPort: stun host lookup received error 8
016:128][60451] (turn_port.cc:877): Port[601ea00:0:1:0:relay:Net[lo0:127.0.0.x/8:Loopback:id=3]]: Failed to send TURN message, error: 49
[016:128][60451] (turn_port.cc:1348): Port[601ea00:0:1:0:relay:Net[lo0:127.0.0.x/8:Loopback:id=3]]: TURN allocate request sent, id=484861424a35586a6d786465
[016:128][60451] (turn_port.cc:396): Port[6134000:1:1:0:relay:Net[en1:192.168.1.x/24:Wifi:id=1]]: Trying to connect to TURN server via udp @ demo.espitek.com:3478 (14.224.216.x:3478)