-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Issue in Linear restart playback #4633
Comments
@dsilhavy Could you please let me know how to do linear restart? |
Simply calling |
@dsilhavy Since i am doing linear restart calling player.attachSource(mpd, 0) another approach i tried when i use dash.js 3.1.0 calling player.attachSource(mpd, 0) starts playback from 0. |
There is some documentation on how seek works in v5 (nightly build) here: https://dashif.org/dash.js/pages/advanced/timing-apis.html I assume by "linear" content you mean live/dynamic content? In this case seeking to position 0 means seeking to the beginning of the DVR window. What might happen is that there are no segments signaled in the MPD anymore for that specific target time. Did you also check if the behavior is similar on Desktop browsers? |
Yes, linear i mean is live/dynamic content. Same content I checked with 3.1.0 version where seeking to position 0 plays from 0 sec. but in 4.7.2, 4.7.4 it does not play from beginning i.e, 0 sec. I checked Desktop browsers behaviour is same. |
@dsilhavy Issue is not seen in 3.1.0 version on seek(0) it plays from beginning. so I assume content does not have issue. |
There is no specific setting. Please provide the URL to your stream to reproduce |
@dsilhavy Thanks! I do not have clear content now, i have requested for clear content. Once i get i will share. I was tracking back this issue, i found issue started from version 3.2.0. Less than 3.2.0 seek works from 0 position. |
Environment
Steps to reproduce
*Restart linear/CDRV content
*playback should start from beginning
Issue is not seen in dashjs version 3.1.0.
I am passing streamUrl and startPosition to restart playback from beginning.
this.dashPlayer.attachSource(
streamUrl,
0, //startPosition
);
8/10 times
Observed behavior
Describe what the player is doing that is unexpected or undesired behaviour.
Player is not downloading segments only mpd keeps on downloading
Console output
Expected behavior
Describe what the player is expected to do
On restart playback playback should resume from beginning.
The text was updated successfully, but these errors were encountered: