-
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
Replace DVRInfo metric with dvrwindowchanged event and MediaPlayer API #1355
Comments
Adding reference to this issue as it may be related #887 |
I am for removing DVR Info as a metric and using event driven data and model store. |
I think it makes sense to break this into separate issues (as alluded to by the bullet points in the original message):
I'll update this issue title to cover the changes to the first part only, and raise new issues for the others. |
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. |
This issue has been automatically closed because no further activity occurred. If you think this issue is still relevant please reopen it. Thank you for your contributions. |
Previously, in issue #838, the wallclock interval was decreased due to it increasing startup delay.
However, looking at where this is used today, it is only used to control buffer pruning and updating the availability window - and running this every 50ms is in my opinion excessive.
Meanwhile, the DVRInfo metric is updated on every buffer level change, even when the content is on demand. This means that if you pause playback, the client does not have any events to inform it of a change in the available window. In the case of a UI that draws a control bar for the current availability window such as http://is.gd/ExzwTu, this results in a broken experience for users.
To solve both of these problems in our use case, we increased the wall clock time to 1000, and send the DVRInfo event every tick, for dynamic content only: https://github.com/Dash-Industry-Forum/dash.js/compare/development...bbc:dvr-wallclock?expand=1
To improve this behaviour more generally though, I think we need to consider:
The text was updated successfully, but these errors were encountered: