Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
campbellwang
Visitor

Re: HTTP Live Streaming Now Available For Developers

I love your question Prizim especially the idea behind your links.
I haven't looked into HLS yet but I also want to grab ipad / iPhone .m3u8 streams.
How did you grab them. I'm working on a windows machine.
Pm me if you don't want to post in the forums.
CDNOne.com | CDNTwo.com
0 Kudos
campbellwang
Visitor

Re: HTTP Live Streaming Now Available For Developers

Okay. None of the demos above seem to work.

I need a proper unrestricted live video feed to test.

Please can someone post a feed they have tested on the Roku DVP, that works.

I tried :http://217.146.95.164:8081/ch5aiphone.m3u8 but this does not wok either.
CDNOne.com | CDNTwo.com
0 Kudos
PRIZM
Visitor

Re: HTTP Live Streaming Now Available For Developers

Well the Roku guys say that HLS feeds work with ver 2.5 build version 285 and later I think they are at build 288 that's mine on my box any way. Well I have tested alot of live hls streams and I have them running flawless and even doing bandwidth detection as well on actual apple devices. The catch is I have not been able to get a feed going on the roku box as of yet. Roku needs to post at least the .m3u8 encode specs that they have actually tested and got working till they get the full docs together and some insight on some other settings like the Runtime setting and how this applies. If it is a live feed it should have a way to not have a time length. This would be really helpfull info from RoKu. Now if any other developer has actually got a hls stream to play please PM me or post some info here. Roku says all that is needed is the <streamFormat>hls</streamFormat> to be specified to function oh and the .h264/aac .m3u8 segmented stream URL to the feed or shoud I say the directory where the .m3u8 segments are located.

Campbellwang Just to answer youR question I'm not just grabbing the feed I'm actually encoding to h.264/aac baseline level 3.0 segmented .ts files that are written to a directory on my server. The actual .m3u8 file references all the .ts segments that make up the stream. I'm sure you know how to get that part working if not just look at the Apple http streaming Documents. Campellwang I will PM you soon on a test feed to help you out but The feeds I have are flawless on IPhone/IPad/IPod Touch. These same HLS feeds will not load the player when called in the roku script. When the script calls for the .m3u8 feed it trys to load the player then just closes and reloads the page that has the feed discription. It's very strange.

If anyone wants to try my code in this thread please try it and see what happends I would love to hear more from roku on this while they are getting the full documentation together.

Alright guys we need to get some replies going back and forth and we can get this done... Including you guys over there at RoKu...

Thanks
PRIZM'
0 Kudos
PRIZM
Visitor

Re: HTTP Live Streaming Now Available For Developers

Oh yea here is a unrestricted HLS Feed from NASA provided by Akamai that I can post and this link works on Apple devices. Iphone/Ipad/Ipod Touch so this should work with RoKu. It is a bandwidth detection feed. meaning it has 4 levels of separate bit rates that the nasatv_all.m3u8 references. Connect with edge and then with WiFi on a apple device and you will see the difference..

http://iphoned5.akamai.com.edgesuite.ne ... v_all.m3u8

Happy Coding Guys.

Thanks
PRIZM
0 Kudos
campbellwang
Visitor

Re: HTTP Live Streaming Now Available For Developers

Cheers I will test this later.

[UPDATE] I can not get to work either: http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8

All we are doing is passing the URL to the player as described above.

ROKU!? ANYONE!?
CDNOne.com | CDNTwo.com
0 Kudos
PRIZM
Visitor

Re: HTTP Live Streaming Now Available For Developers

Exactly Thats what I get and this is a working HLS feed. If you try it on a IPhone it plays perfect.

"campbellwang" wrote:
Cheers I will test this later.

[UPDATE] I can not get to work either: http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8

All we are doing is passing the URL to the player as described above.

ROKU!? ANYONE!?
0 Kudos
RokuMarkn
Visitor

Re: HTTP Live Streaming Now Available For Developers

"campbellwang" wrote:
Cheers I will test this later.

[UPDATE] I can not get to work either: http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8

All we are doing is passing the URL to the player as described above.

ROKU!? ANYONE!?


That URL plays fine for me. Can you describe what's happening when it doesn't work for you? Do you see the buffering bar? Does it get stuck in buffering or does it bounce back to the springboard? Etc. Also please PM me with the serial number of the unit you tried this on.

--Mark
0 Kudos
campbellwang
Visitor

Re: HTTP Live Streaming Now Available For Developers

Just bounces back to the springboard.
CDNOne.com | CDNTwo.com
0 Kudos
PRIZM
Visitor

Re: HTTP Live Streaming Now Available For Developers

Are you using a XML like in the Example Videoplayer app. to pass the HLS feed to the roVideoplayer page. What hardware and Software Version are you on? Could you PM me some script that you are calling the player with. this is what I have but their are some things that im sure differ and are not needed for 24/7 live like the <runtime>84</runtime> instance. This feed is h.264/aac 700kbps at 640x420 rez that fits IPhone screen...

</item>
<item sdImg="http://roku.xxxxxx.xxx/videoplayer/images/espntvlogo.jpg" hdImg="http://roku.xxxxxx.xxx/videoplayer/images/espntvlogo.jpg">
<title>ESPN</title>
<contentId>10002</contentId>
<contentType>Sports</contentType>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>hls</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate>700</streamBitrate>
<streamUrl>http://livemobile.xxxxxx.xxx/apple/espn/espn.m3u8</streamUrl>
</media>
<synopsis>ESPN Sports All The Time!</synopsis>
<genres>Sports</genres>
<runtime>5000</runtime>
</item>

"RokuMarkn" wrote:
"campbellwang" wrote:
Cheers I will test this later.

[UPDATE] I can not get to work either: http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8

All we are doing is passing the URL to the player as described above.

ROKU!? ANYONE!?


That URL plays fine for me. Can you describe what's happening when it doesn't work for you? Do you see the buffering bar? Does it get stuck in buffering or does it bounce back to the springboard? Etc. Also please PM me with the serial number of the unit you tried this on.

--Mark
0 Kudos
RokuMarkn
Visitor

Re: HTTP Live Streaming Now Available For Developers

campbellwang, from the logs it looks like you may be setting the StreamFormat to "mp4" rather than "hls". Can you check that, and if you think that's not the issue, please post or PM me the code you're using to create your VideoScreen.

--Mark
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.