Zimbra Talk V2: How to debug WebRTC/TURN?

Working with Zimbra Talk? This is your Forum, drop here your questions with the Installation, Configuration, etc.
User avatar
msquadrat
Advanced member
Advanced member
Posts: 157
Joined: Mon Oct 14, 2013 10:09 am

Zimbra Talk V2: How to debug WebRTC/TURN?

Postby msquadrat » Wed Apr 04, 2018 3:34 pm

Hi folks,

I put this here since I'm afraid that in the still existing Zimbra Talk forum nobody will see the post.

I finally made Zimbra Talk V2 work on two of our test installations. The video chat works fine with people on the same network but breaks as soon as there's some NAT in between.

The solution should be a TURN/STUN server; I installed and configured one (package coturn on Ubuntu) and added it to the ZTalk config as described here:
https://wiki.zimbra.com/wiki/Talk_V2_Ad ... URN_server

Unfortunately, people are still not able to communicate through a NAT.

It is definitely possible that I made an error somewhere. When I tried my standard ways of debugging issues like these (staring at log files, the browser's network console and wireshark) it looked to me like the TURN server wasn't used by my client at all but I'm not sure if I even looked at the correct things. So my question: Has anybody debugged videochat/WebRTC/TURN before and can point me into the right direction? Is there maybe a hidden debug mode?

Cheers,
Malte


User avatar
msquadrat
Advanced member
Advanced member
Posts: 157
Joined: Mon Oct 14, 2013 10:09 am

Re: Zimbra Talk V2: How to debug WebRTC/TURN?

Postby msquadrat » Wed Apr 04, 2018 7:33 pm

Ok, using the stun command line client and the Trickle ICE testing service I was able to verify that at least my turn server was working as expected.

I use the following turnserver.conf:

Code: Select all

external-ip=192.0.2.42
lt-cred-mech
realm=zimbra.example
cert=/opt/zimbra/ssl/zimbra/commercial/commercial.crt
pkey=/opt/zimbra/ssl/zimbra/commercial/commercial.key
syslog
verbose


And added a user via

Code: Select all

turnadmin -a -u zimbra -r zimbra.example -p password


The lt-cred-mech option was essential to enable.

Now I'd still like to know how to debug the browser/Zimbra Talk part to make sure it actually uses the TURN server.

Return to “Zimbra Talk”

Who is online

Users browsing this forum: No registered users and 2 guests