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

help with playlist - live wowza stream


can someone plesae tell me what's wrong with this playlist?

I'm trying to play a live audio stream

thank you


<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/">
<channel>
<item>
<jwplayer:file>kgb.sdp</jwplayer:file>
<jwplayer:streamer>rtmp://wowza.ourdomain.net:1935/kgb/_definst_</jwplayer:streamer>
<jwplayer:provider>rtmp</jwplayer:provider>
</item>
</channel>
</rss>

16 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link to where this is running?

JW Player

User  
0 rated :

the playlist is at http://207.158.39.199/jwplayer/kgb.xml

I've since gone back to working with the wowza generated playlist. (just got a patch from wowza) and that's not working either. ugh!

http://207.158.39.199/jwplayer

works ok with a hard coded playlist though

thank you

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm,it sounds like Wowza’s playlist that generates (even with the patch) has an issue then…

But if I go to our wizard – http://www.longtailvideo.com/support/jw-player-setup-wizard

And just use this as the file, it works… – http://wowza.sdca.commercialnetworkservices.net:1935/shelterisland/smil:shelterisland.smil/jwplayer.rss

<script type='text/javascript' src='jwplayer.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/shelterisland/smil:shelterisland.smil/jwplayer.rss',
    'controlbar': 'bottom',
    'width': '470',
    'height': '320'
  });
</script>

JW Player

User  
0 rated :

ya my real problem is that I need to change playlists in javascript...so hard coding is not going to work. I hard coded just for a test. so either I need the wowza playlist working or I need to be able to load my playlist, like kgb.xml

either way it seems to be the only way to change a live source...is that right?

thank you

JW Player

User  
1 rated :

odd I wonder why your code is working??? that works? odd...

my code is almost identical?! (scratching my head)

Ethan Feldman

JW Player Support Agent  
0 rated :

Your code is not working because you are loading a playlist in JavaScript and loading their playlist xml file at the same time, you can’t combine two different playlist types like that, it has to be one or the other. ;)

JW Player

User  
0 rated :

I am? I have (note the hard coded playlist is commented out):

script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '720',
'height': '410',
'provider': 'http',
'autoplay': 'true',
'live': 'true',
'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/shelterisland/smil:shelterisland.smil/jwplayer.rss',
//'plugins': 'qualitymonitor-2',
/*'playlist': [
{
'title': 'ShelterIsland',
'provder': 'rtmp',
//'image': '/thumbs/sintel.jpg',
//'duration': '888',
'streamer': 'rtmp://wowza.sdca.commercialnetworkservices.net/shelterisland/_definst_',
'levels': [
{ bitrate:"800", file:"flv:shelterisland_1" },
{ bitrate:"350", file:"flv:shelterisland_2" },
{ bitrate:"100", file:"flv:shelterisland_3" }
]
}
],
*/


'modes': [

{type: 'flash', src: 'player.swf'},
{type: 'html5',
config: {
'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/shelterisland/smil:shelterisland.smil/playlist.m3u8',
'provider': 'video',
'autoplay': 'true'
}
}
]

});

Ethan Feldman

JW Player Support Agent  
0 rated :

Ah you do.

You have provider set to http though.

So you should remove that.

JW Player

User  
0 rated :

you nailed it - THANK YOU

but now I have just one more issue with an audio only stream. code is below. the player says loaded playlist is empty but I can see in the xml source it's not.

any ideas?

thanks again

<script type="text/javascript">
jwplayer('audioplayer').setup({
'id': 'AudioplayerID',
'width': '720',
'height': '450',
'autoplay': 'true',
'allowfullscreen': 'false',
'live': 'true',
'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/kfmb/kfmb.sdp/jwplayer.rss',
'modes': [

{type: 'flash', src: 'player.swf'},
{type: 'html5',
config: {
'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/kfmb/kfmb.sdp/playlist.m3u8',
'provider': 'video',
'autoplay': 'true'
}
}
]

});

Ethan Feldman

JW Player Support Agent  
0 rated :

NP!

I think it might have to do with the playlist location, because it is under a .sdp sub directory.

If I use the files in the playlist, it works fine:

<script type='text/javascript' src='jwplayer.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'kfmb.sdp',
    'provider': 'rtmp',
    'streamer': 'rtmp://wowza.sdca.commercialnetworkservices.net:1935/kfmb/_definst_',
    'controlbar': 'bottom',
    'width': '470',
    'height': '320'
  });
</script>

JW Player

User  
0 rated :

you must be right. I pointed it to that kgb.xml file and "I can hear them now"

here is the working code for forum archive. thanks again

<script type="text/javascript">
jwplayer('audioplayer').setup({
'id': 'AudioplayerID',
'width': '720',
'height': '450',
'autoplay': 'true',
'allowfullscreen': 'false',
'live': 'true',
'file': 'kgb.xml',
'modes': [

{type: 'flash', src: 'player.swf'},
{type: 'html5',
config: {
'file': 'http://wowza.sdca.commercialnetworkservices.net:1935/kfmb/kfmb.sdp/playlist.m3u8',
'provider': 'video',
'autoplay': 'true'
}
}
]

});

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

I am posting this follow-up for the forum archive.

when using wowza's generated rss for an audio only stream, you need to make a .smil file, even for just one bitrate. the wowza generated .rss w/out a smil file doesn't work.

Ethan Feldman

JW Player Support Agent  
0 rated :

Interesting, thanks for letting me know.

JW Player

User  
0 rated :

The <streamer:> and <file:> values should be the same.. so whatever ur streamer (domain) is... enter it as ur file name... (exactly)!

Ethan Feldman

JW Player Support Agent  
0 rated :

File is relative to streamer, usually they are different.

This question has received the maximum number of answers.