소스 검색

refactor: Moves more code to lib-jitsi-meet.

master
Boris Grozev 9 년 전
부모
커밋
22b2f17234
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0
    12
      conference.js

+ 0
- 12
conference.js 파일 보기

@@ -1298,18 +1298,6 @@ export default {
1298 1298
             });
1299 1299
         }
1300 1300
 
1301
-        // TODO: Move this to the library.
1302
-        room.on(ConferenceEvents.CONNECTION_STATS, (stats) => {
1303
-            // if we say video muted we will use old method of calculating
1304
-            // quality and will not depend on localVideo if it is missing
1305
-            room.connectionQuality.updateLocalStats(
1306
-                stats,
1307
-                !this.isConnectionInterrupted(),
1308
-                localVideo ? localVideo.videoType : undefined,
1309
-                localVideo ? localVideo.isMuted() : true,
1310
-                localVideo ? localVideo.resolution : null);
1311
-        });
1312
-
1313 1301
         room.on(ConnectionQualityEvents.LOCAL_STATS_UPDATED,
1314 1302
             (percent, stats) => {
1315 1303
                 APP.UI.updateLocalStats(percent, stats);

Loading…
취소
저장