
Dynamic Streaming with RTMP & Amazon EC2 Wowza
I haven't been able to get JWPlayer to do a dynamic bit-rate switching stream, either VOD or live.
My JWPlayer embed:
bc.. <script type='text/javascript'>
jwplayer('my-video').setup({
file: 'rtmp://ec2-xxx-xx-xx-xxx.compute-1.amazonaws.com/vod/myManifest.smil',
image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
width: '640',
height: '360'
});
</script>
My smil manifest, copied almost verbatim from the example:
bc.. <smil>
<head>
<meta base="rtmp://ec2-xxx-xx-xx-xxx.compute-1.amazonaws.com/vod/" />
</head>
<body>
<switch>
<video src="myVideoHi.mp4" height="720" system-bitrate="1628" width="720" />
<video src="myVideoMi.mp4" height="360" system-bitrate="628" width="360" />
<video src="myVideoLo.mp4" height="180" system-bitrate="428" width="240" />
</switch>
</body>
</smil>
The player doesn't give any error messages, but the little circle just spins and never loads a video. I know the videos are there because I've loaded them one at a time (not using the smil) and they play just fine. I also put the most permissive crossdomain.xml from your examples on the EC2 instance, so I don't think that's the issue.
Here's a link to a test site where this happens: http://nccsite.com/events/sasha_temp/test-site/