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

Support for MPD Anchors #1038

Closed
ivivona opened this issue Sep 29, 2017 · 8 comments
Closed

Support for MPD Anchors #1038

ivivona opened this issue Sep 29, 2017 · 8 comments
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@ivivona
Copy link

ivivona commented Sep 29, 2017

Hi! I'm trying to play a live stream not from the live edge (now) but from the manifest first segment (ex: start from the beginning of a live concert). I read the specification and such issue can be solved using the MPD Anchors, specifying a t parameter.
I'll tried using the shaka demo player (latest version) and it doesn't seem to be working (it always start form the live edge). Is it supported? Or should I try using the player API instead?

Thanks in advance.

@vaage vaage added the type: question A question from the community label Sep 29, 2017
@vaage
Copy link
Contributor

vaage commented Sep 29, 2017

@ivivona Could you provide more information? Is this in your app and you just looking for a way to start from the start of the video regardless of it being live? Or are you trying to prepare content for use in someone else's app and need a way to signal to them that they should start at the start and not the live edge?

@vaage vaage added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Sep 29, 2017
@ivivona
Copy link
Author

ivivona commented Sep 29, 2017

@vaage i control both the generation and the player, so any solution is ok, but I think it will be better to let the player know from where to reproduce using the info in the MPD (in this case the url anchor). The use case is: a "watch from the start" button in page A goes to the player in page B with certain manifest URL, the player's page is kind of generic because the the manifest could be a VOD or a live.

@vaage
Copy link
Contributor

vaage commented Sep 29, 2017

@ivivona When you load a manifest (shaka.media.player.load), there is an optional parameter you can set called opt_startTime. If you set that to 0, does it solve your problem? That would be the simplest way to ensure that the player always starts playing the content from the start.

@ivivona
Copy link
Author

ivivona commented Sep 29, 2017

@vaage thanks for the response. I understand that there is a javascript solution, but my question was if shaka implements/supports MPD Anchors as indicated in the DASH specification.

@joeyparrish joeyparrish removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Sep 30, 2017
@joeyparrish joeyparrish self-assigned this Sep 30, 2017
@joeyparrish
Copy link
Member

Shaka Player does not support MPD anchors, but we do have other solutions to that problem. As @vaage pointed out, you can specify a start time when you call load(). For your case (starting a live stream at time zero), that seems like the best solution.

For more complex scenarios, you can configure a payable range. See #246 for the discussion that led to that feature, and the playRangeStart and playRangeEnd fields of https://shaka-player-demo.appspot.com/docs/api/shakaExtern.html#PlayerConfiguration for the API.

Does that help answer your question?

@joeyparrish joeyparrish removed their assignment Oct 8, 2017
@vaage vaage added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Oct 13, 2017
@vaage
Copy link
Contributor

vaage commented Oct 13, 2017

@ivivona Was @joeyparrish able to answer your question? If so, feel free to close the issue.

@ivivona
Copy link
Author

ivivona commented Oct 13, 2017

Yes, thanks. Anyway, should this be implement in the future?

@joeyparrish
Copy link
Member

We don't have any plans to support MPD anchors at this time. We believe that specifying start times and play ranges is a more general solution that applies across manifest types.

@joeyparrish joeyparrish removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Oct 20, 2017
@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

4 participants