-
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
Expose PresentationTimeline segment availability duration through Player #2711
Comments
Why would you need this value? The main reason I would think you'd want this is to determine the seek range. In this case, you can use |
Thanks @TheModMaker
Yes, correct. In most cases we are happily using We would like to access the value of |
What do you mean about the "future duration" of a stream? How does what you want differ from player.seekRange()? |
@Stansbridge Does this answer all your questions? Can we close the issue? |
Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including |
Sorry for the ambiguity - We would like to access the value of
For example: If a stream has been live for 10 minutes with a tsbd value set to PT3H we could expect Access to this value is really useful to us. If the Shaka team disagrees then we will continue using our workaround. Thank you! |
Ah, I see. You want to know the full DVR window, but there may not yet be enough content to fill it. That's very reasonable. I'll reopen this as a feature request. |
Have you read the Tutorials?
Mostly :-)
Have you read the FAQ and checked for duplicate open issues?
I have done a solid search
What version of Shaka Player are you using?
2.5.5 - precompiled NPM package
Please ask your question
I'd like to access the MPD
timeShiftBufferDepth
value which is stored insidePresentationTimeline.segmentAvailabilityDuration_
.There doesn't appear to me to be an idiomatic way to retrieve this value without either:
a) re-implementing the current
DashParser
as a plugin with a custom escape-hatch or event emissionb) maintaining a fork of Shaka to expose this value as an external
I have figured I can actually almost retrieve this, if I was really determined, by reversing the logic within Shaka source (please forgive me):
I'm hoping there is something nicer that isn't using
getManifest()
which has clearly begun a deprecation process. Thanks!The text was updated successfully, but these errors were encountered: