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

HLS - Support EXT-X-PROGRAM-DATE-TIME tag #747

Closed
cskinfill opened this issue Aug 29, 2015 · 6 comments
Closed

HLS - Support EXT-X-PROGRAM-DATE-TIME tag #747

cskinfill opened this issue Aug 29, 2015 · 6 comments

Comments

@cskinfill
Copy link

Does the exoplayer support for HLS include the EXT-X-PROGRAM-DATE-TIME and reporting the program date time somehow? Like metadate in some playback event? Or at least report the EXT-X-PROGRAM-DATE-TIME when the manifest loads?

@endlessmind
Copy link

No it does not, but it wouldn't be hard to add support for it.

@cskinfill
Copy link
Author

i'm new to exoplayer, if someone can give me a pointer where to start i can try and add the integration.

@endlessmind
Copy link

The class that parses the hls master playlist can be found here https://github.com/google/ExoPlayer/blob/master/library/src/main/java/com/google/android/exoplayer/hls/HlsPlaylistParser.java

Look how they extract attributes and just add the ability to extract the one you're after.

If you won't want to do it your self, then might take a look at it if you can supply me with a hls master playlist that contains the requested attribute.

@dahlbergbob
Copy link

Here's the top of a playlist containing the meta data:

#EXTM3U
#EXT-X-VERSION:1

Created with ProSTREAM X/2 v1.08

#EXT-X-MEDIA-SEQUENCE:506698
#EXT-X-TARGETDURATION:9
#EXT-X-PROGRAM-DATE-TIME:2015-07-31T06:27:43Z
#EXTINF:10, no desc
seg192000-00506698.aac
#EXTINF:10, no desc
seg192000-00506699.aac
#EXTINF:10, no desc
seg192000-00506700.aac
#EXTINF:10, no desc
seg192000-00506701.aac
#EXTINF:10, no desc
seg192000-00506702.aac
#EXTINF:10, no desc
seg192000-00506703.aac
#EXTINF:10, no desc
seg192000-00506704.aac
#EXTINF:10, no desc
seg192000-00506705.aac
....

Hope this helps!

@ojw28 ojw28 changed the title Does exoplayer support HLS EXT-X-PROGRAM-DATE-TIME HLS - Support EXT-X-PROGRAM-DATE-TIME tag Aug 31, 2015
@abhiguru
Copy link

any updates here ?

ojw28 pushed a commit that referenced this issue Dec 1, 2016
@ojw28 ojw28 closed this as completed Dec 14, 2016
@ojw28
Copy link
Contributor

ojw28 commented Dec 14, 2016

This is supported in 2.1.0.

@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants