2014-08-07, 01:56
Hi jamontes,
Thanks for your amazingly quick response and for immediately trying to implement this suggestion. I understand the stream is a different way of connecting to the video. I've been trying to read code from other add-ons to analyze how they manage to connect to RTMP sources (TwitchTV is one for instance), but so far I've not been able to find a good example.
What I was able to do is to sniff some of the request headers that pass when one loads the ESA stream. There is some metadata going past in XML that contains a URL to be connected to by means of RTMPT protocol. I'm not sure if this is something you already found out, but I thought I might mention it just in case. I really would like to help out where I can and I have some coding experience myself so maybe we can together stumble our way towards a working plugin by the time Philae goes down :-)
Using LiveHTTPHeaders add-on in FireFox I captured a request to:
This links to an XML document containing:
So it looks like the actual URL to obtain the RTMP stream from is:
At this time I have no idea how to process this further in XBMC as I have no experience with either Python or the libraries / APIs of XBMC for add-on creation, so this is at the moment as far as my knowledge goes.
I will however keep an eye open for any example that may enable this. I would love if we could get this working.
Thanks again for your enthusiasm, best regards,
ferriedeperrie
edit: for later reference I add these forum links that contain useful explanations on how to add RTMP streams:
http://forum.xbmc.org/showthread.php?tid=93280
http://forum.xbmc.org/showthread.php?tid=163086
Thanks for your amazingly quick response and for immediately trying to implement this suggestion. I understand the stream is a different way of connecting to the video. I've been trying to read code from other add-ons to analyze how they manage to connect to RTMP sources (TwitchTV is one for instance), but so far I've not been able to find a good example.
What I was able to do is to sniff some of the request headers that pass when one loads the ESA stream. There is some metadata going past in XML that contains a URL to be connected to by means of RTMPT protocol. I'm not sure if this is something you already found out, but I thought I might mention it just in case. I really would like to help out where I can and I have some coding experience myself so maybe we can together stumble our way towards a working plugin by the time Philae goes down :-)
Using LiveHTTPHeaders add-on in FireFox I captured a request to:
Code:
www.esa.int/spaceinvideos/content/download/279520/12048654/file/esa-live-streamname.xml
This links to an XML document containing:
Code:
<LiveStream>
<item>
<file>esaintWEBTV</file>
<streamer>rtmpt://esaintlivefs.fplive.net:80/esaintlive-live</streamer>
</item>
</LiveStream>
So it looks like the actual URL to obtain the RTMP stream from is:
Code:
rtmpt://esaintlivefs.fplive.net:80/esaintlive-live
At this time I have no idea how to process this further in XBMC as I have no experience with either Python or the libraries / APIs of XBMC for add-on creation, so this is at the moment as far as my knowledge goes.
I will however keep an eye open for any example that may enable this. I would love if we could get this working.
Thanks again for your enthusiasm, best regards,
ferriedeperrie
edit: for later reference I add these forum links that contain useful explanations on how to add RTMP streams:
http://forum.xbmc.org/showthread.php?tid=93280
http://forum.xbmc.org/showthread.php?tid=163086