mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-30 06:51:59 -08:00
update docs
This commit is contained in:
parent
08823ddc92
commit
5c5cfe8e6e
1 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ 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.
|
||||
# the restart option allows to restart the command if it exits suddely.
|
||||
runOnConnect:
|
||||
runOnConnectRestart: no
|
||||
|
||||
|
|
@ -76,6 +77,7 @@ paths:
|
|||
# this can be used, for example, to publish a stream and keep it always opened.
|
||||
# this is terminated with SIGINT when the program closes.
|
||||
# the path name is available in the RTSP_SERVER_PATH variable.
|
||||
# the restart option allows to restart the command if it exits suddely.
|
||||
runOnInit:
|
||||
runOnInitRestart: no
|
||||
|
||||
|
|
@ -83,17 +85,20 @@ paths:
|
|||
# this can be used, for example, to publish a stream on demand.
|
||||
# this is terminated with SIGINT when the path is not requested anymore.
|
||||
# the path name is available in the RTSP_SERVER_PATH variable.
|
||||
# the restart option allows to restart the command if it exits suddely.
|
||||
runOnDemand:
|
||||
runOnDemandRestart: no
|
||||
|
||||
# command to run when a client starts publishing.
|
||||
# this is terminated with SIGINT when a client stops publishing.
|
||||
# the path name is available in the RTSP_SERVER_PATH variable.
|
||||
# the restart option allows to restart the command if it exits suddely.
|
||||
runOnPublish:
|
||||
runOnPublishRestart: no
|
||||
|
||||
# command to run when a clients starts reading.
|
||||
# this is terminated with SIGINT when a client stops reading.
|
||||
# the path name is available in the RTSP_SERVER_PATH variable.
|
||||
# the restart option allows to restart the command if it exits suddely.
|
||||
runOnRead:
|
||||
runOnReadRestart: no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue