diff --git a/src/rtsp/states/loggedin.rs b/src/rtsp/states/loggedin.rs index 79ffdb0..eb84f2c 100644 --- a/src/rtsp/states/loggedin.rs +++ b/src/rtsp/states/loggedin.rs @@ -15,7 +15,10 @@ pub(crate) struct LoggedIn {} #[async_trait] impl CameraState for LoggedIn { async fn setup(&mut self, shared: &Shared) -> Result<(), anyhow::Error> { - shared.camera.login_with_maxenc(shared.max_encryption).await?; + shared + .camera + .login_with_maxenc(shared.max_encryption) + .await?; Ok(()) }