Forum Discussion

jcalhoun's avatar
jcalhoun
Visitor
13 years ago

Problem with HLS and the sample video player app

I have done a few Roku channel based on the sample video player app in the SDK but am just now trying to get my first live stream going. Does the sample video player app work with HLS out of the box? In the debug console I am getting "Content contains no playable tracks.". Here is my XML. FYI, I have tried multiple m3u8 URLs, all produce the same error.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed>
<resultLength>1</resultLength>
<endIndex>1</endIndex>
<item sdImg="" hdImg="">
<title>Live Feed Test2</title>
<shortDescriptionLine1></shortDescriptionLine1>
<shortDescriptionLine2></shortDescriptionLine2>
<contentId>1</contentId>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>hls</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8</streamUrl>
</media>
<synopsis></synopsis>
<releaseDate></releaseDate>
<runtime></runtime>
</item>
</feed>
  • Try to arrange the xml file like this: But the stream does not play so good even in VLC only got some audio and no video.

    <item sdImg="http://www.xxxxxx.org/roku/images/nasa_sd.jpg" hdImg="http://www.xxxxxx.org/roku/images/nasa_hd.jpg">
    <title>Nasa</title>
    <contentId>8002</contentId>
    <contentType>movie</contentType>
    <contentQuality>SD</contentQuality>
    <streamFormat>hls</streamFormat>
    <media>
    <streamQuality>SD</streamQuality>
    <streamBitrate>0</streamBitrate>
    <streamUrl>http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8</streamUrl>
    </media>
    <synopsis>Test</synopsis>
    <genres>Drama</genres>
    <runtime>4800</runtime>
    <ReleaseDate>2008-03-13</ReleaseDate>
    <director>Test</director>
    <rating>PG</rating>
    </item>
  • Worked like a charm. Just needed to move the <streamFormat> element outside of the <media> element. Thanks a ton.