openvidu-browser: do not mirror screen videos

pull/375/head
pabloFuente 2019-06-03 13:55:09 +02:00
parent 79334d9acd
commit aa0d96ca30
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ export class StreamManager implements EventDispatcher {
if (video.style.transform === 'rotateY(180deg)' && !this.stream.outboundStreamOpts.publisherProperties.mirror) {
// If the video was already rotated and now is set to not mirror
this.removeMirrorVideo(video);
} else if (this.stream.outboundStreamOpts.publisherProperties.mirror) {
} else if (this.stream.outboundStreamOpts.publisherProperties.mirror && !this.stream.isSendScreen()) {
this.mirrorVideo(video);
}
}