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:
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user