Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nyphur
Level 7

M3U8 stream not playing on Roku - help needed

Hello guys,

Once again I am facing a problem. I am currently trying to add more internet streams to my channel but some of them are not working on the roku and I cannot figure out why.

This stream for example is working very fine on SimpleTV on the PC, but the Roku just won't play it:

http://hk.guduge.com:1163/tm3u8/live_m3u8/5039/kk.m3u8


I am using the VideoPlayer-Template from the RokuSDK and XML-Files for the streams.

Here is the code that I have come up with:

<feed>
<item sdImg="http://XYZ.com/ABC.png" hdImg="http://XYZ.com/ABC.png">
<title>XYZ</title>
<ContentType>Movie</ContentType>
<contentId>10102</contentId>
<streamFormat>hls</streamFormat>
<contentQuality>HD</contentQuality>
<media>
<streamQuality>HD</streamQuality>
<streamUrl>http://hk.guduge.com:1163/tm3u8/live_m3u8/5039/kk.m3u8</streamUrl>
</media>
</item>
</feed>


Now how can I improve this code and make it actually work? 😄

Thanks very much in advance!


Ah one more thing:
Is it possible to stream links of this kind: http://84.255.204.196:1234/udp/239.11.2.2:5000 ??
I don't know right now if that stream in particular is working or not. I just need to know, if there is anyway if that sort of stream is supported by the Roku - and if yes, how is it done 🙂

Sorry that I have so many questions, but I am just getting into the topic of streams in general and roku channel developing.
0 Kudos
2 REPLIES 2
IRoad
Level 7

Re: M3U8 stream not playing on Roku - help needed

Hi,
tried your source with my ipad, doesn't works. I believe that the problem is on origin encoder..
if is not wrong the last code must finish with playlist.m3u8 and not kk



http://hk.guduge.com:1163/tm3u8/live_m3u8/5039/kk.m3u8
0 Kudos
TheEndless
Level 10

Re: M3U8 stream not playing on Roku - help needed

That m3u8 file isn't in the correct format for HLS. It doesn't have any of the required #EXTxxx tags (or any tags, for that matter). It most likely plays fine on your PC, because it's being treated as a standard m3u playlist instead of an HLS m3u8 playlist. Take a look at the official HLS spec for more details: http://tools.ietf.org/html/draft-pantos ... reaming-10
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos