Record a session
stop(), when it reaches maxDurationSeconds (default and maximum: 600 seconds), or automatically after 3 minutes with no on-screen activity.
Playback
A completed recording is an HLS video.playlistUrl points to its playlist, and markers holds chapters for tab switches (tab_switch) and AI runs (run) with their timestamps. A player can use the markers to jump straight to a specific run.
Unlike live view URLs, the playlist URL is
not tokenized. Fetching it requires your Box API key, like any other API
call. Recordings are retained for 14 days.
X-Box-Api-Key header there, and feed the proxied playlist to an HLS player such as hls.js. Do not ship the key to end users.
Find recordings later
Recordings belong to the box and can be discovered again after a restart or from another process:status (recording, completed, failed, or deleted), timing (startedAt, endedAt, durationMs), size, why it stopped (stoppedReason), and its expiry time.