Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
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
1 REPLY 1\
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