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

JWPlayer 6 - RTMP Livestream with Wowza


This is my test livestream embed code with Wowza Server 3.5 and Telestream Wirecast and it works great.

bc.. <div align="center">
<script type="text/javascript" src="jwplayer.js" ></script>
<script type="text/javascript">jwplayer.key="key";</script>

<div id="myElement"></div>

<script>
jwplayer("myElement").setup({
file: "rtmp://server/LIVE/_definst_/Stream",
image: "PlaceholderImage.jpg",
autostart: true,
controls: false,
height: 600,
width: 800,
rtmp: {
subscribe: true
}
});
</script>
</div>



I know there was a plugin for a listener in version 5, is there someway to do this with version 6? A listener that will refresh the player until a livestream becomes active?

8 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

What listener plugin are you talking about?

JW Player

User  
0 rated :

I think it was the livestream plugin that would look every few minutes for a live stream and play it if it was available. If not, is there a way to do that in JW Player 6?

I can do this on the page, php, but that wouldn't work, it would just keep refreshing the page even thou a stream was already found.

JW Player

User  
0 rated :

plugins: "livestream-1",

Ethan Feldman

JW Player Support Agent  
0 rated :

That is a V4 plugin, which barely worked properly in V5, it has since been deprecated.

JW Player

User  
0 rated :

Thanks. I didn't know if there was anything else available. Currently if there isn't a live stream, the image file is displayed, not controls or play button, just sits there with an image. When a live stream is present, you have to refresh the window for the player to respond or display anything.

Do you think there will be anything changing for this in the future?

Thanks again for your response.

Ethan Feldman

JW Player Support Agent  
0 rated :

That I am not sure of, sorry, but maybe…

JW Player

User  
0 rated :

Here is the Wowza solution that I used to get the jw6 player to loop until the stream was available:
http://www.wowza.com/forums/content.php?468-How-to-loop-a-pre-roll-until-a-live-stream-starts

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks for sharing.

This question has received the maximum number of answers.