|
|
@@ -178,8 +178,8 @@ export default class ParticipantConnectionStatus {
|
|
178
|
178
|
participant._setIsConnectionActive(newStatus);
|
|
179
|
179
|
|
|
180
|
180
|
logger.debug(
|
|
181
|
|
- 'Emit endpoint conn status(' + Date.now() + '): ',
|
|
182
|
|
- endpointId, newStatus);
|
|
|
181
|
+ 'Emit endpoint conn status(' + Date.now() + ') '
|
|
|
182
|
+ + endpointId + ": " + newStatus);
|
|
183
|
183
|
|
|
184
|
184
|
// Log the event on CallStats
|
|
185
|
185
|
Statistics.sendLog(
|
|
|
@@ -225,8 +225,8 @@ export default class ParticipantConnectionStatus {
|
|
225
|
225
|
&& remoteTrack.getType() === MediaType.VIDEO) {
|
|
226
|
226
|
|
|
227
|
227
|
logger.debug(
|
|
228
|
|
- 'Detector on remote track added: ',
|
|
229
|
|
- remoteTrack.getParticipantId());
|
|
|
228
|
+ 'Detector on remote track added for: '
|
|
|
229
|
+ + remoteTrack.getParticipantId());
|
|
230
|
230
|
|
|
231
|
231
|
remoteTrack.on(
|
|
232
|
232
|
JitsiTrackEvents.TRACK_MUTE_CHANGED,
|
|
|
@@ -244,9 +244,12 @@ export default class ParticipantConnectionStatus {
|
|
244
|
244
|
onRemoteTrackRemoved(remoteTrack) {
|
|
245
|
245
|
if (!remoteTrack.isLocal()
|
|
246
|
246
|
&& remoteTrack.getType() === MediaType.VIDEO) {
|
|
|
247
|
+
|
|
|
248
|
+ const endpointId = remoteTrack.getParticipantId();
|
|
|
249
|
+
|
|
247
|
250
|
logger.debug(
|
|
248
|
|
- 'Detector on remote track removed: ',
|
|
249
|
|
- remoteTrack.getParticipantId());
|
|
|
251
|
+ 'Detector on remote track removed: ' + endpointId);
|
|
|
252
|
+
|
|
250
|
253
|
remoteTrack.off(
|
|
251
|
254
|
JitsiTrackEvents.TRACK_MUTE_CHANGED,
|
|
252
|
255
|
this._onSignallingMuteChanged);
|
|
|
@@ -263,7 +266,7 @@ export default class ParticipantConnectionStatus {
|
|
263
|
266
|
onTrackRtcMuted(track) {
|
|
264
|
267
|
var participantId = track.getParticipantId();
|
|
265
|
268
|
var participant = this.conference.getParticipantById(participantId);
|
|
266
|
|
- logger.debug('Detector track RTC muted: ', participantId);
|
|
|
269
|
+ logger.debug('Detector track RTC muted: ' + participantId);
|
|
267
|
270
|
if (!participant) {
|
|
268
|
271
|
logger.error('No participant for id: ' + participantId);
|
|
269
|
272
|
return;
|