Crate hikvision

Source
Expand description

§hikvision-rs

High-level asynchronous library for controlling cameras from Hikvision using the PTZ API

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut cam = hikvision_rs::Cam::new("127.0.0.1", "1208", Some("admin", "12345"), 500).await?;
    cam.zoom_cam(10).await?;
 
    Ok(())
}

Modules§

error

Structs§

Cam
The structure of the camera allows you to communicate with it at a high level