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: Don't calculate remote connection quality.

Boris Grozevc98ffdc8172c
diff --git a/conference.js b/conference.js
index d1c62530ce..5360fee3a9 100644
--- a/conference.js
+++ b/conference.js
@@ -1304,8 +1304,8 @@ export default {
});
room.on(ConnectionQualityEvents.REMOTE_STATS_UPDATED,
- (id, percent, stats) => {
- APP.UI.updateRemoteStats(id, percent, stats);
+ (id, stats) => {
+ APP.UI.updateRemoteStats(id, stats.connectionQuality, stats);
});
room.addCommandListener(this.commands.defaults.ETHERPAD, ({value}) => {
@@ -1317,9 +1317,10 @@ export default {
APP.UI.setUserEmail(from, data.value);
});
- room.addCommandListener(this.commands.defaults.AVATAR_URL,
- (data, from) => {
- APP.UI.setUserAvatarUrl(from, data.value);
+ room.addCommandListener(
+ this.commands.defaults.AVATAR_URL,
+ (data, from) => {
+ APP.UI.setUserAvatarUrl(from, data.value);
});
room.addCommandListener(this.commands.defaults.AVATAR_ID,