Skip to content
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

Seeking within DVRWindow takes a lot of time if suggestedPresentationDelay exists in MPD #3224

Closed
5 tasks done
tomraut opened this issue Apr 23, 2020 · 4 comments · Fixed by #3307
Closed
5 tasks done
Assignees
Milestone

Comments

@tomraut
Copy link

tomraut commented Apr 23, 2020

Environment
  • Link to playable MPD file: not available at the moment
  • Dash.js version: 3.1.0
  • Browser name/version: Chrome latest
  • OS name/version: OS X Mojave
Steps to reproduce
  1. Start live stream with suggestedPresentationDelay set in MPD file.
  2. Seek backwards using timeline.
  3. Try to seek back to live.
Observed behaviour

It can take up to several minutes before playback resumes.

@dsilhavy dsilhavy added this to the 3.1.2 milestone May 5, 2020
@dsilhavy dsilhavy self-assigned this May 5, 2020
@dsilhavy
Copy link
Collaborator

@tomraut Would be good if you can provide a test stream. I tried this one and I could not reproduce the issue: https://wowzaec2demo.streamlock.net/live/bigbuckbunny/manifest_mvnumber.mpd

@tomraut
Copy link
Author

tomraut commented May 13, 2020

@dsilhavy we don't have any streams where suggestedPresentationDelay would be in place at MPD but I've been using our 24/7 news stream (https://mtvdashliveusp2-a.akamaized.net/live/E39USP/E39USP.isml/E39USP.mpd) and placing suggestedPresentationDelay on the fly before passing manifest to dash.js. Do you think you could do the same?

@dsilhavy
Copy link
Collaborator

@tomraut Can you please check if your problem was fixed with #3285 -> Nightly version:
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html

@dsilhavy
Copy link
Collaborator

Feedback from @tomraut

  • minBufferTime 10 => 4: stream is -16s from live edge, seeking back and forth works without issues

  • suggestedPresentationDelay added and set to 4: stream is -14s from live edge but seeking back and forth does not work, player starts fetching audio/video packages without ever resuming playback, see screenshots below

@dsilhavy :
The issue is still that after seeking back to the live edge no valid segment request for the target latency can be found. Player starts downloading segments from the beginning. I think suggestedPresentationDelay should be aligned to what is available in the MPD, but dash.js should be able to handle the case when it is not.

Right now the live delay gets adjusted during the startup. so whenever no segment is available the live delay is adjusted until we find a valid segment in the timeline. problem is, we are playing at the bleeding live edge (in terms of whats available in the mpd). So when you seek within the dvr window and back to live, live delay might still be too close to the now time. then no segment request can be generated. this needs to be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants