dvrip-rs-0.1.6 has been yanked.
dvrip-rs
A high-performance Rust library for the DVRIP protocol.
This library is a port of the original Python implementation, optimized for concurrency
Each feature is separated as an trait so you can use only the features you need.
This crate was made for use with another program i am still making but i decided to put it in this repository
Features
- Authentication: Secure login and session management.
- Real-time Monitoring: Stream live video (H.264/H.265) directly from the device.
- Video Recording: Save streams to local storage.
- System Information: Retrieve device hardware and software details.
- User Management: Manage accounts and permissions. ( WIP )
- PTZ Control: Remote Pan, Tilt, and Zoom operations.
- Alarm Monitoring: Asynchronous callback system for alarm events. ( WIP )
- File Management: List and search for recordings on the device.
- Upgrade: Upgrade the device firmware. ( WIP )
- Backchannel: Two-way audio communication. (it works but lags for some reason, i will investigate)
Quick Start
Installation
Add dvrip to your Cargo.toml:
[]
= { = "https://github.com/orpos/dvrip_rs" }
= { = "1.0", = ["full"] }
Basic Example
Connect to a camera and start monitoring:
use DVRIPCam;
use AsyncWriteExt;
async
Credits & References
- https://github.com/OpenIPC/python-dvr
- https://github.com/AlexxIT/go2rtc
- https://github.com/alexshpilkin/dvrip
License
MIT