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
AudioStreamController may stuck after flushing buffer #2079
Comments
please see possible solution in supplied PR |
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. |
still an issue |
👍
…On Sat, Mar 16, 2019 at 16:25 Alexey Gusev ***@***.***> wrote:
still an issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2079 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEzwZFewg9vG2pmfYRh5VrzD0YBTIKljks5vXVMogaJpZM4Z_12N>
.
|
Nope, tried the jsfiddle with the fix from the PR for the mentioned issue, still get the cycling. |
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. |
still an issue here |
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. |
ping |
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. |
ping |
Hi @mad-gooze, This appears to be working v0.14.5 with Can you confirm? (I'll reopen if I missed something in reproducing the issue) |
There are also additional improvements to audio track sync and state handling coming in #2919 |
What version of Hls.js are you using?
0.12.2
What browser and OS are you using?
Latests Chrome
Test stream:
Test page -- http://jsfiddle.net/0hzpgc7a/1/
Checklist
Steps to reproduce
This issue may happen in the wild when video stream is switched by abr controller or by user and
BUFFER_FLUSHING
event is triggered.I made a synthetic example with a sample stream with a single audio and video level.
In this example
BUFFER_FLUSHING
event is triggered manually afterFRAG_LOADING
event for the 3rd audio chunk (the exact number does not matter here).After BUFFER_FLUSHING playback may stall (this happens most of the times, try reloading the page). The problem is that
FragementTracker
marksfragCurrent
asAPPENDING
https://github.com/video-dev/hls.js/blob/v0.12.2/src/controller/audio-stream-controller.js#L314 because it was loaded duringIDLE
state and was not parsed so it never gets loaded and parsed again.Expected behavior
Playback continues
Actual behavior
Playback stalls
Console output
https://gist.github.com/mad-gooze/f77d1381f571049b6e44777771a98800
The text was updated successfully, but these errors were encountered: