mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: do not mirror screen videos
parent
79334d9acd
commit
aa0d96ca30
|
@ -385,7 +385,7 @@ export class StreamManager implements EventDispatcher {
|
||||||
if (video.style.transform === 'rotateY(180deg)' && !this.stream.outboundStreamOpts.publisherProperties.mirror) {
|
if (video.style.transform === 'rotateY(180deg)' && !this.stream.outboundStreamOpts.publisherProperties.mirror) {
|
||||||
// If the video was already rotated and now is set to not mirror
|
// If the video was already rotated and now is set to not mirror
|
||||||
this.removeMirrorVideo(video);
|
this.removeMirrorVideo(video);
|
||||||
} else if (this.stream.outboundStreamOpts.publisherProperties.mirror) {
|
} else if (this.stream.outboundStreamOpts.publisherProperties.mirror && !this.stream.isSendScreen()) {
|
||||||
this.mirrorVideo(video);
|
this.mirrorVideo(video);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue