bigbluebutton-Github/bigbluebutton-html5/imports
Mario Jr df67d2e680 Better handling audio reconnection
When getting disconnected with 1001 ("websocket closed unexpectedly" error) we were creating a new SIP session, therefore a new FreeSWITCH channel.
While reconnecting the socket, instead of closing the SIP session, we keep it alive during reconnection (audio should keep working in the meantime). When reconnected we keep using this same session (avoiding the creation of an extra one).
We also better handle WebSocket error codes from SIP.js.
FF immediately closes websocket when unloading page, so we now to stop user agent when 'beforeunload' event is triggered, to avoid leaving open sessions in FreeSWITCH when user leaves page.
2020-10-15 11:24:23 -03:00
..
api Better handling audio reconnection 2020-10-15 11:24:23 -03:00
startup Merge pull request #10612 from jfsiebel/improve-logs 2020-10-09 13:43:09 -04:00
ui Better handling audio reconnection 2020-10-15 11:24:23 -03:00
utils Added allowDefaultLogoutUrl config to optionally ignore non-custom logoutUrl 2020-10-08 05:15:05 -04:00