diff --git a/crates/core/src/bc_protocol/errors.rs b/crates/core/src/bc_protocol/errors.rs index 6f18f3f..64fc30d 100644 --- a/crates/core/src/bc_protocol/errors.rs +++ b/crates/core/src/bc_protocol/errors.rs @@ -49,7 +49,10 @@ pub enum Error { CameraServiceUnavailable { /// The message ID id: u32, - // The return code this is usually 200 for OK and 400 for not yet ready and 500 for camera cannot comply or understand + /// The return code this is usually + /// 200 for OK + /// 400 for not yet ready + /// 500 for camera cannot comply or understand code: u16, }, diff --git a/src/rtsp/factory.rs b/src/rtsp/factory.rs index 4b5b4a1..e5bf191 100644 --- a/src/rtsp/factory.rs +++ b/src/rtsp/factory.rs @@ -157,7 +157,7 @@ fn build_unknown(bin: &Element, pattern: &str) -> Result<()> { fn build_h264(bin: &Element, stream_config: &StreamConfig) -> Result { let buffer_size = buffer_size(stream_config.bitrate); - log::info!( + log::debug!( "buffer_size: {buffer_size}, bitrate: {}", stream_config.bitrate );