![]() |
RTMP streaming problems -- app options missing? - 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: RTMP streaming problems -- app options missing? (/showthread.php?tid=142782) |
RTMP streaming problems -- app options missing? - sageres - 2012-10-15 Hi everyone, If I am not wrong (and hopefully I am) there might be a problem with XBMC code... Let me explain. I am having a problem with streaming some RTMP link, which plays fine with rtmpdump: Code: rtmpdump -r rtmp://fms.354a.edgecastcdn.net/00354A/videos/encoded/79635/ -p http://www.viki.com/channels/9172-my-love-butterfly-lady/videos/79635 -y mp4:79635_720p_1210061450.mp4 -a 00354A/videos/encoded/79635 -f 'LNX 11,2,202,238' -s http://a0.vikiassets.com/assets/vikiplayer.swf -o ep1.flv Now tying to add to a python addon, I add the following: Code: url='rtmp://fms.354a.edgecastcdn.net/00354A/videos/encoded/79635/mp4:79635_720p_1210061450.mp4' Now I looked over the logs and I noticed that 'app' parameter is not being passed at all, and instead it is being parsed from rtmp url: Code: 17:42:06 T:10564 INFO: Parsed host : fms.354a.edgecastcdn.net I looked through source code and I noticed the following in DVDInputStreamRTMP.cpp: Code: static const struct { (btw, if I am wrong and my Python syntax is simply incorrect please correct me!) So my question is, is there any way to add a parameter to pass to rtmplib or play RTMP in any other alternative way from a Python addon? Thank you very much! |