Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Boris Grozev22b2f17234aa
diff --git a/conference.js b/conference.js
index b0d7ae2dc0..1e36bac3e2 100644
--- a/conference.js
+++ b/conference.js
@@ -1298,18 +1298,6 @@ export default {
});
}
- // TODO: Move this to the library.
- room.on(ConferenceEvents.CONNECTION_STATS, (stats) => {
- // if we say video muted we will use old method of calculating
- // quality and will not depend on localVideo if it is missing
- room.connectionQuality.updateLocalStats(
- stats,
- !this.isConnectionInterrupted(),
- localVideo ? localVideo.videoType : undefined,
- localVideo ? localVideo.isMuted() : true,
- localVideo ? localVideo.resolution : null);
- });
-
room.on(ConnectionQualityEvents.LOCAL_STATS_UPDATED,
(percent, stats) => {
APP.UI.updateLocalStats(percent, stats);