Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: solved the flip bug in screen share video (#13542)

Fatemeh Marzoughi (Saba)e8766b265d7c
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.js
index 45d55fb00e..4a230330a8 100644
--- a/modules/UI/videolayout/VideoContainer.js
+++ b/modules/UI/videolayout/VideoContainer.js
@@ -508,7 +508,7 @@ export class VideoContainer extends LargeContainer {
*/
setLocalFlipX(val) {
this.localFlipX = val;
- if (!this.video || !this.stream || !this.stream.isLocal()) {
+ if (!this.video || !this.stream || !this.stream.isLocal() || this.isScreenSharing()) {
return;
}
this.video.style.transform = this.localFlipX ? 'scaleX(-1)' : 'none';