mirror of https://github.com/OpenVidu/openvidu.git
ov-components: improve logging for participant disconnection event
parent
bd711b57f3
commit
c4c5fb9866
|
@ -528,7 +528,8 @@ export class SessionComponent implements OnInit, OnDestroy {
|
||||||
descriptionErrorKey = 'ERRORS.DISCONNECT';
|
descriptionErrorKey = 'ERRORS.DISCONNECT';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.log.e('Room Disconnected', participantLeftEvent.reason);
|
|
||||||
|
this.log.d('Participant disconnected', participantLeftEvent);
|
||||||
this.onParticipantLeft.emit(participantLeftEvent);
|
this.onParticipantLeft.emit(participantLeftEvent);
|
||||||
this.onRoomDisconnected.emit();
|
this.onRoomDisconnected.emit();
|
||||||
if (descriptionErrorKey) {
|
if (descriptionErrorKey) {
|
||||||
|
|
Loading…
Reference in New Issue