Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mimetypes for HLS streams, add mimetypes for segment files #3162

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

DispatchCommit
Copy link
Contributor

Fix mimetype for HLS playlist .m3u8 file. Currently it returns an outdated vendor specific mimetype that has poor support and does not correctly identify in most modern browser.

Instead it should be replaced with the the generic x-mpegURL mimetype as this has wider support.

Also, add mimetypes for segment files, in case those are needed at some point in the future.

@DispatchCommit
Copy link
Contributor Author

This is just a minor improvement upon a much older contribution of mine: #2996

This modification would just make it slightly easier to implement some additional features related to livestreaming by removing some of the logic required to be client side.

@DispatchCommit DispatchCommit added area: blobs/files type: improvement Existing (or partially existing) functionality needs to be changed labels Jan 24, 2021
@eukreign
Copy link
Member

Looks good to me; can you rebase on master please?

@eukreign eukreign added type: improvement Existing (or partially existing) functionality needs to be changed and removed type: improvement Existing (or partially existing) functionality needs to be changed labels Jan 25, 2021
@eukreign eukreign merged commit 7f375f4 into lbryio:master Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: blobs/files type: improvement Existing (or partially existing) functionality needs to be changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants