df67d2e680
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. |
||
---|---|---|
.. | ||
audio-controls | ||
audio-dial | ||
audio-modal | ||
audio-settings | ||
audio-stream-volume | ||
audio-test | ||
autoplay | ||
device-selector | ||
echo-test | ||
help | ||
permissions-overlay | ||
container.jsx | ||
service.js |