fix(photon): map audio/x-caf to .caf extension

CAF bytes were written into a .mp3 file, producing a corrupt file
unparseable by cloud STT APIs.
This commit is contained in:
Florian Valade 2026-07-17 14:52:42 +02:00 committed by Teknium
parent a2d8d3afc5
commit b813e8e6ea

View file

@ -1610,7 +1610,7 @@ _AUDIO_EXT_BY_MIME = {
"audio/mpeg": ".mp3",
"audio/ogg": ".ogg",
"audio/wav": ".wav",
"audio/x-caf": ".mp3",
"audio/x-caf": ".caf",
"audio/mp4": ".m4a",
"audio/aac": ".m4a",
}