openvidu-components: Removed workaround for avoiding blank videos on iOS

pull/803/head
Carlos Santos 2023-04-11 11:30:46 +02:00
parent 979fd14ccc
commit 2ca5e2362e
1 changed files with 0 additions and 5 deletions

View File

@ -186,11 +186,6 @@ export class SessionComponent implements OnInit, OnDestroy {
this.subscribeToReconnection(); this.subscribeToReconnection();
await this.connectToSession(); 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()) { if (this.libService.isRecordingEnabled()) {
this.subscribeToRecordingEvents(); this.subscribeToRecordingEvents();