"EnTerr" wrote:
i believe caching explains all of the behavior here - how Roku plays the same video loop, repeatedly - and VLC plays linearly. None of your arguments explain that, do they?
I've seen many examples of the Roku looping when trying to play a non-compliant HLS stream, or even a spec-conformant stream that just doesn't adhere to what Roku "recommends" for HLS playback in terms of numbers of segments and segment durations. For example, I've seen it go into a loop when trying to play a sequence of segments with a short duration followed by a segment with a much relatively larger duration, eg. 4s, 3s, 5s, 15s. Normally there are enough upcoming segments to prevent problems, but in a case like this, for instance after it gets done playing the 3 short segments (12s total duration), the longer (15s) segment hasn't been written yet, and the Roku goes into a loop. Having more segments and having their durations be more consistent helps alleviate these kinds of problems, as long as you don't start trying to read from too close to the end of the file. I could cite other cases too, the point being that the Roku's looping behavior can easily occur (based on my personal experience) in a number of different situations. I disagree with your statement that none of my arguments explain the looping behavior. As RokuMarkn says, it's most likely a sequence number issue.