react-native-webrtc: TURN / Metered / I'm desperate... ...won't show remotestream when one device is on Wifi Local, and the other on 4G
Hi Guys, I have developped a video chat app which works correctly when used on local network using the Google STUN server. …but as I said, when I switch one device on 4G instead of wifi, because I didn’t have a TURN server, I recieved a “friezed” remote network video with no audio…
So I decided to try the Metered service as a TURN server. Once set up, I have tested it with https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
Result seems fine :
Time Type Foundation Protocol Address Port Priority URL (if present) relayProtocol (if present)
0.009 host 3342583966 udp 192.168.0.254 61697 126 | 32542 | 255
0.066 srflx 355945745 udp 95.182.175.71 9099 100 | 32542 | 255 stun:stun.relay.metered.ca:80
0.134 host 965811210 tcp 192.168.0.254 9 90 | 32542 | 255
0.290 relay 1524270232 udp 216.39.253.22 31473 2 | 32546 | 255 turn:a.relay.metered.ca:80?transport=udp udp
0.290 relay 1524270232 udp 216.39.253.22 60341 2 | 32544 | 255 turn:a.relay.metered.ca:443?transport=udp udp
0.423 relay 2758823948 udp 216.39.253.22 48970 1 | 32543 | 255 turn:a.relay.metered.ca:443?transport=tcp tcp
0.423 relay 2758823948 udp 216.39.253.22 42748 1 | 32545 | 255 turn:a.relay.metered.ca:80?transport=tcp tcp
39.937 Done
Although I still have the same problem… …no way to connect the 2 devices properly… …one on wifi, and the other on 4G…
Any idea of what is wrong ? for info, i’m using the user/password for Metered, not its key…
Thanks for your help…
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 39 (19 by maintainers)
Folks, I think this topic is better suited for the community forum rather than an issue. If the result ends up being an issue found in the software we can treat it as such in a new issue.
Thanks a lot Saghul… …8Ball… just saw your message… 😃
@ega65 No worries, i’ll give you a nudge on WhatsApp. I appreciate the honesty, not many are willing to admit when they are in deep water. But also you should be careful about sharing direct contact details 😅