WebRTC calls are not reliable in our application. Sometimes we see the black screen, sometimes we don’t see call start at all and sometimes there are seen huge delays or de-sync in audio/video.
Setup:
stun:stun.l.google.com:19302
;Coturn
hosted in azure in docker;simplewebrtc
as client;Almost 100% reproduced issue is calling from one client on LTE to another on Wi-Fi. In this case we see black screen on both devices, however, default bg-color is white, so at least something happens on WebRTC side.
What was done to address issues:
Please, suggest any possible way of research or fix to make WebRTC as much reliable as possible.
The above scheme is from this article I wrote which goes into a lot of detail on this topic.
Shortly, problems can appear in any of the 3 steps:
Here's what I would do:
stun:stun.l.google.com:19302?transport=tcp
) and port 80 (default is UDP port 3478 or 19302 for Google's STUN and they might be blocked by your router/firewall/proxy/mobile network )If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With