-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Expose HLS master playlist as part of the object returned via ExoPlayer.getCurrentManifest #2537
Comments
We should probably expose this via |
I'm looking to pull the variant/rendition count for reporting reasons. If this information is available somewhere else I won't need the |
You could try using Else you'll probably have to wait for us to expose the master playlist through |
Thanks! I was able to loop over the |
For the record. We are changing the API in the next push:
|
This allows the user to get the HlsMasterPlaylist through Exoplayer.getCurrentManifest(). Issue:#2537 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150232455
I'm upgrading from ExoPlayer r1.5.9 to r2.2.0. How can I receive a reference to the
HlsMasterPlaylist
when loading HLS content? I'm assuming this is the only way to get a reference to the variants; Previously when using ExoPlayer r1.x, theonSingleManifest()
callback returned anHlsPlaylist
which could be cast to aHlsMasterPlaylist
in order to get a reference the variants (which now appears to beList<HlsUrl> variants;
):This callback appears to have been removed in r2.x.
Here is an example of the
ExoPlayer
instance I'm using:Here is an example of the
MediaSource
I'm using:Is there a listener which exposes the variants I require from
HlsMasterPlaylist
? Is there documentation explaining these types of changes from r1.x to r2.x which I can reference? I hope I've provided enough information to answer this question. Thanks.The text was updated successfully, but these errors were encountered: