-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Long wait time for Stalled Playback: Reference Issue https://github.com/google/shaka-player/issues/2131 #3076
Comments
I will email a test stream and License config.
One other thing I am noticing is that the gap does not seem to be detected or skipped in newer versions of chrome.
Is never reported and playback begins immediately. But with Tizen 3 (2017) the above occurs and the very long stall occurs. |
Email sent with a test configuration. log.js:113 [Youbora][06:28:09.974] n: /pause at 0.046s
log.js:113 [Youbora][06:28:10.028] v: XHR Req: //infinity-c11.youboranqs01.com/resume?pauseDuration=-1&playhead=0.046&timemark=1609896490026
log.js:113 [Youbora][06:28:10.039] n: /resume -1ms Which suggests the pause and resume are not in sync somehow? |
Seeking tends to be very slow on devices like this, and not every gap needs to be jumped over. Can you please try disabling gap-jumping to see if that resolves the issue? player.configure('streaming.smallGapLimit', 0);
player.configure('streaming.jumpLargeGaps', false); |
I think it helps a bit but still a very long stall time on the video. Can I email another manifest to check with please? |
Have emailed Manifest and License for this issue. |
Hi @joeyparrish The above config does not stop this particular issue from occurring. Just wondering if you were you able to replicate on Tizen 2017 with the supplied Manifest and License? Any help here appreciated. |
Sorry for losing track of this issue. If the problem is caused by the negative timestamps, you could offset them by modifying the manifest. The presentationTimeOffset attribute in DASH is used to adjust how timestamps are interpreted by the browser. Could you try adjusting that in lieu of re-encoding the content? |
@stuartflanagan Does this answer all your questions? Can we close the issue? |
Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including |
I have not tried this yet as I just saw it. Thank you for following up though @joeyparrish I will give it a go |
@joeyparrish Do you have an example of how and when to set this please? Is it in the configuration? |
It's an attribute on certain elements in the DASH manifest. If you can control the generation of the MPD or edit it after the fact, you can try adding/manipulating presentationTimeOffset. |
Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes I am refering to a closed issue that I am still having some issue with.
What version of Shaka Player are you using?
Shaka 3.0.6
Please ask your question
A long while ago I raised a support ticket that got quite a bit of attention. It seems this has been fixed and i can confirm that on the device I reported the issue from (2017 Tizen 3 TV) that playback is working.
Unfortunately it can take anywhere for between 30seconds to more than a minute for playback to start though.
I can see in the logs that stalls are detected and attempts to move the playhead are done but there are some reports of this not being possible:
We have detected an issue where our manifest segments have a negative start time. We discovered this with FFPROBE.
Unfortunately re-transcoding everything is not an option for us and this only seems to affect Tizen2.4 & Tizen 3 with Shaka.
The Tizen player handles the start time without a long stall. Essentially we would like to use the same player where possible though so I am asking if you have any tips on how we can prompt the playback to begin more quickly. It seems that the 0.046 seconds is the gap start time in each playback attempt too. I am not sure if this helps.
From FFPROBE the Audio track always starts at: -0.0464400
But the video track starts at 0
It seems that Shaka is not taking the negative segment start into account as the playhead move is from positive 0.046.
At present we are using this config to get playback occurring:
But it can still take much longer than 2 seconds for playback to begin. Approximately 30-40 seconds
Any help you could provide for config options that might help speed the stall up would be great.
Kind regards,
Stuart
The text was updated successfully, but these errors were encountered: