|
|
@@ -243,6 +243,15 @@ JitsiConferenceEventManager.prototype.setupChatRoomListeners = function () {
|
|
243
|
243
|
JitsiConferenceEvents.USER_STATUS_CHANGED, id, status);
|
|
244
|
244
|
});
|
|
245
|
245
|
|
|
|
246
|
+ conference.room.addListener(XMPPEvents.LOCAL_UFRAG_CHANGED,
|
|
|
247
|
+ function (ufrag) {
|
|
|
248
|
+ Statistics.sendLog("Local ufrag: " + ufrag);
|
|
|
249
|
+ });
|
|
|
250
|
+ conference.room.addListener(XMPPEvents.REMOTE_UFRAG_CHANGED,
|
|
|
251
|
+ function (ufrag) {
|
|
|
252
|
+ Statistics.sendLog("Remote ufrag: " + ufrag);
|
|
|
253
|
+ });
|
|
|
254
|
+
|
|
246
|
255
|
chatRoom.addPresenceListener("startmuted", function (data, from) {
|
|
247
|
256
|
var isModerator = false;
|
|
248
|
257
|
if (conference.myUserId() === from && conference.isModerator()) {
|
|
|
@@ -496,6 +505,10 @@ JitsiConferenceEventManager.prototype.setupStatisticsListeners = function () {
|
|
496
|
505
|
conference.eventEmitter.emit(
|
|
497
|
506
|
JitsiConferenceEvents.CONNECTION_STATS, stats);
|
|
498
|
507
|
});
|
|
|
508
|
+
|
|
|
509
|
+ conference.statistics.addAudioProblemListener(function (ssrc) {
|
|
|
510
|
+ conference._reportAudioProblem(ssrc);
|
|
|
511
|
+ });
|
|
499
|
512
|
};
|
|
500
|
513
|
|
|
501
|
514
|
module.exports = JitsiConferenceEventManager;
|