treealarm/OnvifSim ? reverse-engineered prompt

Reverse engineered prompt

Build me an ONVIF IP camera simulator that I can run locally with no real cameras.

I want a small web app and backend that lets me create fixed and PTZ cameras, discover them on the network, and expose ONVIF device, media, PTZ, imaging, events, and basic relay and input behavior. Each camera should stream RTSP, at least Motion JPEG and optionally H.264, and react to PTZ commands like a real camera. It should also support snapshots and basic authentication.

The interesting part is the world editor in the browser. I want to be able to place roads, buildings, trees, cars, people, and cameras in a 3D scene, then see each camera’s live view beside the world and control PTZ with a joystick. Changes should update immediately and be saved in JSON so I can keep worlds in git and switch between them.

Please make it easy to run with Docker too, and if you need to look up current ONVIF or streaming docs online, do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab