@ -17,10 +17,6 @@ writeTimeout: 5s
# to enforce security).
# to enforce security).
authMethods : [ basic, digest]
authMethods : [ basic, digest]
# command to run when a client connects.
# this is terminated with SIGINT when a client disconnects.
runOnConnect:
# enable Prometheus-compatible metrics on port 9998.
# enable Prometheus-compatible metrics on port 9998.
metrics : no
metrics : no
# enable pprof on port 9999 to monitor performances.
# enable pprof on port 9999 to monitor performances.
@ -31,6 +27,11 @@ logDestinations: [stdout]
# if "file" is in logDestinations, this is the file that will receive the logs.
# if "file" is in logDestinations, this is the file that will receive the logs.
logFile : rtsp-simple-server.log
logFile : rtsp-simple-server.log
# command to run when a client connects to the server.
# this is terminated with SIGINT when a client disconnects from the server.
runOnConnect:
runOnConnectRestart : no
# these settings are path-dependent.
# these settings are path-dependent.
# it's possible to use regular expressions by using a tilde as prefix.
# it's possible to use regular expressions by using a tilde as prefix.
# for example, "~^(test1|test2)$" will match both "test1" and "test2".
# for example, "~^(test1|test2)$" will match both "test1" and "test2".
@ -57,38 +58,42 @@ paths:
# redirected to.
# redirected to.
sourceRedirect:
sourceRedirect:
# username required to publish.
publishUser:
# password required to publish.
publishPass:
# ips or networks (x.x.x.x/24) allowed to publish.
publishIps : [ ]
# username required to read.
readUser:
# password required to read.
readPass:
# ips or networks (x.x.x.x/24) allowed to read.
readIps : [ ]
# command to run when this path is loaded by the program.
# command to run when this path is loaded by the program.
# this can be used, for example, to publish a stream and keep it always opened.
# this can be used, for example, to publish a stream and keep it always opened.
# this is terminated with SIGINT when the program closes.
# this is terminated with SIGINT when the program closes.
# the path name is available in the RTSP_SERVER_PATH variable.
# the path name is available in the RTSP_SERVER_PATH variable.
runOnInit:
runOnInit:
runOnInitRestart : no
# command to run when this path is requested.
# command to run when this path is requested.
# this can be used, for example, to publish a stream on demand.
# this can be used, for example, to publish a stream on demand.
# this is terminated with SIGINT when the path is not requested anymore.
# this is terminated with SIGINT when the path is not requested anymore.
# the path name is available in the RTSP_SERVER_PATH variable.
# the path name is available in the RTSP_SERVER_PATH variable.
runOnDemand:
runOnDemand:
runOnDemandRestart : no
# command to run when a client starts publishing.
# command to run when a client starts publishing.
# this is terminated with SIGINT when a client stops publishing.
# this is terminated with SIGINT when a client stops publishing.
# the path name is available in the RTSP_SERVER_PATH variable.
# the path name is available in the RTSP_SERVER_PATH variable.
runOnPublish:
runOnPublish:
runOnPublishRestart : no
# command to run when a clients starts reading.
# command to run when a clients starts reading.
# this is terminated with SIGINT when a client stops reading.
# this is terminated with SIGINT when a client stops reading.
# the path name is available in the RTSP_SERVER_PATH variable.
# the path name is available in the RTSP_SERVER_PATH variable.
runOnRead:
runOnRead:
runOnReadRestart : no
# username required to publish.
publishUser:
# password required to publish.
publishPass:
# ips or networks (x.x.x.x/24) allowed to publish.
publishIps : [ ]
# username required to read.
readUser:
# password required to read.
readPass:
# ips or networks (x.x.x.x/24) allowed to read.
readIps : [ ]