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(shared-video): do not prompt jibri to confirm playing shared video

damenchoe4a14d93d24a
diff --git a/react/features/shared-video/middleware.ts b/react/features/shared-video/middleware.ts
index dab57dd957..7958602b3f 100644
--- a/react/features/shared-video/middleware.ts
+++ b/react/features/shared-video/middleware.ts
@@ -78,7 +78,10 @@ MiddlewareRegistry.register(store => next => action => {
if (isURLAllowedForSharedVideo(value, state['features/shared-video'].allowedUrlDomains, true)
|| localParticipantId === from
- || state['features/shared-video'].confirmShowVideo) { // if confirmed skip asking again
+ || state['features/shared-video'].confirmShowVideo // if confirmed skip asking again
+
+ // jibri cannot confirm the dialog, just play
+ || (state['features/base/config'].iAmRecorder && conference.isHidden())) {
handleSharingVideoStatus(store, value, {
...attributes,
from