config sample for tls_client_auth, stream, channel_id
remove deprecated format
This commit is contained in:
1 parent
055d731fec
commit
a7202fa9e1
1 file changed
+15
-3
+15
-3
@@ -2,6 +2,7 @@
|
||||
# You can chage this to a specfic network e.g. "192.168.1.101" here
|
||||
# Or to no networks e.g. this computer only "127.0.0.1"
|
||||
bind = "0.0.0.0"
|
||||
|
||||
# Default port is 8554 but you can change it by uncommenting the following
|
||||
# bind_port = 8554
|
||||
|
||||
@@ -11,6 +12,10 @@ bind = "0.0.0.0"
|
||||
# If TLS is activated you must connect with "rtsps://" and not "rtsp://"
|
||||
# certificate = "/path/to/pem/with/cert/and/key"
|
||||
|
||||
# Choose if the client is required to provide a certificate signed by the server's CA.
|
||||
# none|requested|required - default none
|
||||
# tls_client_auth = "required"
|
||||
|
||||
# You can password protect the rtsp server mount points by adding users
|
||||
# like the following me and someone. If you do not add [[users]]
|
||||
# then anyone can connect without a password or username
|
||||
@@ -30,15 +35,22 @@ name = "driveway"
|
||||
username = "admin"
|
||||
password = "12345678"
|
||||
address = "192.168.1.187:9000"
|
||||
|
||||
# By default any of the users can connect (or anyone at all if no users are specfied)
|
||||
# You can uncomment the following to permit only specfic users
|
||||
# permitted_users = [ "me" ]
|
||||
|
||||
# By default "both" "mainStream" and "subStream" are connected
|
||||
# If your device has user connection limits try a single stream instead.
|
||||
# stream = "mainStream"
|
||||
|
||||
|
||||
[[cameras]]
|
||||
name = "storage shed"
|
||||
username = "admin"
|
||||
password = "987654321"
|
||||
address = "192.168.1.245:9000"
|
||||
# By default the camera is assumed to be in H.265 format
|
||||
# Some camera's e.g. E1 use H.264. You can use the following to change this
|
||||
# format = "h264"
|
||||
|
||||
# By default channel_id = 0. Eg the first connected camera on the device
|
||||
# Note this counts from 0. An 8 channel NVR would have channels 0 through 7
|
||||
# channel_id = 1
|
||||
Reference in new issue
Block a user