|
|
@ -1,4 +1,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# destinations of log messages; available values are "stdout", "file" and "syslog". |
|
|
|
|
|
|
|
logDestinations: [stdout] |
|
|
|
|
|
|
|
# if "file" is in logDestinations, this is the file which will receive the logs. |
|
|
|
|
|
|
|
logFile: rtsp-simple-server.log |
|
|
|
|
|
|
|
|
|
|
|
# supported stream protocols (the handshake is always performed with TCP). |
|
|
|
# supported stream protocols (the handshake is always performed with TCP). |
|
|
|
protocols: [udp, tcp] |
|
|
|
protocols: [udp, tcp] |
|
|
|
# port of the TCP RTSP listener. |
|
|
|
# port of the TCP RTSP listener. |
|
|
@ -7,12 +12,10 @@ rtspPort: 8554 |
|
|
|
rtpPort: 8000 |
|
|
|
rtpPort: 8000 |
|
|
|
# port of the UDP RTCP listener (used only if udp is in protocols). |
|
|
|
# port of the UDP RTCP listener (used only if udp is in protocols). |
|
|
|
rtcpPort: 8001 |
|
|
|
rtcpPort: 8001 |
|
|
|
|
|
|
|
|
|
|
|
# timeout of read operations. |
|
|
|
# timeout of read operations. |
|
|
|
readTimeout: 10s |
|
|
|
readTimeout: 10s |
|
|
|
# timeout of write operations. |
|
|
|
# timeout of write operations. |
|
|
|
writeTimeout: 10s |
|
|
|
writeTimeout: 10s |
|
|
|
|
|
|
|
|
|
|
|
# supported authentication methods (both are insecure, use RTSP inside a VPN |
|
|
|
# supported authentication methods (both are insecure, use RTSP inside a VPN |
|
|
|
# to enforce security). |
|
|
|
# to enforce security). |
|
|
|
authMethods: [basic, digest] |
|
|
|
authMethods: [basic, digest] |
|
|
@ -22,11 +25,6 @@ metrics: no |
|
|
|
# enable pprof on port 9999 to monitor performances. |
|
|
|
# enable pprof on port 9999 to monitor performances. |
|
|
|
pprof: no |
|
|
|
pprof: no |
|
|
|
|
|
|
|
|
|
|
|
# destinations of log messages; available values are "stdout", "file" and "syslog". |
|
|
|
|
|
|
|
logDestinations: [stdout] |
|
|
|
|
|
|
|
# if "file" is in logDestinations, this is the file which will receive the logs. |
|
|
|
|
|
|
|
logFile: rtsp-simple-server.log |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# command to run when a client connects to the server. |
|
|
|
# command to run when a client connects to the server. |
|
|
|
# this is terminated with SIGINT when a client disconnects from the server. |
|
|
|
# this is terminated with SIGINT when a client disconnects from the server. |
|
|
|
# the server port is available in the RTSP_PORT variable. |
|
|
|
# the server port is available in the RTSP_PORT variable. |
|
|
|