
Bitrate switch, JWPlayer starts at past or future segement border
Dear Sir or Madam,
I am aiming at delivering a multi-bitrate HLS live stream.
I am testing my setup with Wowza and JWPlayer 6.8.
I am sending two RTMP inputs to Wowza where they get segemented and delivered in a manifest.
I can access this through a SMIL file in JWPlayer. When I watch the playback in JWPlayer I am able to switch manually between the two bitrates. But here I got a problem: htting the button related to the desired bitrate the Playback seems to jump back to the nearest segment border (!) and continous to playback from there. Until 2-3 segements have been played back the stream switches to the desired bitrate. If I switch again, to "auto" or to another bitrate the behaviour is the same. I would expect the switch is more smooth.
I found Wozwa generates jwplayer.smil, which I added to my URL and the playback behaves as expected, I am able to switch immediately to the desired bitrate. Hitting each button responds in the desired behaviour.
I am wondering why I cant get this to work with out the jwplayer.smil.
The wowza environment should only be for initial testing, later on I would like to distribute the .ts segments and generated playlists via a webserver without the help of Wowza.
For that I would be targeting to direct JWPlayer to the main .m3u8 playlist that points at the substreams. I tested that - with the same behaviour where the playback jumps back or forward to a near segement border but not smoothly to the desired bitrate.
I wonder about the neccessarity of the SMIL file. Would I need it in every case, even though I would'nt use a streaming server?
What could be the reason for the differences in playback behaviour I encountered?
Thanks in advnace for your help!
Could I send the URL I am testing with via email?
My Streams are
800 kbps. 1280x720
50kps, 320x180
My SMIL file stored at Wowza looks like this,
I address it in JWPlayer like:
http://wowza:1935/hanno_temp/_definst_/smil:fmle_2.smil/playlist.m3u8
<smil>
<head>
</head>
<body>
<switch>
<video src="livestream1" width="1280" height="720" system-bitrate="819200"/>
<video src="livestream2" width="320" height="180" system-bitrate="51200" />
</switch>
</body>
</smil>