Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Multiple RTMP streams in one playlist: how to make it work?


Hi,
I'm trying to setup a single JWPlayer to load a series of RTMP streams, in order to have them in a listbar.
They are all live streams.

I tried a configuration like this:

jwplayer("video").setup({


file: "playlist.rss",
live: "true",

listbar: {
layout: "basic",
position: "bottom",
size: 150


},

width: 372,
height: 209+150,
controls: true,
autostart: true,
primary: 'flash',
modes: [

{type: 'flash', src: 'jwplayer/jwplayer.flash.swf'}


]
});

And my playlist look like this:

<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/">
<channel>
<item>
<title>One</title>
<description> </description>
<jwplayer:file>rtmp://mystreamerIP/1</jwplayer:file>
<jwplayer:streamer>rtmp://mystreamerIP/1</jwplayer:streamer>
<jwplayer:provider>rtmp</jwplayer:provider>
</item>
<item>
<title>Two</title>
<description> </description>
<jwplayer:file>rtmp://mystreamerIP/2</jwplayer:file>
<jwplayer:streamer>rtmp://mystreamerIP/2</jwplayer:streamer>
<jwplayer:provider>rtmp</jwplayer:provider>
</item>
</channel>
</rss>

But nothing works, I always get "Error loading player: no playable sources found".

How come?
If I load each stream at once, they work perfectly, so it isn't a problem relative to my stream server.

1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

1) Remove modes, that is for JW5.

2) Remove – live: “true”,

That isn’t a valid variable for any edition of the player.

3) Change – file: “playlist.rss”,

To – playlist: “playlist.rss”,

http://support.jwplayer.com/customer/portal/articles/1404037-migrating-from-jw5-to-jw6

This question has received the maximum number of answers.