AP-487: declare correct mime type for HLS streams#17
Merged
anarchivist merged 3 commits intomainfrom Nov 6, 2025
Merged
Conversation
our declaration of the HLS mimetype in the `<video>` and `<audio>` elements is incorrect. the audio and video partials declare it as `application/x-mpegURL`, the correct mime type is `application/vnd.apple.mpegurl` according to the [HLS spec](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-18).
Contributor
|
There are some mentions of x-mpegurl in av-core as well. Should we go through and update those? |
Member
Author
|
@jason-raitz yep, i'll go and submit a PR now |
Member
Author
|
@jason-raitz actually, as it turns out, |
anarchivist
added a commit
to BerkeleyLibrary/av-core
that referenced
this pull request
Nov 6, 2025
identified in code review of BerkeleyLibrary/avplayer#17. the declared mime types as specified for FileType::MP3 erroneously are using the mime type for m3u8 playlists instead of the correct mime type for mp3 data.
awilfox
reviewed
Nov 6, 2025
anarchivist
added a commit
to BerkeleyLibrary/av-core
that referenced
this pull request
Nov 6, 2025
identified in code review of BerkeleyLibrary/avplayer#17. the declared mime types as specified for FileType::MP3 erroneously are using the mime type for m3u8 playlists instead of the correct mime type for mp3 data.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
our declaration of the HLS mimetype in the
<video>and<audio>elements is incorrect. the audio and video partials declare it asapplication/x-mpegURL, the correct mime type isapplication/vnd.apple.mpegurlaccording to the HLS spec.