![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
live RTMP smil, Auto and Manual problems
Hi
I am setting up a demo page for a live rtmp broadcast, with 3 video bitrates/dimensions
The problems I see are:
1. Auto seems to not switch at all (stuck on the 'mobile' bitrate, when there is plenty bandwidth for 720)
2. When manually selecting a different dimension, the video stops and have to click play/restart on the video again
url: http://128.127.159.163:8090/video/jw.html
smil:
bc.. <smil>
<head>
<meta base="rtmp://128.127.159.1/live/" />
</head>
<body>
<switch>
<video src="rik_bbc1hd" height="720" system-bitrate="2000000" width="1280" />
<video src="rik_bbc1sd" height="360" system-bitrate="800000" width="640" />
<video src="rik_bbc1mobile" height="240" system-bitrate="400000" width="426" />
</switch>
</body>
</smil>
html:
bc.. <div id="player">Loading the player...</div>
<script type="text/javascript">
jwplayer("player").setup({
file: "/video/rtmp.smil",
height: 720,
width: 1280
});
</script>