nginx-hls-module
nginx-hls-module copied to clipboard
Sometimes module generates different ts from the same mp4 file
On the same request (/994297.ts?video=5) module can generate different .ts. Some packets are broken (has no sync byte, lost payload.) Here you can see the diff bad ts good ts 33 packets of 17544 total are broken in this .ts iOS devices play "bad" .ts with minor distortions on broken pakets, but jwplayer tries to find sync byte offset and stuck on it. How can it be?
I have got the same problem and may be solution: hls_mp4_buffer_size 12m; hls_mp4_max_buffer_size 12m; it's looks like that there is no errors on hls_mp4_buffer_size is full and after it packets are thrown away. anyway for my videos this params are solve this problem.