Roverr / rtsp-stream

Out of box solution for RTSP - HLS live stream transcoding. Makes RTSP easy to play in browsers.
MIT License
713 stars 166 forks source link

fix(cleanup): Shutdown http server to stop process #34

Closed kasidej closed 4 years ago

kasidej commented 4 years ago

I found process doesn't stop when receive SIGINT or SIGTERM because HTTP server shutdown wasn't called. So I added shutdown function after everything cleanup.