Screensharing doesn’t work properly: Nextcloud Talk & Turnserver
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 (v126.96.36.199) 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:
listening-port=80 fingerprint lt-cred-mech use-auth-secret static-auth-secret=13d5d... realm=turn.example.com total-quota=100 bps-capacity=0 stale-nonce cipher-list="ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5" no-loopback-peers no-multicast-peers log-file=/var/log/coturn.log syslog
Note: domain and secret values are just examples
Nextcloud Talk configuration:
Errors i get from syslog:
Apr 24 09:33:38 pmuszynskilg turnserver: 65616: session 000000000000002494: realm <test.codeslav.pl> user <>: incoming packet message processed, error 401: Unauthorized Apr 24 09:33:39 pmuszynskilg turnserver: 65617: session 000000000000002497: realm <test.codeslav.pl> user <>: incoming packet message processed, error 401: Unauthorized
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.