|
|
@@ -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);
|