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

feat(hls): make a head request if hls subtitles have no extension #4140

Merged
merged 2 commits into from Apr 20, 2022

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented Apr 19, 2022

Closes #4135
Closes #1959

.setResponseText('test:/text', textMedia)
.setResponseText('test:/main.subs', vttText)
.setHeaders('test:/main.subs', {
'content-type': 'application/mp4; foo=bar',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be more realistic to give this a codec string? Perhaps something like TTML, which wouldn't otherwise be guessed by default?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function that has been modified only allows obtaining the mimetype, so entering codec information would not help.

@joeyparrish joeyparrish merged commit 19e12b5 into shaka-project:main Apr 20, 2022
@avelad avelad deleted the hls-subs-no-extension branch April 21, 2022 09:09
@avelad avelad added this to the v4.0 milestone May 4, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
2 participants