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(screen-sharing, picture-in-picture) re-enables PIP after stopping screen-share

tmoldovan8x8646fdef6bb85
diff --git a/react/features/base/conference/middleware.native.js b/react/features/base/conference/middleware.native.js
index 237b1727b5..3f9a0105b2 100644
--- a/react/features/base/conference/middleware.native.js
+++ b/react/features/base/conference/middleware.native.js
@@ -41,6 +41,7 @@ function _toggleScreenSharing(enabled, store) {
}
} else {
dispatch(destroyLocalDesktopTrackIfExists());
+ setPictureInPictureDisabled(false);
}
}