diff --git a/openvidu-ionic/src/app/ov-video.component.ts b/openvidu-ionic/src/app/ov-video.component.ts index 3bc9c815..a734bd01 100644 --- a/openvidu-ionic/src/app/ov-video.component.ts +++ b/openvidu-ionic/src/app/ov-video.component.ts @@ -22,7 +22,6 @@ export class OpenViduVideoComponent implements AfterViewInit, OnDestroy { // Give the remote video some time to update its dimensions when rotating the device setTimeout(() => { this.applyIosIonicVideoAttributes(); - cordova.plugins.iosrtc.refreshVideos(); }, 250); }; (window).addEventListener('orientationchange', this.rotationFunction); @@ -43,7 +42,6 @@ export class OpenViduVideoComponent implements AfterViewInit, OnDestroy { this._streamManager.on('streamPropertyChanged', event => { if ((event).changedProperty === 'videoDimensions') { this.applyIosIonicVideoAttributes(); - cordova.plugins.iosrtc.refreshVideos(); } }); }