Skip to content

Make it possible to retry the video recording if it fails - #168

Open
zachm-vapi wants to merge 1 commit into
mainfrom
zachm/vapics-1170-missing-videorecordingurl
Open

Make it possible to retry the video recording if it fails#168
zachm-vapi wants to merge 1 commit into
mainfrom
zachm/vapics-1170-missing-videorecordingurl

Conversation

@zachm-vapi

@zachm-vapi zachm-vapi commented Aug 7, 2026

Copy link
Copy Markdown

Linear: VAPICS-1170

When call.startRecording() is called, the client must become ready within 25 seconds, or Daily will time out. If the client fails to become ready (e.g. due to a slow connection), Daily will emit a recording-error event, and the call will not be recorded.

This commit exposes public startRecording() and stopRecording() methods so that the developer can choose to retry the recording if it fails for whatever reason.

For example:

vapi.on('recording-error', (e) => {
  console.error('Recording failed', e);
  // Retry after a short delay
  setTimeout(() => vapi.startRecording(), 5000);
});

@zachm-vapi
zachm-vapi requested a review from kyle-vapi August 7, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant