瀏覽代碼

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…
取消
儲存