sergey-dryabzhinsky / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
1.02k stars 214 forks source link

nginx-rtmp -> push -> nginx-rtmp corrupt HLS and Dash #348

Open dbrown444 opened 2 years ago

dbrown444 commented 2 years ago

Hello all,

I've noticed that if I have one server push RTMP to another server of the same build, the HLS and MPEG-Dash produced are not playable by all devices. Samsung and iPhones seem to be the most affected, but there seem to be other random devices that cannot play the HLS or MPEG-Dash.

If the HLS and MPEG-Dash are produced directly from the server, the content is slightly better, but it is still not ideal. In short, it seems there is an issue with HLS specifically being played on the iPhone.

So I guess two issues here; iPhones can't play the HLS produced by NGINX-RTMP, and, some small devices have additional problems when you push between servers and the produce HLS.

Thanks for your attention.

dbrown444 commented 2 years ago

Yah, I can't figure out why, but if I push rtmp to another nginx server the HLS that is produced by the receiving nginx-rtmp server doesn't work right. I've looked at the files and they seem normal, but yet the iphone cannot play it. Occasionally if you wait for like 1 - 2 minutes the iphone will start playing it, but sometimes it will never play. The act of pushing from one server to another server seems to create the issue.