feat: disable transcript/summary recording formats when transcription is off
Build & Push Docker Image / build (push) Successful in 4m16s
Build & Push Docker Image / build (push) Successful in 4m16s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -116,11 +116,17 @@ export async function createMeeting(room, logoutURL, loginURL = null, presentati
|
|||||||
if (analyticsCallbackURL) {
|
if (analyticsCallbackURL) {
|
||||||
params['meta_analytics-callback-url'] = analyticsCallbackURL;
|
params['meta_analytics-callback-url'] = analyticsCallbackURL;
|
||||||
}
|
}
|
||||||
|
if (room.recording_transcript && isTranscriptionEnabled()) {
|
||||||
// BBB posts a signed recording-ready callback there once recording formats
|
// BBB posts a signed recording-ready callback there once recording formats
|
||||||
// are processed; used to trigger the AI summary/transcript integration.
|
// are processed; used to trigger the AI summary/transcript integration.
|
||||||
if (logoutURL && room.recording_transcript && isTranscriptionEnabled()) {
|
if (logoutURL) {
|
||||||
params['meta_bbb-recording-ready-url'] = `${logoutURL}/api/recordings/recording-ready`;
|
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
|
// Build optional presentation XML body - escape URL to prevent XML injection
|
||||||
let xmlBody = null;
|
let xmlBody = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user