
Android fallback to RTSP not working
I'm trying to stream from Wowza to everything. I have the playlist.m3u8 URL working for HTML5, and jwplayer.smil working for Flash. But, I can't seem to get an Android device to fallback to an RTSP stream. When I load the following code, Android just displays a blank page (no errors). I anonymized the URLs but you get the idea. I verified the RTSP link works by just typing it into the Android browser and the stream plays fine. I even went to a store and tried it on multiple Android devices.
What am I doing wrong?
bc.. <!doctype html>
<head>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
</head>
<body>
<div id='my-video'>
<a href="rtsp://example.com:1935/live/mp4:mystream_360p"></a>
</div>
<script type='text/javascript'>
jwplayer('my-video').setup({
playlist: [{
sources : [
{ file: 'http://example.com:1935/live/ngrp:mystream_all/playlist.m3u8' },
{ file: 'http://example.com:1935/live/ngrp:mystream_all/jwplayer.smil' }
],
title: "Title"
}],
width: '640',
height: '360',
fallback: false
});
</script>
</body>