From 646fdef6bb8531e42b8212cc2f0530b1f807afa5 Mon Sep 17 00:00:00 2001 From: tmoldovan8x8 <62697631+tmoldovan8x8@users.noreply.github.com> Date: Fri, 3 Dec 2021 15:44:19 +0200 Subject: [PATCH] fix(screen-sharing, picture-in-picture) re-enables PIP after stopping screen-share --- react/features/base/conference/middleware.native.js | 1 + 1 file changed, 1 insertion(+) diff --git a/react/features/base/conference/middleware.native.js b/react/features/base/conference/middleware.native.js index 237b1727b..3f9a0105b 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); } }