Skip to main content

Module mainbrain

Module mainbrain 

Source

Structsยง

BraidAppState ๐Ÿ”’
The structure that holds our app data
EVENTS_PREFIX ๐Ÿ”’
LiveStatsAccum ๐Ÿ”’
LiveStatsCollector ๐Ÿ”’
SendConnectedCamToBuiBackend ๐Ÿ”’

Enumsยง

MainbrainError ๐Ÿ”’

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ยง

MainbrainResult ๐Ÿ”’
SharedStore ๐Ÿ”’