mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: bug fix mirror
parent
686d6699c9
commit
4cac217d81
|
@ -338,7 +338,7 @@ export class StreamManager implements EventDispatcher {
|
||||||
}
|
}
|
||||||
if (!this.remote && !this.stream.displayMyRemote()) {
|
if (!this.remote && !this.stream.displayMyRemote()) {
|
||||||
video.muted = true;
|
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
|
// 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) {
|
||||||
|
|
Loading…
Reference in New Issue