![]() |
Need help with rtmp source (YLE Areena) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312) +---- Thread: Need help with rtmp source (YLE Areena) (/showthread.php?tid=52690) |
Need help with rtmp source (YLE Areena) - JaniL - 2009-06-11 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. Code: import xbmc, xbmcgui Code: 17:17:44 T:3808 M:774168576 DEBUG: START AMF Object Dump: - frosty - 2009-06-11 The site won't stream to me in England, so either it's currently broken or geographically limited. That means I can't watch the real player connecting and playing in Wireshark (which is the simplest way to see what's going on). Some random guesses: - try giving a playpath that you know won't exist. See if a different error is generated than "Read access denied for stream". If it's doesn't, maybe the playpath is wrong. If it does, the playpath is right, and the server doesn't want to talk to you - something we send must be different to what the flash player would send. - if it seems like the playpath is wrong, try dropping the ".mp4" - JaniL - 2009-06-11 frosty Wrote:The site won't stream to me in England, so either it's currently broken or geographically limited. That means I can't watch the real player connecting and playing in Wireshark (which is the simplest way to see what's going on).Trying random playpath and dropping .mp4 gave me same error. There are video/audio that are available for everybody, if you want to try: http://areena.yle.fi/ohjelmat/naytetaan_ulkomailla/kylla - frosty - 2009-06-13 My mistake, the website plays fine after taking ages to load the video player into the page. I don't think these streams will be playable by XBMC, as the flash player is more complex than most, and appears to implement some sort of licencing/authorization policy. In a debug log you can see the server sending us an 'invoke' request for a method 'authenticationDetails' (that their flash player implements, rather than the RTMP protocol itself): Code: RTMP_LIB::CRTMP::GetNextMediaPacket, received: invoke 108 bytes in a wireshark dump of the real player, you can see a response to this including some number, and then other calls back and forward including strings like "requestData" "session/authenticate/1" This can't be implemented in XBMC (we're not a full flash player), so if these calls are necessary to convince the server we're allowed to stream the video, then XBMC cannot be able to play it. ![]() - JaniL - 2009-06-14 Ah, ok ![]() Thanks anyway. |