arut / nginx-rtmp-module

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

Restart streaming when source comes online #870

Open avilash opened 8 years ago

avilash commented 8 years ago

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!

thorin39 commented 5 years ago

Any solution?