浏览代码

fix(ParticipantConnectionStatus): adjust debug msgs

dev1
paweldomas 9 年前
父节点
当前提交
d66a66395e
共有 1 个文件被更改,包括 8 次插入5 次删除
  1. 8
    5
      modules/connectivity/ParticipantConnectionStatus.js

+ 8
- 5
modules/connectivity/ParticipantConnectionStatus.js 查看文件

@@ -332,7 +332,8 @@ export default class ParticipantConnectionStatus {
332 332
             logger.info(
333 333
                 "Remote track removed for disconnected" +
334 334
                 " participant, when the status according to" +
335
-                " the JVB is connected. Adjusting to the JVB value.");
335
+                " the JVB is connected. Adjusting to the JVB value for: "
336
+                + endpointId);
336 337
             this._changeConnectionStatus(endpointId, isConnActiveByJvb);
337 338
         }
338 339
     }
@@ -374,8 +375,8 @@ export default class ParticipantConnectionStatus {
374 375
      * event will be processed.
375 376
      */
376 377
     onTrackRtcUnmuted(track) {
377
-        logger.debug('Detector track RTC unmuted: ', track);
378 378
         var participantId = track.getParticipantId();
379
+        logger.debug('Detector track RTC unmuted: ' + participantId);
379 380
         if (!track.isMuted() &&
380 381
             !this.conference.getParticipantById(participantId)
381 382
                 .isConnectionActive()) {
@@ -394,11 +395,13 @@ export default class ParticipantConnectionStatus {
394 395
      * the signalling mute/unmute event will be processed.
395 396
      */
396 397
     onSignallingMuteChanged (track) {
397
-        logger.debug(
398
-            'Detector on track signalling mute changed: ',
399
-            track, track.isMuted());
400 398
         var isMuted = track.isMuted();
401 399
         var participantId = track.getParticipantId();
400
+
401
+        logger.debug(
402
+            'Detector on track signalling mute changed: ',
403
+            participantId, track.isMuted());
404
+
402 405
         var participant = this.conference.getParticipantById(participantId);
403 406
         if (!participant) {
404 407
             logger.error('No participant for id: ' + participantId);

正在加载...
取消
保存