From 4e89d9d0feda186eaeac2e0a1c551afe97290469 Mon Sep 17 00:00:00 2001 From: Michelle Date: Thu, 16 Jul 2026 09:01:18 +0200 Subject: [PATCH] feat: disable transcript/summary recording formats when transcription is off When the per-room AI summary/transcript setting is disabled (or the integration is not configured), pass meta_bbb-disable-recording-formats=transcript,summary on meeting create so BBB skips processing and publishing those formats entirely (bigbluebutton/bigbluebutton#25277). Co-Authored-By: Claude Opus 4.8 --- server/config/bbb.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/server/config/bbb.js b/server/config/bbb.js index 2ab8c5a..31a1772 100644 --- a/server/config/bbb.js +++ b/server/config/bbb.js @@ -116,10 +116,16 @@ export async function createMeeting(room, logoutURL, loginURL = null, presentati if (analyticsCallbackURL) { params['meta_analytics-callback-url'] = analyticsCallbackURL; } - // BBB posts a signed recording-ready callback there once recording formats - // are processed; used to trigger the AI summary/transcript integration. - if (logoutURL && room.recording_transcript && isTranscriptionEnabled()) { - params['meta_bbb-recording-ready-url'] = `${logoutURL}/api/recordings/recording-ready`; + if (room.recording_transcript && isTranscriptionEnabled()) { + // BBB posts a signed recording-ready callback there once recording formats + // are processed; used to trigger the AI summary/transcript integration. + if (logoutURL) { + params['meta_bbb-recording-ready-url'] = `${logoutURL}/api/recordings/recording-ready`; + } + } else { + // Transcription/summary is off for this room — tell BBB to skip processing + // and publishing those recording formats entirely (BBB PR #25277). + params['meta_bbb-disable-recording-formats'] = 'transcript,summary'; } // Build optional presentation XML body - escape URL to prevent XML injection