AI
recordingTranscription
- Controls whether to enable AI transcription for recordings.
- If this is disabled, then the recording will not be sent to LLMs for transcription.
- You can either use the props or the API method to enable/disable this feature.
Default:
enabled
Using Props:Using API:
summary
Controls whether to display a summary transcript of the recording. When enabled, an AI-generated summary of the recording’s content will be shown. Default:true
Recording Configuration
enableRecordingMic
- Turn on user microphone on the recorder control panel.
Using API:
setRecordingQualityConstraints
- Defines quality constraints (e.g., resolution, frame rate) for the raw media input from the user’s screen, camera, or microphone, applied before recording begins.
- Higher quality constraints will result in higher upload, download and processing times.
- Params: RecorderQualityConstraints
-
Returns:
void
- Default:
setRecordingEncodingOptions
- Controls the output quality and size of the video or audio file you save after it’s been captured.
- Higher quality options will result in higher upload, download and processing times.
-
We automatically select the best file format (MIME type) based on the browser and device compatibility. Here is the preferred order in which this is selected:
video/mp4;codecs=h264,aac
video/mp4
audio/mp4
video/webm;codecs=vp9,opus
video/webm;codecs=vp8,opus
video/webm;codecs=h264,opus
video/webm
- Params: RecorderEncodingOptions
-
Returns:
void
- Default:
Permissions
askDevicePermission
- Programmatically requests audio and video permissions from the user. This is useful for creating a custom onboarding flow for device permissions.
- Params:
RecorderDevicePermissionOptions
- Returns:
Promise<void>
Data
deleteRecordings
- Deletes recordings by their recorder IDs.
- Params: RecorderRequestQuery (optional)
- Returns:
Promise<DeleteRecordingsResponse[]>
Using API:
downloadLatestVideo
- Downloads the latest version of a recording.
- Params:
recorderId: string
- Returns:
Promise<boolean>
fetchRecordings
- Fetches all recordings from either the current document or specified recorder IDs.
- Params: RecorderRequestQuery (optional)
-
Returns:
Promise<GetRecordingsResponse[]>
getRecordings
- Subscribe to all recording data from either the current document or specified recorder IDs.
- Params: RecorderRequestQuery (optional)
- Returns:
Observable<GetRecordingsResponse[]>
Using Hook:Using API:
Event Subscription
on
- Subscribe to Recorder Events. Here is the list of events you can subscribe to and the event objects you will receive.
Event Type | Description | Event Object |
---|---|---|
transcriptionDone | Triggered when a transcription is generated and ready | TranscriptionDoneEvent |
recordingDone | Triggered when a recording is completed | RecordingDoneEvent |
deleteRecording | Triggered when a recording is deleted | RecordingDeleteEvent |
recordingEditDone | Triggered when the “Done” button is clicked in the recording editor. Fires after edits are saved, or immediately if no edits were made. | RecordingEditDoneEvent |
recordingStarted | Triggered when the recording starts. | RecordingStartedEvent |
recordingPaused | Triggered when the recording is paused. | RecordingPausedEvent |
recordingResumed | Triggered when the recording is resumed after being paused. | RecordingResumedEvent |
recordingCancelled | Triggered when the recording is cancelled. | RecordingCancelledEvent |
recordingStopped | Triggered when the recording is stopped. | RecordingStoppedEvent |
recordingSaveInitiated | Triggered when a recording saved is initiated | RecordingSaveInitiatedEvent |
error | Triggered when an error occurs. eg: editFailed , recordingFailed , transcriptionFailed | RecordingErrorEvent |
Editor
autoOpenVideoEditor
- Controls whether to open the video editor automatically when the recording is done.
- Available in
Velt Recorder Control Panel
component.
false
retakeOnVideoEditor
- Controls whether to enable the retake button on video editor. This will take the user back to the control panel to start a new recording.
false
Using Props (use any one of the following):Using APIs:
enableOnboardingTooltip
- Controls whether to enable the onboarding tooltip on video editor.
false
Using APIs:
videoEditor
- Controls whether to enable the video editor for the
Velt Recorder Player
. - Works for Video and Screen Recordings.
- Available in
Velt Recorder Notes
,Velt Recorder Player
andVelt Recorder Control Panel
components. You could use any of these.
false
Using Props:Using API:
UI/UX
buttonLabel
Sets a custom label for theVelt Recorder Tool
.
playVideoInFullScreen
- Controls whether to play the recorded video in fullscreen mode.
- You can use this prop on any of the following components:
Velt Recorder Notes
Velt Recorder Control Panel
Velt Recorder Player
false
recordingCountdown
- Controls whether to display a countdown timer before a recording starts.
- You can either use the props or the API method to enable/disable this feature.
enabled
Using Props:Using API:
settingsEmbedded
- Controls whether to embed the settings in the
Velt Recorder Control Panel
component. - Available in
Velt Recorder Control Panel
component. - Please use this together with the Control Panel Wireframes so that you can move the settings panel in a different part of the control panel UI.
false
mode
TheVelt Recorder Control Panel
has two display modes:
floating
: Shows a preview in the bottom left corner of the page, regardless of component placementthread
: Displays the component at its placed location in the DOM
floating
type
Sets the recording mode for theVelt Recorder Tool
.
Available modes:
all
- Records audio, video and screenaudio
- Records audio onlyvideo
- Records video onlyscreen
- Records screen only
audio
Legacy Methods
onRecordedData
TheonRecordedData
callback is triggered when a recording is completed.
- Callback returns RecorderData object.
Using Props: