Hi, I am trying to get a rtmp stream to work by sending it in the Rss feed but I am unable to get flowplayer to show the stream. The stream works fine if I give it directly as below
plugins: {
rtmp: {
url: 'flowplayer.rtmp-3.1.3.swf',
netConnectionUrl: 'rtmp://myserver.org:1935/oflaDemo'
}
}
Here is my configuration that is not working when trying to use it as part of an rss feed
My RSS file looks like
plugins: {
rtmp: {
url: 'flowplayer.rtmp-3.1.3.swf',
netConnectionUrl: 'rtmp://myserver.org:1935/oflaDemo'
}
}
Here is my configuration that is not working when trying to use it as part of an rss feed
<div
style="display:block;width:520px;height:330px" id="player">
</div>
<script>
flowplayer("player", "flowplayer-3.1.5.swf", {
clip: {
url: 'red5StreamDemo',
provider: 'rtmp'
},
playlist: 'mrsample1.rss',
// streaming plugins are configured under the plugins node
plugins: {
// here is our rtpm plugin configuration
rtmp: {
url: 'flowplayer.rtmp-3.1.3.swf',
}
}
});
My RSS file looks like
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>RSSTEST</title>
<description>RSSTEST</description>
<language>English</language>
<item>
<pubDate>2009-11-02 12:34:51</pubDate>
<media:credit role="author">group</media:credit>
<media:category>Architect</media:category>
<media:content url="rtmp://myserver.org:1935/oflaDemo" type="application/x-fcs" duration="10" />
<media:rating schema="urn:simple"></media:rating>
</item>
</channel>
</rss>