mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-16 14:33:48 +00:00
Documented the transcription bitrate decisions and hardened its fallback
This commit is contained in:
7 files changed
+35
-5
No files matched your search
@@ -21,6 +21,9 @@ public static class TranscriptionOpusBitrateExtensions
|
||||
TranscriptionOpusBitrate.KBPS_64 => 64_000,
|
||||
TranscriptionOpusBitrate.KBPS_128 => 128_000,
|
||||
TranscriptionOpusBitrate.KBPS_256 => 256_000,
|
||||
_ => 32_000,
|
||||
|
||||
// A value we do not know must never mean the lowest quality: that is how quiet passages
|
||||
// went missing from transcripts in the first place. Fall back to the recommended bitrate.
|
||||
_ => 128_000,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user