소스 검색

Merge pull request #1101 from jitsi/stop_media_when_xmpp_drops

Stop the media when XMPP connection is dropped
master
hristoterezov 8 년 전
부모
커밋
5b6956e25b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      conference.js

+ 4
- 0
conference.js 파일 보기

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

Loading…
취소
저장