Random Screen Sharing issues : Failed to switch to screensharing bt

it’s been three weeks since we put into production a jitsi distribution with the stable version 7001.
We notice a strange behaviour on screen sharing functionality: randomly a user in a room can’t share share his screen; on browser console we seen the following logs:

(anonimo) @ ScreenObtainer.js:246
Logger.js:154 2022-05-06T09:16:19.855Z [features/base/tracks] Failed to create local tracks Array(1) bt
i @ Logger.js:154
(anonimo) @ functions.js:189
Logger.js:154 2022-05-06T09:16:19.856Z [conference.js] <Object.toggleScreenSharing>:  Failed to switch to screensharing bt
i @ Logger.js:154
toggleScreenSharing @ conference.js:1764
conference.js:1118 muteVideo - unable to perform operations while video switch is in progress
muteVideo @ conference.js:1118
Logger.js:154 2022-05-06T09:27:19.172Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>:  UnhandledError: toggleScreenSharing: true aborted - video switch in progress. Script: null Line: null Column: null StackTrace:  n/a
r @ Logger.js:154

Do you know what would be the cause ?

Could be a Client Side issue?

I have also attached the complete console log if you need it…

log-1651829492238.log (43.8 KB)

We have made tons of screen-sharing fixes recently. I’d encourage you to update to the latest stable and give it a try.