From 8dc320313ab17919390c67015d0bcf2d7e8a0c30 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 18 Jun 2024 10:37:18 +0200 Subject: [PATCH] openvidu-components: Updated tutorials --- .../openvidu-custom-layout/src/app/app.component.ts | 4 ++-- .../src/app/app.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openvidu-components/openvidu-custom-layout/src/app/app.component.ts b/openvidu-components/openvidu-custom-layout/src/app/app.component.ts index e0dd12f0..61fbca9a 100644 --- a/openvidu-components/openvidu-custom-layout/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-layout/src/app/app.component.ts @@ -131,12 +131,12 @@ export class AppComponent implements OnInit, OnDestroy { // Subscribe to updates for local and remote participants subscribeToParticipants() { this.localParticipantSubs = - this.participantService.localParticipantObs.subscribe((p) => { + this.participantService.localParticipant$.subscribe((p) => { if (p) this.localParticipant = p; }); this.remoteParticipantsSubs = - this.participantService.remoteParticipantsObs.subscribe( + this.participantService.remoteParticipants$.subscribe( (participants) => { this.remoteParticipants = participants; } diff --git a/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts b/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts index 46974fb2..c7bfffa1 100644 --- a/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts @@ -110,12 +110,12 @@ export class AppComponent implements OnInit, OnDestroy { // Subscribes to updates for local and remote participants. subscribeToParticipants() { this.localParticipantSubs = - this.participantService.localParticipantObs.subscribe((p) => { + this.participantService.localParticipant$.subscribe((p) => { if (p) this.localParticipant = p; }); this.remoteParticipantsSubs = - this.participantService.remoteParticipantsObs.subscribe( + this.participantService.remoteParticipants$.subscribe( (participants) => { this.remoteParticipants = participants; }