openvidu-components: Fixed participant name value in prejoin component

This commit is contained in:
csantosm 2022-03-16 14:21:58 +01:00
parent 6a01a33dba
commit 16f211751b

View File

@ -209,6 +209,7 @@ export class PreJoinComponent implements OnInit, OnDestroy {
private subscribeToLocalParticipantEvents() {
this.localParticipantSubscription = this.participantService.localParticipantObs.subscribe((p) => {
this.localParticipant = p;
this.nickname = this.localParticipant.getNickname();
});
}