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
video jumps backward instead of forward - since version 0.13.0 #2494
Comments
Hi @jony89. Thanks for the bug report. I'll take a look at how Please include your player configuration and stream details (target duration, live, etc..) in the bug description. For now, have you considered increasing |
here is the custom configuration that I was using while getting this bug : startFragPrefetch: true,
fragLoadingMaxRetry: 1,
initialLiveManifestSize: 1,
liveSyncDurationCount: 1,
liveMaxLatencyDurationCount: 2, everything else is by default.
yup, that is what I did. |
@jony89 v0.12.4...v0.13.0#diff-92ec9c117a188d62ae4becd0540933d6L307 I don't see how this could be a regression, so please update the issue accordingly and provide the expected behavior for As far as I can tell this is expected behavior based on your configuration. I believe it is being The I do see a flaw in using |
correct, but as I described, it is because
yup. we can set the minimum return value to the I can try create PR with test for this if the logic is acceptable. |
Thanks @jony89 !
That would help. Let me know either way. We can get a fix for this in 0.13.2 |
@robwalch added PR |
Thanks @jony89! |
What version of Hls.js are you using?
0.13.0 or 0.13.1
What browser and OS are you using?
mac, high sierra, chrome
Checklist
Expected behavior
live sync position should be calculated correctly, and definitly should not return a value that is smaller than the current video time.
Actual behavior
htmlVideoElement.currentTime
25.010486
bufferEnd
25.041
start
8.126
config.maxFragLookUpTolerance
0.25
maxLatency
2
end
27.334
yet the calculated
liveSyncPosition
is 22.625999 which is smaller than the video current time.config.liveSyncDurationCount = 1
Console output
Again, this works fine with
hls.js
version 0.12.4. while debugging 0.12.4 I don't even get to_ensureFragmentAtLivePoint
.The text was updated successfully, but these errors were encountered: