Your Digital Media Has Never Looked So Good

 
jnicholas
Topic Author
Posts: 17
Joined: Tue Jan 12, 2010 11:09 am

Best practices for indicating a live stream

Wed May 26, 2010 4:06 pm

I've been developing a Roku app that has some on demand video but also has some live content. The live shows are only on two times a day. In our web site the we use push technology from flash media server to make the live stream start or to tell people that the live show is on. Is there a recommended approach for this inside Roku channels?

A related issue is how should the roku respond when the stream ends? I was testing live streaming and when I stopped the stream the roku just sat on a black screen until I hit the up arrow. Is there an event I can catch to go back to the channel home page or a thank you page or something?

I'm assuming that MLB and the other sports channels have to deal with both these issues and there is a consensus approach.
 
RokuPatrick

Re: Best practices for indicating a live stream

Wed May 26, 2010 5:04 pm

That's a great suggestion. Right now, we don't have any live-specific indicator. In your feed or through your API, you could specify that it's live and change your channel artwork appropriately.

I'll have to defer to Kevin on the proper way to hand the end of the stream and return to useful UI.
 
User avatar
RokuMarkn
Roku Engineering
Posts: 1581
Joined: Mon Jun 09, 2008 9:20 am

Re: Best practices for indicating a live stream

Wed May 26, 2010 5:14 pm

By "live stream" I assume you mean a stream formatted as HLS (HTTP Live Streaming). When a live stream stops, the server is supposed to add an ENDLIST directive to the end of the m3u8 file. Did you stop the stream in such a way that the server did that? Without an ENDLIST, the stream is assumed to still be live and more data is expected to be appended to the stream.

--Mark
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: Best practices for indicating a live stream

Wed May 26, 2010 5:49 pm

As Mark pointed out, the ENDLIST tag in your .m3u8 file will cause the video screen to stop and exit back out to your springboard. Without the tag you will be staring at the blank screen.

You'll also want to be sure to set the content meta-data Live parameter to 'true' so that you get the "Live" indication on the progress bar...

MLB uses start times and count down times on the springboard as the live event approaches. I think this is a good model to follow for your live events.

--Kevin

Who is online

Users browsing this forum: No registered users and 4 guests