Skip to content

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. #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
qminhminh opened this issue Mar 13, 2025 · 3 comments

Comments

@qminhminh
Copy link

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)

@qminhminh
Copy link
Author

@qminhminh
Copy link
Author

flutter (32618): Sending RPC to: https://demo.espitek.com/api/rpc/twoway/41cf0f00-936a-11ef-a41f-ffffca4e13b8
I/flutter (32618): RPC params: {ClientId: TPKRVRBPKH, type: answer, sdp: v=0
I/flutter (32618): o=- 4233629164448698520 2 IN IP4 127.0.0.1
I/flutter (32618): s=-
I/flutter (32618): t=0 0
I/flutter (32618): a=group:BUNDLE video-stream audio-stream 0
I/flutter (32618): a=msid-semantic: WMS
I/flutter (32618): m=video 9 UDP/TLS/RTP/SAVPF 112
I/flutter (32618): c=IN IP4 0.0.0.0
I/flutter (32618): a=rtcp:9 IN IP4 0.0.0.0
I/flutter (32618): a=ice-ufrag:pUtb
I/flutter (32618): a=ice-pwd:PKB1VjmXKlcqGS05sEk5yQJI
I/flutter (32618): a=ice-options:trickle renomination
I/flutter (32618): a=fingerprint:sha-256 9A:F1:62:BE:EC:0D:C1:53:73:CE:7D:50:8A:17:52:2B:00:D2:6A:03:9F:B3:C4:21:E0:77:8D:BA:D7:C2:5E:79
I/flutter (32618): a=setup:active
I/flutter (32618): a=mid:video-stream
I/flutter (32618): a=recvonly
I/flutter (32618): a=rtcp-mux
I/flutter (32618): a=rtpmap:112 H264/90000
I/flutter (32618): a=rtcp-fb:112 goog-remb
I/flutter (32618): a=rtcp-fb:112 nack
I/flutter (32618): a=rtcp-fb:112 nack pli
I/flutter (32618): a=fmtp:112 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
I/flutter (32618): m=audio 9 UDP/TLS/RTP/SAVPF 111
I/flutter (32618): c=IN IP4 0.0.0.0
I/flutter (32618): a=rtcp:9 IN IP4 0.0.0.0
I/flutter (32618): a=ice-ufrag:pUtb
I/flutter (32618): a=ice-pwd:PKB1VjmXKlcqGS05sEk5yQJI
I/flutter (32618): a=ice-options:trickle renomination
I/flutter (32618): a=fingerprint:sha-256 9A:F1:62:BE:EC:0D:C1:53:73:CE:7D:50:8A:17:52:2B:00:D2:6A:03:9F:B3:C4:21:E0:77:8D:BA:D7:C2:5E:79
I/flutter (32618): a=setup:active
I/flutter (32618): a=mid:audio-stream

I/flutter (32618): ICE Connection State: RTCIceConnectionState.RTCIceConnectionStateChecking
I/flutter (32618): ICE Gathering State: RTCIceGatheringState.RTCIceGatheringStateGathering
I/flutter (32618): New ICE candidate: candidate:2539595413 1 udp 2122194687 10.197.47.213 34831 typ host generation 0 ufrag pUtb network-id 3 network-cost 900, type: host
D/FlutterWebRTCPlugin(32618): onIceCandidate
I/flutter (32618): New ICE candidate: candidate:2829132477 1 udp 2121998079 127.0.0.1 47593 typ host generation 0 ufrag pUtb network-id 1, type: host
I/flutter (32618): New ICE candidate: candidate:3764594014 1 udp 2122262783 2401:d800:db33:bb75:c96e:e121:408f:e4c5 55185 typ host generation 0 ufrag pUtb network-id 4 network-cost 900, type: host
I/flutter (32618): New ICE candidate: candidate:518486656 1 udp 2122071295 ::1 49566 typ host generation 0 ufrag pUtb network-id 2, type: host
I/flutter (32618): New ICE candidate: candidate:1861528046 1 udp 1685987071 171.253.138.109 12994 typ srflx raddr 10.197.47.213 rport 34831 generation 0 ufrag pUtb network-id 3 network-cost 900, type: srflx
3
D/FlutterWebRTCPlugin(32618): onIceCandidate
I/flutter (32618): New ICE candidate: candidate:700313120 1 tcp 1518149375 53.155.57.91 9 typ host tcptype active generation 0 ufrag pUtb network-id 5 network-cost 900, type: host
I/flutter (32618): New ICE candidate: candidate:3597582373 1 tcp 1518018303 127.0.0.1 43737 typ host tcptype passive generation 0 ufrag pUtb network-id 1, type: host
I/flutter (32618): New ICE candidate: candidate:1613273112 1 tcp 1518091519 ::1 52151 typ host tcptype passive generation 0 ufrag pUtb network-id 2, type: host
D/FlutterWebRTCPlugin(32618): onIceCandidate
I/flutter (32618): New ICE candidate: candidate:3700510926 1 udp 41820159 42.116.138.54 36882 typ relay raddr 171.253.138.109 rport 12994 generation 0 ufrag pUtb network-id 3 network-cost 900, type: relay
I/flutter (32618): Answer SDP sent successfully

@qminhminh
Copy link
Author

please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant