WSS - DTLS handshake takes about 6s in firefox
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
Can you get a Developer Tool console log from Firefox which includes the SIP? FireFox has a 5 second timeout on ICE candidate gathering. I’m wondering if there is a failure is on the ICE side and FF is returning too many srflx records that need to be tried.
On Feb 9, 2018, at 4:41 AM, Markus Bönke <mbodbg@gmx.net> wrote:
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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
JsSip issue - you can reduce ice gathering -- info you can get here https://github.com/versatica/JsSIP/issues/432 2018-02-12 16:08 GMT+02:00 Geoff Mina <gmina@connectfirst.com>:
Can you get a Developer Tool console log from Firefox which includes the SIP?
FireFox has a 5 second timeout on ICE candidate gathering.
I’m wondering if there is a failure is on the ICE side and FF is returning too many srflx records that need to be tried.
On Feb 9, 2018, at 4:41 AM, Markus Bönke <mbodbg@gmx.net> wrote:
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 ____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Alexandr Popov
-
Geoff Mina
-
Markus Bönke