Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
El-vishy
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.
videoPlayer.content.Live


Is there a way to identify or differentiate between live and VOD videos?
0 Kudos
1 Reply
speechles
Level 9

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