Kodi Community Forum

Full Version: Unable to play HTTP stream (curl code 28)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed xbmc today and I've been playing around writing a new plugin for the live streaming site (wilmaa.ch). Their streams (depending on which one) are accessed either using rtmpdump which works fine or HTTP which doesn't.

I created a really simple test plugin to demonstrate the issue:

Code:
import xbmc, xbmcgui

url = ("http://gartenhof.live1-f.akamaihd.net/rtl_1_800@43050")
item = xbmcgui.ListItem("RTL")
print xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(url, item)

The URL is fine, if I load it in mplayer from the terminal it displays perfectly (within less than a second) but in xbmc it loads for around 10 seconds and then gets a curl timeout. This stream will only work in Switzerland btw, geolocked.

Code:
16:35:36 T:3036167024 M:1142681600 WARNING: FillBuffer: curl failed with code 28
16:35:36 T:3036167024 M:1142681600   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
16:35:36 T:3036167024 M:1142681600   ERROR: Process, error 0 seeking. seek returned -1
16:35:36 T:2790910832 M:1142681600   DEBUG: ffmpeg[A659EB70]: [flv] Estimating duration from bitrate, this may be inaccurate
16:35:36 T:2790910832 M:1142681600 WARNING: could not find codec parameters for http://gartenhof.live1-f.akamaihd.net/rtl_1_800@43050

I've googled everywhere and I can't think why this could be, any ideas?

xbmc.log:
Code:
http://pastebin.com/8Yttjzrj
(ignore my music collection!)