Hello.
I want to play UStream in JWPlayer, becouse I want to avoid those stupid commercials.
I managed to play UStream stream in JWPlayer, but only for 60-90 seconds, then stream stops. I can resume stream, but I have to do it manually. Is there any "keep-alive" command that stream would play without any stops?
With rtmpdump I can capture stream without any problems or any stops - I use this command:
Code:
rtmpdump -r "rtmp://flash64.ustream.tv/ustreamVideo/XXXXXXXX/streams/live" --live -o UStream.flv
It's working with only rtmp url (without swfurl or any other), so why it isn't working propely with JWPlayer?
Here's my code I use with JWPlayer:
Code:
<div id="jwplayer">JW Player goes here</div>
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">
jwplayer("jwplayer").setup({
flashplayer: "jwplayer/player.swf",
provider: 'rtmp',
streamer: 'rtmp://flash64.ustream.tv/ustreamVideo/XXXXXXXX',
file: "streams/live",
bufferlength: "1",
duration: "0",
smoothing : "true",
controlbar: "bottom",
allowscriptaccess: "always",
});
</script>
I tried another player - FlowPlayer - but effect is still the same - stream plays only for about 60-90 seconds, and then stops.
Any ideas?