ov-components: improve logging for participant disconnection event

master
Carlos Santos 2025-05-14 17:50:49 +02:00
parent bd711b57f3
commit c4c5fb9866
1 changed files with 2 additions and 1 deletions

View File

@ -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) {