openvidu-browser: bug fix (do not send streamPropertyChanged from mobile devices when rotating if stream not Published)
This commit is contained in:
parent
b6ea4d0584
commit
f28f006370
@ -109,7 +109,7 @@ export class OpenVidu {
|
||||
// Listen to orientationchange only on mobile devices
|
||||
(<any>window).addEventListener('orientationchange', () => {
|
||||
this.publishers.forEach(publisher => {
|
||||
if (!!publisher.stream && !!publisher.stream.hasVideo && !!publisher.stream.streamManager.videos[0]) {
|
||||
if (publisher.stream.isLocalStreamPublished && !!publisher.stream && !!publisher.stream.hasVideo && !!publisher.stream.streamManager.videos[0]) {
|
||||
|
||||
let attempts = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user