From 4cac217d81a02a17311dd971134ee78f2691699a Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Thu, 25 Oct 2018 11:31:23 +0200 Subject: [PATCH] openvidu-browser: bug fix mirror --- openvidu-browser/src/OpenVidu/StreamManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-browser/src/OpenVidu/StreamManager.ts b/openvidu-browser/src/OpenVidu/StreamManager.ts index 3c8b3521..15b6cadd 100644 --- a/openvidu-browser/src/OpenVidu/StreamManager.ts +++ b/openvidu-browser/src/OpenVidu/StreamManager.ts @@ -338,7 +338,7 @@ export class StreamManager implements EventDispatcher { } if (!this.remote && !this.stream.displayMyRemote()) { video.muted = true; - 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 this.removeMirrorVideo(video); } else if (this.stream.outboundStreamOpts.publisherProperties.mirror) {