Roverr / rtsp-stream

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

How to keep ffmpeg always transing? #40

Closed zaozhao closed 4 years ago

zaozhao commented 4 years ago

My project always needs transing hls , so i want to know how to do .I can't fand the key of this.

zaozhao commented 4 years ago

thanks

Roverr commented 4 years ago

Hi @zaozhao ,

Absolutely fair point, documentation was missing the env variable you need to turn off the clean up functionality (so inactivity is not a problem anymore).

You have to set RTSP_STREAM_CLEANUP_ENABLED to false

I added the variable to the configuration document

Thanks for opening the issue!