Add warning about plaintext users/passwords

This commit is contained in:
George Hilliard committed 2020-07-18 15:12:26 -05:00
1 parent c9a3561088
commit 5935d331b3
1 file changed
+4
+4
View File
@@ -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 {