Browse Source

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

master
Boris Grozev 9 years ago
parent
commit
22b2f17234
1 changed files with 0 additions and 12 deletions
  1. 0
    12
      conference.js

+ 0
- 12
conference.js View File

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
         room.on(ConnectionQualityEvents.LOCAL_STATS_UPDATED,
1301
         room.on(ConnectionQualityEvents.LOCAL_STATS_UPDATED,
1314
             (percent, stats) => {
1302
             (percent, stats) => {
1315
                 APP.UI.updateLocalStats(percent, stats);
1303
                 APP.UI.updateLocalStats(percent, stats);

Loading…
Cancel
Save