diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/services/participant/participant.service.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/services/participant/participant.service.ts index 47d85567..1620d62b 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/services/participant/participant.service.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/services/participant/participant.service.ts @@ -252,7 +252,7 @@ export class ParticipantService { this.updateRemoteParticipants(); } } - protected getRemoteParticipantByConnectionId(connectionId: string): ParticipantAbstractModel { + getRemoteParticipantByConnectionId(connectionId: string): ParticipantAbstractModel { return this.remoteParticipants.find((p) => p.hasConnectionId(connectionId)); } @@ -296,7 +296,7 @@ export class ParticipantService { } } - protected updateRemoteParticipants() { + updateRemoteParticipants() { this._remoteParticipants.next(this.remoteParticipants); } protected newParticipant(steramModel?: StreamModel, participantId?: string) {