-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Gap in multi-period MPD causes hang #384
Comments
Sorry there is one attribute put in the wrong place in the uploaded mpd, in Event tag, "timescale" should not be put there but should be put in EventStream. Correct mpd should look like this:
But this doesn't affect the outcome, it will get stuck at period end. |
Thanks, we'll take a look. Odds are good that there is a gap at the start of the second period, which is something we do not currently support. |
Sorry we lost track of this one. It appears that you have a gap in your content. According to Chrome's buffered time ranges, Period 0 ends at 89.061333, but Period 1 begins at 89.24. The references from the manifest seem to indicate that the final segments of Period 0 should go all the way to 89.24, but they do not. Gaps in content is something we do not support at this time. Any gap larger than what the browser will jump automatically will currently cause a hang such as this one. As far as we know, a gap of 150ms or less should be skipped by all major browsers, so that's our effective tolerance. |
Thanks for the information. I tried to edit the manifest such that Period 1 to start at 89.061333, then shaka can play through the transition from Period 0 to Period 1. Therefore this "gap" should be the main reason that caused playback hang. However, this "gap" only exists in audio streams, for video stream in Period 0 it should end exactly at the time Period 1 starts. If there is only one single period, then all content could be played even if there is "gap" between audio and end of period(ie. only video is played in the end). I would expect shaka-player should also play all content in the case with multiple periods. Here I have a few questions:
|
|
@l-law, is there anything else we can do for you on this topic? |
Closing due to inactivity. |
Shaka Player v2.0.0-beta2-debug (http://shaka-player-demo.appspot.com/demo/) on Chrome 49, Windows 7, failed to play a static MPD with multiple periods, it will hang after playing a period.
It is possible to seek outside the current period, eg. seek to period 2 while playing period 1, then shaka-player will start from the seek point and play until end of period 2, but will not play period 3.
Test assets can be found at https://drive.google.com/file/d/0BymF_2aNp_hBWmtmaUprNmZ2M2c/view?usp=sharing
manifest.mpd immediately inside the zip file is the MPD that caused playback hang.
Not sure if it is related to #381
The text was updated successfully, but these errors were encountered: