[Freeswitch-users] WSS - DTLS handshake takes about 6s in firefox

Markus Bönke mbodbg at gmx.net
Fri Feb 9 11:41:47 UTC 2018


We're using an application which uses the JSSip library to connect to Freeswitch 1.6.19 to make and receive calls. On Chome, everything is fine - when a call get's connected we can hear the caller from the beginning. However on Firefox we can not hear the caller for the first 5 Seconds. 

If I look in the logs, it seems the DTLS handshake takes more than 5 seconds between Firefox and Freeswitch:

Firefox 57.0.4 on OSX 10.13.3

2018-02-09 11:38:05.613120 [INFO] switch_rtp.c:3581 Activate RTP/RTCP audio DTLS server
2018-02-09 11:38:05.613120 [INFO] switch_rtp.c:3730 Changing audio DTLS state from OFF to HANDSHAKE
2018-02-09 11:38:11.833115 [INFO] switch_rtp.c:3192 Changing audio DTLS state from HANDSHAKE to SETUP <---
2018-02-09 11:38:11.853115 [INFO] switch_rtp.c:3141 Changing audio DTLS state from SETUP to READY

Chrome 62.0.3202.89 on OSX 10.13.3

2018-02-09 11:45:30.233115 [INFO] switch_rtp.c:3581 Activate RTP/RTCP audio DTLS server
2018-02-09 11:45:30.233115 [INFO] switch_rtp.c:3730 Changing audio DTLS state from OFF to HANDSHAKE
2018-02-09 11:45:30.533125 [INFO] switch_rtp.c:3192 Changing audio DTLS state from HANDSHAKE to SETUP
2018-02-09 11:45:30.553117 [INFO] switch_rtp.c:3141 Changing audio DTLS state from SETUP to READY


Is this a general issue in firefox or can it somehow be optimized by changing the freeswitch configuration?

Thanks and regards

Markus


More information about the FreeSWITCH-users mailing list