feat(stt): Prefer ogg over mp4 for openai compatible providers and firefox

This commit is contained in:
Pascal Garber 2026-01-27 13:14:37 +01:00
parent 0b4deac953
commit 82f712bcc6
No known key found for this signature in database
GPG key ID: 95355839273FC525

View file

@ -52,12 +52,12 @@ const useSpeechToTextExternal = (
function getBestSupportedMimeType() {
const types = [
'audio/webm',
'audio/webm;codecs=opus',
'audio/mp4',
'audio/ogg;codecs=opus',
'audio/ogg',
'audio/wav',
'audio/webm',
'audio/webm;codecs=opus',
'audio/mp4',
];
for (const type of types) {