Your Digital Media Has Never Looked So Good

 
pjsteele
Topic Author
Posts: 14
Joined: Sun Feb 21, 2010 7:56 pm

HLS and Events?

Wed Jun 09, 2010 12:29 pm

What events associated with the new HLS format? i.e. Segment Change? Playlist Complete?

The reason I ask is because I am combining several different clips into one M3U8 playlist. It would be very handy if I can determine what segment I am playing.

Would the #EXTINF syntax help?

Thanks!!
 
User avatar
RokuMarkn
Roku Engineering
Posts: 1581
Joined: Mon Jun 09, 2008 9:20 am

Re: HLS and Events?

Thu Jun 10, 2010 8:21 am

There are no new events for HLS. All the normal events that occur during MP4 playback occur during HLS. There is no special event to indicate a segment change.

Also you should be aware that currently playback of mixed content in an HLS stream will work only if the timestamps in the stream (the PTS values) increment seamlessly across all the pieces of content. You can't, for example, concatenate two streams that both start at PTS zero because the jump back down to zero at the boundary will confuse the decoder and probably produce A/V sync problems and other issues.

--Mark
 
pjsteele
Topic Author
Posts: 14
Joined: Sun Feb 21, 2010 7:56 pm

Re: HLS and Events?

Thu Jun 10, 2010 8:34 am

Thanks Mark. That is very helpful
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: HLS and Events?

Tue Jun 22, 2010 1:39 pm

There are new video playback events in the new v2.6 firmware, but they are not specific to HLS. They apply to all video playback... The new event types are:

isStreamStarted()
isPaused()
isResumed()


--Kevin

Who is online

Users browsing this forum: No registered users and 4 guests