Const
Checks if the recording can be resumed based on the media type and pause limits.
The options for checking resume state.
The type of media being recorded ("video" or "audio").
The maximum number of pauses allowed for video recording.
The maximum number of pauses allowed for audio recording.
The current number of pauses that have occurred.
true
false
const canResume = await checkResumeState({ recordingMediaOptions: 'video', recordingVideoPausesLimit: 3, recordingAudioPausesLimit: 5, pauseRecordCount: 2,}) Copy
const canResume = await checkResumeState({ recordingMediaOptions: 'video', recordingVideoPausesLimit: 3, recordingAudioPausesLimit: 5, pauseRecordCount: 2,})
Checks if the recording can be resumed based on the media type and pause limits.