2009-06-11, 16:23
Hi, Finland's national broadcasting company YLE released new version of their "iPlayer" called YLE Areena.
Big problem is that they have started to use RTMP, and i don't really get it.
Here's code, i have tried these solutions but all i get is:
Big problem is that they have started to use RTMP, and i don't really get it.
Code:
import xbmc, xbmcgui
playpath = "mp4:kotimaa/25/48/254800_204511.mp4"
rtmp_url = "rtmp://flashk.yle.fi/AreenaServer/"
swf_url = "http://areena.yle.fi/player/Application.swf?build=1"
pageUrl = "http://areena.yle.fi/video/254798"
item = xbmcgui.ListItem("AreenaServer")
item.setProperty("SWFPlayer", swf_url)
item.setProperty("PlayPath", playpath)
#item.setProperty("PageURL", pageUrl)
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)
Code:
17:17:44 T:3808 M:774168576 DEBUG: START AMF Object Dump:
17:17:44 T:3808 M:774168576 DEBUG: Property: <Name: level, STRING: error>
17:17:44 T:3808 M:774168576 DEBUG: Property: <Name: code, STRING: NetStream.Play.Failed>
17:17:44 T:3808 M:774168576 DEBUG: Property: <Name: description, STRING: Read access denied for stream kotimaa/25/48/254800_204511.mp4.>
17:17:44 T:3808 M:774168576 DEBUG: Property: <Name: clientid, STRING: nEpQtDRb>
17:17:44 T:3808 M:774168576 DEBUG: END AMF Object Dump:
17:17:44 T:3808 M:774168576 DEBUG: END AMF Object Dump:
17:17:44 T:3808 M:774168576 DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <onStatus>
17:17:44 T:3808 M:774168576 DEBUG: RTMP_LIB::CRTMP::HandleInvoke, onStatus: NetStream.Play.Failed