I was trying to use a m3u8 HLS playlist to roVideoPlayer. I am using the demo code given here:
http://blog.roku.com/developer/2014/01/ ... evelopers/ or download zip here:
http://sourceforge.net/projects/rokusdk ... p/downloadThis is what given in the sample code:
player = CreateObject("roVideoPlayer")
player.SetContentList([
{
Stream : { url :"http://ecn.channel9.msdn.com/o9/content/smf/smoothcontent/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest" }
StreamFormat : "ism"
TrackIDAudio: "audio_eng"
TrackIDSubtitle: "ism/textstream_eng"
}
])
And I want to change it to HLS instead of Smooth streaming. So I did:
player = CreateObject("roVideoPlayer")
player.SetContentList([
{
Stream : { url :"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8" }
StreamFormat : "hls"
SwitchingStrategy:"full-adaptation"
}
])
Am I missing anything here? Because the video is not playing. Also in the
roVideoPlayerEvent event, im getting
type(msg) as
invalidI am very much new to HLS and building player. Your help is very much appreciated.