new option --exit-on-no-clients

This commit is contained in:
Maxim Devaev
2022-02-14 02:44:58 +03:00
parent 3a8f035014
commit 616a3eb6a6
7 changed files with 64 additions and 11 deletions

View File

@@ -249,6 +249,9 @@ Intarval between keyframes. Default: 30.
.BR \-\-exit\-on\-parent\-death
Exit the program if the parent process is dead. Required \fBHAS_PDEATHSIG\fR feature. Default: disabled.
.TP
.BR \-\-exit\-on\-no\-clients \fIsec
Exit the program if there have been no stream or sink clients or any HTTP requests in the last N seconds. Default: 0 (disabled).
.TP
.BR \-\-process\-name\-prefix\ \fIstr
Set process name prefix which will be displayed in the process list like '\fIstr: ustreamer \-\-blah\-blah\-blah'\fR. Required \fBWITH_SETPROCTITLE\fR feature. Default: disabled.
.TP