mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
feat(stt): Prefer ogg over mp4 for openai compatible providers and firefox
This commit is contained in:
parent
0b4deac953
commit
82f712bcc6
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue