Files
MultiRoombaRover/plans/onvif-reolink.md
T
2026-07-10 00:57:10 -04:00

2.1 KiB

ONVIF first, reolink specifics second PTZ camera integration

what where who how

  • adding support for a reolink PTZ camera
  • ideally control everything over ONVIF
  • VIP (verified user) feature only
  • due to upload bandwidth limitations (ONLY UPLOAD TO USERS MATTERS HERE NOT INTERNAl NETWORK STUFF), only one person should be on the camera at a time. only one person at a time should view
    • the ptz camera should have a queue and turns that are like 5 mintues long or so, so no one can hog it
    • if you are the camera operator, you are not on a rover. ever.
    • if you are a spectator, you can see the snapshots for it
      • local spectators should get full video like they already do now though
  • the camera needs to be a replay source
  • camera video needs to go through the same pipeline as rover video does and get to the client over webRTC

camera learnings

  • scan for all onvif features that the camera has

UI flow:

  • whole UI should be very technical and utilitarian
    • use cardframe for everything
    • match global styling
  • new card in VIP tab
    • shows whoevers on the camera
    • a very slow snapshot of the camera view
    • maybe some other stats
    • a big button to open the camera controller
  • the fullscreen camera interface
    • the rest of the site needs to go away when this is open
    • when its open, it takes over your rover controls. whatever they are
      • easy route for this could be to intercept it right before the control goes to the server, so any control gets converted to a ptz control
    • desktop
      • movement controls pan and tilt
      • camera up / down controls zoom
      • headlight and laser buttons hopefully control spotlight and IR light or something
      • fullscreen inteface
      • right sidebar with info and controls info
    • mobile
      • uhhh idk
      • obviously, camera on the screen
      • probably add a variant of the mobile controls just to retitle the things from the rover controls to the camera controls
      • and just use the same control columns