Skip to main content

Module camera

Module camera 

Source
Expand description

Camera snapshot — the A1/P1 chamber-image stream.

Proprietary JPEG stream over TLS on TCP 6000 (see docs/protocol.md): send an 80-byte auth packet (bblp + access code), then read framed JPEGs (16-byte header whose first u32 is the JPEG length). Self-signed v1 cert, so it shares the LAN rustls config (crate::tls) that accepts any certificate.

Note: the A1 camera is intermittently unavailable (a firmware quirk); when it isn’t streaming, the connection is accepted but no frame arrives, surfaced here as a read timeout.

Structs§

CameraClient
A one-shot camera client.

Enums§

CameraError
Errors from a camera snapshot. Messages never include the access code.