fix conditions for transcription

This commit is contained in:
leo
2026-03-25 11:35:27 +01:00
parent 12851d940e
commit 665cb0edde
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -340,8 +340,9 @@ class RoomViewSet(
status=drf_status.HTTP_500_INTERNAL_SERVER_ERROR,
)
if settings.METADATA_COLLECTOR_ENABLED and recording.options.get(
"transcribe", False
if settings.METADATA_COLLECTOR_ENABLED and (
recording.mode == models.RecordingModeChoices.TRANSCRIPT
or recording.options.get("transcribe", False)
):
try:
MetadataCollectorService().start(recording)
@@ -102,8 +102,8 @@ export const TranscriptSidePanel = () => {
...(!isLanguageSetToAuto && {
language: selectedLanguageKey,
}),
transcribe: true,
...(includeScreenRecording && {
transcribe: true,
original_mode: RecordingMode.Transcript,
}),
}