Add warning about plaintext users/passwords
This commit is contained in:
1 parent
c9a3561088
commit
5935d331b3
1 file changed
+4
@@ -51,6 +51,10 @@ fn main() -> Result<(), Error> {
|
||||
|
||||
set_up_users(&config.users, &rtsp);
|
||||
|
||||
if config.certificate == None && !config.users.is_empty() {
|
||||
warn!("Without a server certificate, usernames and passwords will be exchanged in plaintext!")
|
||||
}
|
||||
|
||||
crossbeam::scope(|s| {
|
||||
for camera in config.cameras {
|
||||
let stream_format = match &*camera.format {
|
||||
|
||||
Reference in new issue
Block a user