I'm streaming from a live rtsp source to produce an HLS Stream
Im using the following directive -
exec_static ffmpeg -rtsp_transport tcp -i rtsp://admin:password@cam.ddns.net:1080/live
-c copy -f flv rtmp://localhost/show/stream;
When the source goes offline and comes back online , I have to restart nginx to restart the HLS stream.
Hello ,
I'm streaming from a live rtsp source to produce an HLS Stream
Im using the following directive - exec_static ffmpeg -rtsp_transport tcp -i rtsp://admin:password@cam.ddns.net:1080/live -c copy -f flv rtmp://localhost/show/stream;
When the source goes offline and comes back online , I have to restart nginx to restart the HLS stream.
Any way around this would be appreciated.
Thanx!