Screensharing doesn’t work properly: Nextcloud Talk & Turnserver
Hello,
I’m fighting with some serious problem with Talk video calls based on my ignorance, natural perversity of inanimate objects or whatever it is ;). I tried to configure Nextcloud Talk (15.0.7) and Coturn turnserver (v4.5.0.7) to working appropriate together but it’s remains unbeatable. Both servers running on different VPS with public static IP on 443/80 port. I also followed every instructions and hints included on that very good howto tutorial and tried to duplicate every step properly. Basically, using screen sharing during video calls with users not behind firewall makes video and audio stream freeze (but chat seems to be working fine) generates turnserver’s authorization errors described below. It unlocks when users close screenshare stream.
Test was realized with Firefox browser (v66.0.3). Usage of Chrome browser (v70.0) didn’t change anything.
My configuration of turnserver.conf based on howto tutorial:
That errors continues while users trying to screenshare any window during other participants sharing his cam and/or mic. Visually it makes video freeze or dissapearing for others who are sharing screen (nor for .
Of course all ports needs to be open are open (in my case port 80) on server and client sites.
Could it be something wrong with turnserver version? I’m losing hope on this.
Thanks in advance for any hints or solutions!
P.S i hope my poor English will allow you to understand my problem.
I just wanted to open almost the same thread, but maybe I have the same issue.
Connections via Talk with Chat between local and remote users are always working. Usually users can see my video, sometimes I can see their video but it often freezes, but screen sharing is the biggest problem. Today for example the remote user could see my webcam and my even my screensharing, but he could not share his screen. Last time my colleague used talk, he could’nt share his screen to the remote users.
My only idea was the turn server too, especially because I’m getting the same error as @Przemek_Muszynski
This is an expected error, as far as I remember. The first request is done without credentials, so the error is reported, the client then sends the second request with credentials which then succeeds. If video generally works, then this should be a prove that the TURN server works as expected.
Did you (two) monitor CPU and RAM usage when entering screen sharing? I did not test this yet, will do later.
Hi, 401 is not a fatal error it is part of the auth process.
It is only problem if the client does not answers for the second time with the right credential.
See: slide 4-5