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

problem setting up a resolution switch for live streams


I would like to add a hires and lowres switch

using now

<smil>
<head>
<meta base="rtmp://xxx.nl/test/"/> (other server then where the player is hosted)
</head>
<body>
<switch>
<video src="poetryh.flv" height="960" system-bitrate="1000000" width="1280"/>
<video src="poetryl.flv" height="540" system-bitrate="600000" width="720"/>

</switch>
</body>
</smil>

and

the html page code:


<div id="player1">Loading the player...</div>
<script type="text/javascript">
jwplayer("player1").setup({
playlist: [{
image: '/project_img/POETRY2014_720x540.png',
sources: [{
file: "/video.smil"
},{
file: "http://xxx.nl/test/poetryl.m3u8"
}]
}],

},
primary: "flash",
controlbar: "bottom",
height: 540,
width: 720
});
</script>

page can be found on st4all.nl/test2.html

actually both the stream as the page are served through the same loadbalancer, but are on fysical different servers.

reg franklin

1 Community Answers

Andrew

JW Player Support Agent  
0 rated :

Hi,

Are these individual RTMP streams working without the use of a smil? Is this only failing via JWPlayer?

This question has received the maximum number of answers.