bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.71k stars 1.4k forks source link

HLS: make closeAfterInactivity configurable #3329

Closed xjr20042 closed 1 month ago

xjr20042 commented 1 month ago

"closeAfterInactivity" was dead code fixed at 60 seconds, indicates the muxer will be closed when there is no readers request and this amount of time has passed. This PR adds "hlsMuxerCloseAfter" in mediamtx.yml to do the same thing.

aler9 commented 1 month ago

Hello, this is ok for me, add hlsMuxerCloseAfter to apidocs/openapi.yaml and i will merge it.

xjr20042 commented 1 month ago

Hello, I'm glad to hear that it meets your approval! I've completed the addition as requested, and it's now ready for your review and merging.

Please let me know if there are any further adjustments.

aler9 commented 1 month ago

merged, thanks!

github-actions[bot] commented 1 month ago

This issue is mentioned in release v1.8.2 🚀 Check out the entire changelog by clicking here