mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 03:17:27 +02:00
fix(transcoding): report AAC streams as audio/aac instead of audio/mp4 (#5998)
The default AAC transcode emits raw ADTS (`ffmpeg ... -f adts -`), but the MIME table mapped `.aac` to `audio/mp4`. Clients that dispatch strictly on Content-Type could reject the stream because the declared container did not match the payload. `.m4a` and `.alac` stay on `audio/mp4`, since those really are MP4. Fixes #5958 Signed-off-by: Aditya Raj Singh <aditya@bncw.in> Co-authored-by: Deluan Quintão <deluan@navidrome.org>
This commit is contained in:
parent
b134f16fd5
commit
3867fab4da
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ types:
|
|||
.ogg: audio/ogg
|
||||
.oga: audio/ogg
|
||||
.opus: audio/ogg
|
||||
.aac: audio/mp4
|
||||
.aac: audio/aac
|
||||
.alac: audio/mp4
|
||||
.m4a: audio/mp4
|
||||
.m4b: audio/mp4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue