Add a pass alias for the camera password to match that in rtsp credentials

This commit is contained in:
QuantumEntangledAndy committed 2024-05-08 09:57:14 +07:00
1 parent ab947b895c
commit ae6e0fd928
1 file changed
+2
+2
View File
@@ -135,6 +135,8 @@ pub(crate) struct CameraConfig {
pub(crate) camera_uid: Option<String>,
pub(crate) username: String,
#[serde(alias = "pass")]
pub(crate) password: Option<String>,
#[serde(default = "default_stream")]