From 2ca5e2362e6b77d68bf94cf68345c189a5b9e788 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 11 Apr 2023 11:30:46 +0200 Subject: [PATCH] openvidu-components: Removed workaround for avoiding blank videos on iOS --- .../src/lib/components/session/session.component.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/session/session.component.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/session/session.component.ts index 29529bd5..7e03d734 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/session/session.component.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/session/session.component.ts @@ -186,11 +186,6 @@ export class SessionComponent implements OnInit, OnDestroy { this.subscribeToReconnection(); await this.connectToSession(); - // ios devices appear with blank video. Muting and unmuting it fix this problem - if (this.platformService.isIos() && this.participantService.isMyCameraActive()) { - await this.openviduService.publishVideo(false); - await this.openviduService.publishVideo(true); - } if (this.libService.isRecordingEnabled()) { this.subscribeToRecordingEvents();