Recorder Config - Express Capture 2.0
Recorder Config
recorderConfig is the part of the settings that controls what the user can also change, and the recorder features you can turn on or off. It goes inside the runtime settings:
settings: {
ks, partnerId, uiConfId, serviceUrl, playerUrl,
recorderConfig: {
prompterText: 'Hi, I am ...',
framingAssistance: true,
orientation: 'portrait',
},
}
These properties are not yet available in production: prompterTextLocked, teleprompterOpen, hideVideoSettings, resolution, frameRate, videoFormat, backgroundCategoryId, allowBuiltInBackgrounds and allowBackgroundUpload. Opening the teleprompter automatically for a prompterText is also coming soon. Until the next recorder release, production ignores these properties with a console warning, so setting them now does no harm.
How Values Are Chosen
Each value resolves in this order:
- The value you set in
recorderConfig. - The user's own saved choice from an earlier session (kept in the browser's
localStorage). - The recorder's default.
So a value you set wins on every load, even over a choice the user made before. Some properties have no saved choice at all; the tables below say which.
recorderConfig is read once, when the recorder loads. Changing it later with updateSettings has no effect.
What Setting a Value Does
| Effect | Properties |
|---|---|
| Forced: the value is applied and its control is removed from the UI | orientation; and resolution, frameRate and videoFormat while hideVideoSettings is true |
| Pre-filled: the value is applied and the user can still change it | prompterText, teleprompterOpen, framingAssistance, lightingAssistance, audioLevelFeedback, echoCancellation, noiseSuppression, autoGainControl; and resolution, frameRate and videoFormat while hideVideoSettings is not true |
| Hidden: never shown in the menu | saveMode, entryId, prompterTextLocked, hideVideoSettings, backgroundCategoryId, allowBuiltInBackgrounds, allowBackgroundUpload |
Teleprompter
| Property | Type | Default | Description |
|---|---|---|---|
prompterText | string | empty | The teleprompter script, up to 27,000 characters. A longer script is cut to the limit with a console warning. A non-blank script also opens the teleprompter when the recorder loads. The user can edit it, unless prompterTextLocked is true. It is never saved to the browser, because it may contain personal information. |
prompterTextLocked | boolean | false | Makes your prompterText read-only. The user can't type, paste, cut, delete or drop text into the script, and a lock icon tells them the script is provided by their organization. Play, pause, speed, font size, contrast, restart, scrolling and moving the panel still work. Ignored, with a console warning, when there is no non-blank prompterText. |
teleprompterOpen | boolean | false | Opens the teleprompter panel when the recorder loads. A non-blank prompterText opens it anyway, so false doesn't keep it closed when you supply a script. The user can still close and reopen it from the toolbar. It is read on every load and never saved, so the panel never reopens because of an earlier session. |
Orientation and Video Profile
| Property | Type | Default | Description |
|---|---|---|---|
orientation | 'landscape' | 'portrait' | 'landscape' | Capture orientation. Setting a valid value hides the orientation control. Not affected by hideVideoSettings. |
resolution | '4K' | '2K' | 'FHD' | 'HD' | 'SD' | the user's choice | Capture resolution: 3840×2160, 2560×1440, 1920×1080, 1280×720 or 640×480 (swapped in portrait). Pre-fills the resolution control. If the camera can't deliver it, the recorder silently falls back to one the camera supports. |
frameRate | 24 | 25 | 30 | 50 | 60 | 30 | Capture frame rate, as a number. Pre-fills the frame rate control. A string such as '30' is ignored with a warning. |
videoFormat | 'webm-vp9' | 'webm-av1' | 'webm-h264' | 'mp4-h264' | 'mp4-h265' | 'mp4-vp9' | 'mp4-av1' | WebM | Recording container and codec. Pre-fills the format control. A format the browser can't record is skipped with a console warning, and the user's saved choice or the default is used instead. There is no webm-h265. |
hideVideoSettings | boolean | false | Removes the resolution, frame rate and format controls, and records with a fixed profile. See below. It is never saved. |
Fixed Video Profile
With hideVideoSettings: true, the recorder uses a fixed profile and ignores the user's saved choices, without deleting them. They come back once you stop hiding the controls.
| Setting | The recorder uses |
|---|---|
| Resolution | resolution; else the largest resolution that fits videoConstraints.width and height; else FHD |
| Frame rate | frameRate; else videoConstraints.frameRate; else 30 |
| Format | videoFormat; else the default WebM format |
If the camera can't deliver the resolution or frame rate, the recorder uses the highest one below it (or the lowest frame rate, when none is below). If the browser can't record the format, the recorder uses the browser's best supported one: Safari, for example, can't record WebM. The user sees no message in any of these cases; a format substitution logs a console warning.
This also works with allowSettingsMenu: false. The controls are already gone then, but hideVideoSettings still fixes the profile.
Guidance and Audio
| Property | Type | Default | Description |
|---|---|---|---|
framingAssistance | boolean | false | A framing guide over the camera preview during setup, to help the user position themselves. It is a static guide: it doesn't detect where the user is, and it is never part of the recording. Coming soon: dashed margin lines with a recommended eye-level line, in place of today's rectangle. |
lightingAssistance | boolean | false | Lighting indicator. |
audioLevelFeedback | boolean | false | Microphone level meter. |
echoCancellation | boolean | true | Echo cancellation on the microphone, where the browser supports it. |
noiseSuppression | boolean | false | Noise suppression on the microphone, where the browser supports it. |
autoGainControl | boolean | true | Automatic gain control on the microphone, where the browser supports it. |
Backgrounds
By default, the camera menu's Background tab offers None, Light blur, Strong blur, six built-in background images, and an Upload tile for the user's own images.
| Property | Type | Default | Description |
|---|---|---|---|
backgroundCategoryId | number | string | — | A Kaltura category whose image entries replace the six built-in backgrounds, for example your brand's backgrounds. A number or a string of digits. See below. |
allowBuiltInBackgrounds | boolean | true | false removes the six built-in images. Has no effect while backgroundCategoryId is set, since the category replaces them anyway. |
allowBackgroundUpload | boolean | true | false removes the Upload tile, and hides images the user uploaded in earlier sessions. Those stay in the browser and come back in an embed that allows uploads. |
None of the three is ever saved. With no built-in images, no category and no uploads, the tab still offers None, Light blur and Strong blur.
Backgrounds from a Category
With backgroundCategoryId, the recorder lists the category's ready image entries when it loads, using the session's KS:
- They appear oldest first, so the order you add them to the category is the order users see.
- At most 50 are shown, with a console warning when the category holds more.
- Each is named after its entry, or "Background image N" when it has no name.
- While the list loads, the image area shows a loading status. The blurs, and recording, can be used at once.
The KS must be able to list the category's entries, so check the category's entitlements and privacy context. If the category can't be used (not found, not readable with the KS, an API error, or no ready images), the tab offers only None, Light blur, Strong blur, and uploads when allowed, with a console warning. The built-in images are never offered in its place.
Saved Backgrounds
The recorder remembers the background the user last picked. If that background is no longer offered, for example a built-in image while built-ins are off, it isn't applied, the saved choice is cleared, and the camera starts with no effect. A saved category image is kept while the category loads, or if it fails to load, so a passing API error doesn't lose the user's choice.
Saving
| Property | Type | Default | Description |
|---|---|---|---|
saveMode | 'kaltura' | 'non_kaltura' | 'kaltura' | Whether Use This also uploads to Kaltura. See Saving & Uploads. |
entryId | string | — | An existing entry to replace the media on, instead of creating a new entry. Used only when saveMode is 'kaltura'. |
Bad Values Are Ignored, Not Rejected
A bad value in recorderConfig never stops the recorder from loading. This is different from the rest of the settings, which are validated strictly.
- An unrecognised value (
orientation: 'diagonal'), a value of the wrong type (framingAssistance: 'yes'), or a property not listed on this page is ignored. - Each one logs a console warning that starts with
[recorder] recorderConfig.. - The property falls through to the user's saved choice or the default, and the rest of
recorderConfigstill applies.
Check the browser console for these warnings when a value doesn't seem to take effect.
What You Can't Set
- Mirror preview. It is the user's own viewing preference. It is on by default and the user can turn it off; you can't pre-set it.
- The single-or-dual screen-share option.
videoOutputModehas been removed: a screen share with the camera on always records both. See Screen Sharing.