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

Adds getLiveDelay to MediaPlayer API #1604

Conversation

tchakabam
Copy link
Contributor

Should allow integrations / player plugins for checking if other components set this concurrently

Should allow integrations / player plugins for checking if other component
@tchakabam tchakabam changed the title Adds getLiveDelay to MediaPlayer instance Adds getLiveDelay to MediaPlayer API Sep 21, 2016
* @returns {number} Current live stream delay in seconds
*/
function getLiveDelay() {
return mediaPlayerModel.getLiveDelay();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good API to have as we are still missing live delay subtraction from DVR Metric. Meaning that control bar will render duration without live delay factored. I am fixing this now but this is useful. Thanks.

@dsparacio dsparacio merged commit 89cacb0 into Dash-Industry-Forum:development Sep 21, 2016
@dsparacio dsparacio added this to the v2.4.0 milestone Dec 19, 2016
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 this pull request may close these issues.

None yet

2 participants