diff --git a/README.md b/README.md index a97a122..becce0d 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ You may also need to use `h264` format while using the SD stream. By default Neolink serves on all IP addresses on port 8554. You can modify this by changing the `bind` and the `bind_port` parameter. -Use can enable `rtsps` (TLS) by adding a `certificate = "/path/to/pem"` to the config. This pem should contain by the certificate and the key used for the server. If TLS is enabled all connections must use `rtsps`. Use can also control client side TLS with the config option `tls_client_auth = "none|request|require"`, in this case the client should present a certificate signed by the server's CA, this is disabled by default. +Use can enable `rtsps` (TLS) by adding a `certificate = "/path/to/pem"` to the config. This pem should contain by the certificate and the key used for the server. If TLS is enabled all connections must use `rtsps`. You can also control client side TLS with the config option `tls_client_auth = "none|request|require"`, in this case the client should present a certificate signed by the server's CA, this is disabled by default. Use can enable basic authentication by adding the configuration option `username = "someone"` and `password = "somepass"`. Both username and password must be set for this to work. diff --git a/src/gst.rs b/src/gst.rs index 763d73f..8f7576a 100644 --- a/src/gst.rs +++ b/src/gst.rs @@ -105,7 +105,7 @@ impl RtspServer { }; if ! user.is_empty() && ! pass.is_empty() { - info!("Setting credentials for user {}", user); + debug!("Setting credentials for user {}", user); debug!("Password is {}", pass); let token = RTSPToken::new(&[(*RTSP_TOKEN_MEDIA_FACTORY_ROLE, &"watcher")]); let basic = RTSPAuth::make_basic(user, pass);