Fixes issue with connection quality module name.

This commit is contained in:
hristoterezov 2015-01-08 14:33:06 +02:00
parent e20274c2f7
commit 0fe6a55700
7 changed files with 21 additions and 5 deletions

View File

@ -554,6 +554,14 @@ UI.connectionIndicatorShowMore = function(id)
return VideoLayout.connectionIndicators[id].showMore();
}
UI.showToolbar = function () {
return ToolbarToggler.showToolbar();
}
UI.dockToolbar = function (isDock) {
return ToolbarToggler.dockToolbar(isDock);
}
module.exports = UI;

View File

@ -969,8 +969,8 @@ var statistics =
},
start: function () {
this.addConnectionStatsListener(connection_quality.updateLocalStats);
this.addRemoteStatsStopListener(connection_quality.stopSendingStats);
this.addConnectionStatsListener(connectionquality.updateLocalStats);
this.addRemoteStatsStopListener(connectionquality.stopSendingStats);
RTC.addStreamListener(onStreamCreated,
StreamEventTypes.EVENT_TYPE_LOCAL_CREATED);
}

View File

@ -553,6 +553,14 @@ UI.connectionIndicatorShowMore = function(id)
return VideoLayout.connectionIndicators[id].showMore();
}
UI.showToolbar = function () {
return ToolbarToggler.showToolbar();
}
UI.dockToolbar = function (isDock) {
return ToolbarToggler.dockToolbar(isDock);
}
module.exports = UI;

View File

@ -126,8 +126,8 @@ var statistics =
},
start: function () {
this.addConnectionStatsListener(connection_quality.updateLocalStats);
this.addRemoteStatsStopListener(connection_quality.stopSendingStats);
this.addConnectionStatsListener(connectionquality.updateLocalStats);
this.addRemoteStatsStopListener(connectionquality.stopSendingStats);
RTC.addStreamListener(onStreamCreated,
StreamEventTypes.EVENT_TYPE_LOCAL_CREATED);
}

2
muc.js
View File

@ -140,7 +140,7 @@ Strophe.addConnectionPlugin('emuc', {
Strophe.forEachChild(stats[0], "stat", function (el) {
statsObj[el.getAttribute("name")] = el.getAttribute("value");
});
connection_quality.updateRemoteStats(from, statsObj);
connectionquality.updateRemoteStats(from, statsObj);
}
// Parse status.