Structsยง
- Braid
AppState ๐ - The structure that holds our app data
- EVENTS_
PREFIX ๐ - Live
Stats ๐Accum - Live
Stats ๐Collector - Send
Connected ๐CamTo BuiBackend
Enumsยง
- Mainbrain
Error ๐
Constantsยง
- APP_
INFO ๐ - COOKIE_
SECRET_ ๐KEY - STRAND_
CAM_ ๐COOKIE_ KEY
Functionsยง
- begin_
cam_ ๐sync_ triggerbox_ in_ process - cam_
proxy_ ๐handler - cam_
proxy_ ๐handler_ inner - cam_
proxy_ ๐handler_ root - compute_
trigger_ ๐timestamp - device_
connect_ ๐urls_ handler - Returns the URLs (one per reachable network interface) at which this web UI can be reached, each carrying a freshly minted short-lived access token. The frontend turns these into QR codes for connecting another device.
- display_
qr_ ๐url - do_
run_ ๐forever - events_
handler ๐ - handle_
auth_ ๐error - launch_
braid_ ๐http_ backend - load_
persistent_ ๐secret - Load the persistent cookie/token secret, generating and saving a fresh one if none exists.
- quit_
event_ ๐frame - Build the Server-Sent Events frame announcing that the server is quitting.
- remote_
camera_ ๐info_ handler - Query the mainbrain configuration to get data required for camera settings.
- synchronize_
cameras ๐ - to_
event_ ๐frame - toggle_
saving_ ๐csv_ tables
Type Aliasesยง
- Mainbrain
Result ๐ - Shared
Store ๐