RustCam
About
RustCam-Media is a self-hostable video surveillance platform: cameras, encoders and drones from different vendors and floors all join one backend, so live viewing, retention, alarm handling and later evidence work happen in a single console. Released under the MIT licence, you can deploy and extend it yourself.
Product principles
Self-hosting first
Video never leaves the intranet and data stays on your own server — no per-channel subscription, no third party holding your footage.
One backend, one way of working
Fixed cameras and drones share the same recordings, the same alarm stream and the same permissions; the device type changes, the workflow does not.
Works with what you own
Mainstream protocols are supported out of the box, so the hardware you already have keeps working and a new device only needs an address.
Dispatch on demand
Send a drone only when it is needed, saving cabling, poles and long-term maintenance; routes, geofences and alarm rules are composed by configuration instead of locking you into one scenario.
Secure by default
Tokens and tiered permissions guard every business endpoint, with permission boundaries and action auditing available out of the box.
Roadmap
Full GB28181 chain
Mainstream camera and encoder onboarding, PTZ control, platform broadcast and two-way talk are all complete.
ONVIF discovery and control
Automatic discovery on the network, movement, zoom and two-way talk are complete.
RTSP and media services
Third-party device onboarding and the media server cluster are complete, with automatic failover.
Multi-vendor media adapters
The adapter layer is finished; some vendor integrations are still partially implemented.
Mobile Eye
Drones join the surveillance domain as moving vantage points: flight control, a live 3D view, automatic onboard camera streams, routes, geofences, control authority and audit are delivered, with a built-in simulator test environment.
Continuous evolution
Scenario templates, the Mobile Eye and video wall integration demo, plus recording policies and map picking keep iterating.
Contribute
The development environment, local startup, code style, commit conventions and the PR flow are described in CONTRIBUTING.md. Before submitting, run at least:
cargo fmt && cargo clippy --all-targets -- -D warnings && cargo testCommit messages follow Conventional Commits, for example: feat(frontend): 通道编辑弹窗接入地图选点。
Open-source licence
RustCam-Media is released under the MIT License: commercial use, modification, distribution and sublicensing are allowed as long as the copyright notice is retained.