Skip to main content

Real-Time Streaming

After every image storage operation, the service broadcasts metadata to connected frontends via SignalR. This enables the frontend to display live camera feeds without polling for new images.

Broadcast Flow​

Message Schema​

The broadcast includes:

  • Device ID β€” Which camera captured the image
  • Image URL β€” Blob Storage URL for the full image
  • Thumbnail URL β€” Blob Storage URL for the thumbnail
  • Timestamp β€” When the image was captured
  • PTZ data β€” Pan/tilt/zoom position at capture time
  • Image type β€” single, panorama, or pre-stitched

The frontend uses this metadata to update the camera feed in real-time. The actual image bytes are not sent through SignalR β€” only the metadata with blob URLs.