From aef99057b26f9f6c2e3e9441a77a8221b055b018 Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Tue, 17 Feb 2026 22:03:57 +0100 Subject: [PATCH] fix: verify camera is ON after joining meeting using in-meeting video-button Co-authored-by: Cursor --- src/bot/orchestrator.ts | 83 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/src/bot/orchestrator.ts b/src/bot/orchestrator.ts index 1b3467c..26a645b 100644 --- a/src/bot/orchestrator.ts +++ b/src/bot/orchestrator.ts @@ -156,6 +156,9 @@ export class BotOrchestrator { // Dismiss any post-join permission modals (e.g. "Manage windows on all displays") await this._joinProcedure!.dismissBrowserPermissionModals(); + // Verify camera is on in the meeting + await this._ensureCameraOnInMeeting(); + // Initialize audio playback await this._audioProcedure!.initialize(); @@ -311,6 +314,9 @@ export class BotOrchestrator { // Start keepalive to prevent idle disconnect this._startKeepAlive(); + // Verify camera is on in the meeting + await this._ensureCameraOnInMeeting(); + // Initialize audio playback await this._audioProcedure!.initialize(); @@ -384,6 +390,83 @@ export class BotOrchestrator { } } + /** + * Verify camera is on after joining the meeting, and turn it on if not. + * + * In-meeting camera button (from Teams DOM): + *