openvidu-ionic: redundant lines removed
This commit is contained in:
parent
a0f0e701e0
commit
03ed6343d9
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user