Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
slingxshot
Streaming Star

Get timestamp from HLS stream

Looking to get the timestamp of a "Live" HLS stream when the video is playing. I seen references to program date. Basically the date when the segment/clip was generated.

Here is an example:

#EXT-X-PROGRAM-DATE-TIME:2023-06-09T21:23:31.955Z

This is located inside m3u8 file.

Update....

Found it: 

["positionInfo"]["video"]

 

Thanks!

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.