|
@@ -253,15 +253,16 @@ Statistics.prototype.sendDominantSpeakerEvent = function () {
|
253
|
253
|
|
254
|
254
|
/**
|
255
|
255
|
* Notifies about active device.
|
256
|
|
- * @param {{deviceList: {String:String}}} list of devices with their data
|
|
256
|
+ * @param {{deviceList: {String:String}}} devicesData - list of devices with
|
|
257
|
+ * their data
|
257
|
258
|
*/
|
258
|
|
-Statistics.sendАctiveDeviceListEvent = function (devicesData) {
|
|
259
|
+Statistics.sendActiveDeviceListEvent = function (devicesData) {
|
259
|
260
|
if (Statistics.callsStatsInstances.length) {
|
260
|
261
|
Statistics.callsStatsInstances.forEach(function (cs) {
|
261
|
|
- CallStats.sendАctiveDeviceListEvent(devicesData, cs);
|
|
262
|
+ CallStats.sendActiveDeviceListEvent(devicesData, cs);
|
262
|
263
|
});
|
263
|
264
|
} else {
|
264
|
|
- CallStats.sendАctiveDeviceListEvent(devicesData, null);
|
|
265
|
+ CallStats.sendActiveDeviceListEvent(devicesData, null);
|
265
|
266
|
}
|
266
|
267
|
};
|
267
|
268
|
|