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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Differentiating between Live and VOD Stream

I am using following Live Video: Content-Meta-Data, has a property called Live, This property is optional.

Is there a way to identify or differentiate between live and VOD videos?
0 Kudos
Level 10

Re: Differentiating between Live and VOD Stream

Length. VOD sets Length.
Live would set length as 0, or even leave it invalid and then use the live flag to change the "0m" to "LIVE" to display to the user in the video player if you don't want "0m" showing and the progress bar looking silly as it expands offscreen.
0 Kudos