openvidu-browser: bug fix mirror

pull/154/head
pabloFuente 2018-10-25 11:31:23 +02:00
parent 686d6699c9
commit 4cac217d81
1 changed files with 1 additions and 1 deletions

View File

@ -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) {