Merge pull request #1101 from jitsi/stop_media_when_xmpp_drops

Stop the media when XMPP connection is dropped
This commit is contained in:
hristoterezov 2016-11-14 13:06:53 -06:00 committed by GitHub
commit 5b6956e25b
1 changed files with 4 additions and 0 deletions

View File

@ -566,6 +566,10 @@ export default {
APP.UI.showPageReloadOverlay();
connection.removeEventListener(
ConnectionEvents.CONNECTION_FAILED, handler);
// FIXME it feels like the conference should be stopped
// by lib-jitsi-meet
if (room)
room.leave();
}
};
connection.addEventListener(