From 9c62fdb19192018402aa2c21f56d1cd8bcb83985 Mon Sep 17 00:00:00 2001 From: Tainan Felipe Date: Fri, 14 Jun 2024 14:38:50 -0300 Subject: [PATCH] Fix: inifity load --- .../imports/ui/components/screenshare/component.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/screenshare/component.jsx b/bigbluebutton-html5/imports/ui/components/screenshare/component.jsx index 78bba12abb..d1d20980bf 100755 --- a/bigbluebutton-html5/imports/ui/components/screenshare/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/screenshare/component.jsx @@ -52,7 +52,7 @@ class ScreenshareComponent extends React.Component { this.state = { loaded: false, autoplayBlocked: false, - mediaFlowing: false, + mediaFlowing: true, switched: false, // Volume control hover toolbar showHoverToolBar: false, @@ -527,9 +527,8 @@ class ScreenshareComponent extends React.Component { // 3 - The media was loaded, the stream was globally broadcasted BUT the stream // state transitioned to an unhealthy stream. tl;dr: screen sharing reconnection const shouldRenderConnectingState = !loaded - || (isPresenter && !isGloballyBroadcasting) - || (!mediaFlowing && loaded && isGloballyBroadcasting); - + || (isPresenter && !isGloballyBroadcasting) + || (!mediaFlowing && loaded && isGloballyBroadcasting); const display = (width > 0 && height > 0) ? 'inherit' : 'none'; const Settings = getSettingsSingletonInstance();