Forum Discussion

ralfjacob's avatar
ralfjacob
Visitor
14 years ago

HLS playback returns Uninitialized port

Am In the process of setting up a channel that will be using HLS/m3u8 files, the xml config looks as follows:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>1</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>1</endIndex>
<item sdImg="http://[THE SERVER].com/roku/upLynk/images/bigbuckbunny.jpg" hdImg="http://[THE SERVER].com/roku/upLynk/images/bigbuckbunny.jpg">
<title>Big Buck Bunny</title>
<contentId>10001</contentId>
<contentType>movie</contentType>
<contentQuality>HD</contentQuality>
<media>
<streamFormat>hls</streamFormat>
<streamQuality>HD</streamQuality>
<streamBitrate>0</streamBitrate>
<streamUrl>http://[THE SERVER]/content/37d6fd87f71141dbb1638e1cdf4ea93f.m3u8</streamUrl>
</media>
<synopsis>'Big' Buck wakes up in his rabbit hole, only to be pestered by three critters, Gimera, Frank and Rinky. When Gimera kills a butterfly, Buck decides on a payback Predator-style</synopsis>
<genres>Short</genres>
<runtime>595</runtime>
</item>
</feed>


telnet returns the following msg immediately after hitting 'play' / select button:


Local Variables:
screen &h16 bsc:roSpringboardScreen, refcnt=2
showlist &h16 bsc:roArray, refcnt=2
showindex &h02 Integer val:0
global &h07 rotINTERFACE:ifGlobal
m &h06 bsc:roAssociativeArray, refcnt=7
remotekeyleft &h12 Integer val:4
remotekeyright &h12 Integer val:5
msg &h16 bsc:roSpringboardScreenEvent, refcnt=1
playstart &h14 String val:0
port &h30 Untyped val:Uninitialized
BrightScript Debugger> last
038: msg = wait(0, screen.GetMessagePort())


I am using the sample 'videoplayer' app as provided in the SDK without any modifications other than references to URLs. I verified that the .m3u8 plays fine in QT and various other players...not sure where else to look. Pls advise.

11 Replies