2010-04-05, 13:52
Hi all,
based on Phil Lewis' get_iplayer.cgi code, which is used as a workaround in the iPlayer plugin, I created a stripped down version of his webserver to allow for forwarding streams acquired by rtmpdump through HTTP.
The code is currently a mess. Still a lot of remaining code from get_iplayer.cgi and probably there could be something done to announce the proper stream format.
I think this could be helpful to get instant access to advances in rtmpdump for plugins.
Just execute and then point your browser/XBMC to the IP address of your machine like this:
http://[ip]:1935/iplayer?ACTION=stream&rtmp=[rtmp_url]&swfUrl=[swfUrl]&pageUrl=[pageUrl]&playpath=[playpath]
The URLs in the call should be urlencoded. This can be done through (urllib.quote) in Python. You need a current rtmpdump in "/usr/bin".
The code can be found here:
http://gitorious.org/rtmp_proxy/rtmp_proxy
mighty_bombero
based on Phil Lewis' get_iplayer.cgi code, which is used as a workaround in the iPlayer plugin, I created a stripped down version of his webserver to allow for forwarding streams acquired by rtmpdump through HTTP.
The code is currently a mess. Still a lot of remaining code from get_iplayer.cgi and probably there could be something done to announce the proper stream format.
I think this could be helpful to get instant access to advances in rtmpdump for plugins.
Just execute and then point your browser/XBMC to the IP address of your machine like this:
http://[ip]:1935/iplayer?ACTION=stream&rtmp=[rtmp_url]&swfUrl=[swfUrl]&pageUrl=[pageUrl]&playpath=[playpath]
The URLs in the call should be urlencoded. This can be done through (urllib.quote) in Python. You need a current rtmpdump in "/usr/bin".
The code can be found here:
http://gitorious.org/rtmp_proxy/rtmp_proxy
mighty_bombero