RTMP Live stream from Flash Media Server
#1
Hello there,

Firstly, I've tried to search these forums for an answer to this, but I've been unsuccessfull in finding anything that helped me.

I'm trying to play an RTMP Stream from a Python script with this code:
Code:
import xbmc, xbmcgui

playpath = "livedr01bstream3"
rtmp_url = "rtmp://rtmplive.dr.dk/live"
item = xbmcgui.ListItem("dr.livetv")
item.setProperty("PlayPath", playpath)
xbmc.Player(xbmc.PLAYER_CORE_MPLAYER).play(rtmp_url, item)

The stream url is rtmp://rtmplive.dr.dk/live/livedr01bstream3
It's running on a Flash Media Server version 3.5.

Running the script above causes an error, which is linked here: http://pastebin.com/m4e9939a6

My question is basicly:
Is FMS 3.5 not supported, or am I doing something wrong?

I can change whatever settings on the streaming server, if something is set up causing this to not work properly, but I read somewhere (unconclusive), that FMS encrypts the RTMP stream or something?

I'm not searching for a quick solution, but more if this is even possible to play this type of RTMP stream in XBMC.

I've tried opening the stream in VLC (which as I understand it, uses the same FFMPEG implementation as XBMC?) - and it just instantly dies (with no error message) when it tries to play the url.
ASRock ION 330, Lucid Lynx, XBMC Dharma (beta 2)
Reply
#2
No, encryption is not done by default. If your stream URL was rtmpe:// then it would be encrypted.

Your log just shows an error because your playpath is wrong.
Reply

Logout Mark Read Team Forum Stats Members Help
RTMP Live stream from Flash Media Server0