HLS playback buffering issue
We have a custom server that serves up live video using HLS. It works correctly with Flowplayer's HLS plugin, but with JWPlayer it will play for a few seconds then gets into an indefinite 'buffering' state showing the spinner. At this point no more requests for the playlist occur as if it's hung. This is what the server's playlist looks like:
It seems like what happens is that it tries to buffer more than the 12 seconds the playlist shows as available, and when JWPlayer requests the playlist again and gets an empty list from the server(because no more segments are available yet), it hangs indefinitely.
Are their assumptions in JWPlayer's HLS code that the playlist's total length of segments must be more than the 12 seconds the server always returns? Or that segments must be longer than 2 seconds?