openvidu-ionic: redundant lines removed

This commit is contained in:
pabloFuente 2018-12-20 12:38:04 +01:00
parent a0f0e701e0
commit 03ed6343d9

View File

@ -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);
};
(<any>window).addEventListener('orientationchange', this.rotationFunction);
@ -43,7 +42,6 @@ export class OpenViduVideoComponent implements AfterViewInit, OnDestroy {
this._streamManager.on('streamPropertyChanged', event => {
if ((<StreamPropertyChangedEvent>event).changedProperty === 'videoDimensions') {
this.applyIosIonicVideoAttributes();
cordova.plugins.iosrtc.refreshVideos();
}
});
}