openvidu-browser: fix StreamManager.initializeVideoProperties mirror prop

pull/707/head
pabloFuente 2022-03-14 12:26:03 +01:00
parent fd1cc1a59d
commit a34f67639a
1 changed files with 3 additions and 3 deletions

View File

@ -415,10 +415,10 @@ export class StreamManager extends EventDispatcher {
}
if (this.remote && this.isMirroredVideo(video)) {
// Remote video associated to a previously mirrored video element
// Subscriber video associated to a previously mirrored video element
this.removeMirrorVideo(video);
} else if (!this.stream.displayMyRemote()) {
// Local video
} else if (!this.remote && !this.stream.displayMyRemote()) {
// Publisher video
video.muted = true;
if (this.isMirroredVideo(video) && !this.stream.outboundStreamOpts.publisherProperties.mirror) {
// If the video was already rotated and now is set to not mirror