mangui/flashls

M3u8 Not Playing after first ts segment

Akash1034 opened this issue · 0 comments

Hi all,

I have been trying to play a m3u8 file with segments having byte ranges. The file works smoothly till end if no action is performed(pause/play). But when pausing and playing the file, it doesn't play or even when you seek the audio, it doesn't resumes.

When debugged, found that when the first segment is playing(around first 10 secs), any action(pause/play) can be done it works fine, but when the second segment is loaded after that no actions can be done as the exoplayer stuck and never recovers. The Exoplayer stays in STATE_BUFFERING state and doesn't recovers to STATE_READY state after first segment is over and any action is performed after it(After first segment).

On further debugging, we found that TsExtractor class was not able to extract the segments as the payloadReader was getting NULL after first segment, might be tsPayloadReaders is not working properly. There could be a issue with the m3u8 file as well.

There's no further clue to solve this issue, kindly help me resolving this issue. I'm attaching the m3u8 file inside zip
audio.m3u8.zip
.