I have this problem when I use different wifi flutter webrtc app

79 views
Skip to first unread message

quang minh

unread,
Mar 10, 2025, 3:21:41 AM3/10/25
to discuss-webrtc
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: 
BE: 

Text candidate:

webrtc_log_0_calll_video
webrtc_call_video

Mikko Koivisto

unread,
Mar 14, 2025, 3:59:17 AM3/14/25
to discuss-webrtc

At least your turn server seems to give

code=486: Allocation Quota Reached

when testing it https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

If your both peers use same credentials, and either of the peers gets “Allocation Quota Reached” error, then the connection cannot be relayed through turn server. Depending on NAT, this can make whole connection fail.

quang minh

unread,
Mar 14, 2025, 1:04:00 PM3/14/25
to discuss...@googlegroups.com
Hi, I replaced this stun/turn, but it still won't connect when on different networks
_rtcPeerConnection = await createPeerConnection({
'iceServers': [
{
'urls': "stun:stun-connect.fcam.vn:3478",
},
{
'urls': 'turn:stun-connect.fcam.vn:3478',
'username': 'turnuser',
'credential': "camfptvnturn133099",
},
],
'sdpSemantics': 'unified-plan',
});


and i also check on tricle ice it returns perfect

Screenshot 2025-03-14 at 16.20.05.png

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/92cff8d7-5d26-4dde-b068-8e2447f6cb55n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages