Wowza Community

Using Wowza with Wirecast and JW Player

I am trying to use Wowza with Wirecast and JW Player. I have it working with Wirecast just fine, but when I try to embed the JW Player it does not find the stream. Here’s the code I am using for the JW Player:

<div id="container">Loading the player ...</div>
	<script type="text/javascript">
		jwplayer("container").setup({
		flashplayer: "jwplayer/player.swf",
		file: 'sample',
		height: 270,
		width: 480
		provider: 'rtmp',
		streamer: 'rtmp://10.9.1.66/live',
		});
	</script>
</div

All I see on my web page is “Loading the player…” I cannot for the life of me figure out what I should enter for the File to get it to actually find my Live stream from Wirecast. I’ve even tried to just use VLC to figure out which RTMP link “works” to play the Wirecast stream, but I cannot get it to go through. What am I missing?

I did end up getting this to work. I am using this code:

<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'provider': 'rtmp',
    'streamer': 'rtmp://10.9.1.66/live',
    'file': 'livestream',
    'image': 'preview.jpg',
  });
</script>