Candidate Recording

Candidate recording (recordTestTaker) captures a continuous video of the candidate, from their camera and microphone, for the whole test. Reviewers watch it in the proctoring report alongside the violations.

It is different from Session Recording, which replays what happened on your page, not the candidate.

Enabling Candidate Recording

Set recordTestTaker: true in trackingOptions:

const proctoringOptions = {
    trackingOptions: {
        recordTestTaker: true
    }
}

The candidate is asked for camera and microphone access, even if audio and numHumans are off.

Candidate recording costs additional credits and is not part of the enhanced-features bundle. See Pricing & Credits.

How It Works

  1. During the test: the video is streamed live from the browser to AutoProctor's recording service (Amazon IVS) at a low resolution (320×240, 10 frames per second) with the microphone. Nothing is stored on the candidate's device, so closing the tab never loses what was already recorded. Face detection, photos and the camera preview keep using the full-quality camera.
  2. If the connection drops: the SDK keeps reconnecting in the background and the test is never paused. If the camera stops, it is re-acquired and the recording continues.
  3. On submit: when you call .stop(), the SDK leaves the recording session, which takes a few seconds at most. There is no upload to wait for.
  4. Processing: after the test, the recording is prepared for playback. Until that finishes, the report shows "Processing the recording" instead of the player.

If the network blocks the recording service, SDK 5.0 doesn't start the test: the candidate is asked to switch networks (error 4021) and can try again. In 4.x the test continues without the recording. If the recording can't start for any other reason, the test continues without it, and the report says the recording could not be captured.

In the Report

.showReport() includes the recording by default. While the test is running it shows "Recording in progress", then "Processing the recording", then the video. An attempt whose recording was interrupted and resumed shows it as Part 1, Part 2, and so on.

To hide it, or render it into your own element:

reportOptions keyTypeDefaultDescription
showTestTakerRecordingbooltrueShow the candidate recording section.
testTakerRecordingDOMIdstrap-report__test-taker-recordingID of the element to render it into. Created at the end of <body> if it doesn't exist.

See Viewing a Single Report.

Network Requirements

The recording streams over WebRTC to Amazon IVS. Networks that block WebRTC or AWS media servers block the recording. In SDK 5.0 the test then can't start (error 4021); in 4.x it continues unrecorded. If your page sets a Content-Security-Policy, see Versions & Installation.