Bug - Toggle Camera while in lobby prevents join in Secure Domain

I have found a bug when using a secure domain with Tokens (tried multiple deployments), If while waiting in a lobby a user toggle’s their camera, when the moderator lets them in they get stuck in a limbo where they can hear the meeting but can’t see or speak. The console log shows an error with getVideoTracks.

Logger.js:154 2023-02-13T19:16:09.999Z [JitsiMeetJS.ts] <Object.getGlobalOnErrorHandler>: UnhandledError: Cannot read properties of null (reading ‘getVideoTracks’) Script: null Line: null Column: null StackTrace: TypeError: Cannot read properties of null (reading ‘getVideoTracks’)

Do you reproduce this on meet.jit.si?

I can only reproduce it on a secure domain server so far. I can pm you the console logs and a gif of it happening if that would be helpful

Any chance you can get a more complete stack trace?

I pm’d you the console logs but can get you anything else that you need.

The error looks very weird, it’s failing in the face-landmarks code, but that probably means something else is wrong.

Can you try to disable face-landmarks and give it another try?