-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Hls live webvtt subtitle #2074
Hls live webvtt subtitle #2074
Conversation
Hey @htleeab ! Thanks for the contribution, do you have a working livestream with WebVTT subtitles we can test your changes with? |
Sorry, I cannot provide my livestream with WebVTT to public due to copyright. |
…tion instead of cue end
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Up
…On Tue, Apr 9, 2019 at 00:16 stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2074 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEzwZKty8LZ21MySqHeMoUb8n3qJSsPYks5vfBQogaJpZM4Z5IAo>
.
|
Closed in favor of #2148. @htleeab, please verify that these changes (as of latest, 0.12.4) are working for you. If not please open a new PR and I'll be happy to review. |
Not really work for my stream, but it should be issue of encoder rather than the player. The stream I using do not have WebVTT header or EXT-X-MAP, so it do not match HLS Spec. My branch estimate timestamp from cue time. It is fine to just close this PR since this patch is not strictly follow HLS Spec. |
This PR will...
Why is this Pull Request needed?
hls.js cannot display live webVTT subtitle
Resolves issues:
hls.js cannot play webVTT subtitle because it
Are there any points in the code the reviewer needs to double check?
alt. subtitle switching + fail sliding (e.g. can checked by hide subtitle, wait all fragments in the the previous playlist out of range, show subtitle)
When the fragment range is updated by cue range, the range of other fragments are shifted to front because the range of cue usually smaller than the actual fragment range. I increase the subtitle lookup tolerance by duration so that it can still find next subtitle fragment. Is there other design that update fragment range without increase tolerance?
subtitle with fmp4's initPTS
Other type of subtitle
Checklist