fix(screen-sharing, picture-in-picture) re-enables PIP after stopping screen-share

This commit is contained in:
tmoldovan8x8 2021-12-03 15:44:19 +02:00 committed by GitHub
parent da0cb2b837
commit 646fdef6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ function _toggleScreenSharing(enabled, store) {
} }
} else { } else {
dispatch(destroyLocalDesktopTrackIfExists()); dispatch(destroyLocalDesktopTrackIfExists());
setPictureInPictureDisabled(false);
} }
} }