Hi all, I am having a problem with some folks not being able to stream video. So I want to ask a little bit about technical solutions but I also for general “bigger picture” ideas and solutions.
I run a consumer web chat app that allows many-to-many videoconferencing. I have NON-technical users and they are literally all over the world with lots of different configurations: many different browsers, networks, some are on a VPN, etc. etc. I know that my current configuration is working well for a lot of them, but at the same time, some significant % of my customers can’t get the video feeds to work. (I know because I get a lot of angry support emails, lol)
Right now I am running a mediasoup v2 server on port 443, on a standalone dedicated server with a public IP, that has all ports completely open.
Because I can’t reproduce any problems (everything’s working fine for me here), I can’t tell you why it is failing for some. And because of the wide range of my customers’ configurations, I would not be surprise if I am dealing with several different problems that affect different people in different ways. The only 100% definite known problem I have is a customer who says it always fails on VPN but works perfectly when he is not on VPN. So maybe that’s the first thing I fix, since it is a tangible, reproducible problem.
The only problems I see in my mediasoup log is [identifier]:*: disconnected: transport error
soon after someone connects, with no activity in between. There are a few of these, which makes me think these are my users that can’t get video to connect.
So. Because of all this, I think my best approach is to try to fix the VPN issue, and also to generally “harden” and improve my whole WebRTC network structure as much as possible. And hope that it will improve the situation for my customers.
This leads me to 3 questions.
-
I assume a TURN server can’t hurt and it might help. Does a TURN server always run on port 443 (where I currently have mediasoup)? Would it be wise to move my mediasoup to a different port and then add a TURN server on 443? Or run TURN on a different port?
-
Since the VPN problem is the currently the only problem that I can definitely identify/reproduce, how can I fix this issue? I realize this might have more to do with the signaling protocol that comes before mediasoup starts… but would still appreciate ANY mercy/help in approaching this problem!!
-
Any other suggestions for how to generally improve/harden this whole configuration and improve connectivity for my users so their video feeds start working? (Like, what else can I add/change/improve to just make it better for more people and edge cases?) I’m open to any ideas and happy to throw resources at the problem.
I’m a little stuck and I GREATLY appreciate (and thank you in advance) for your thoughts. I am happy to work hard on this and do my part (and contribute any new knowledge back to this group) but I’m not sure where to start or how to best proceed.
Best regards from Zürich, Switzerland–
Eric