Function checkResumeState

Checks if the recording can be resumed based on the media type and pause limits.

const canResume = await checkResumeState({
recordingMediaOptions: "video",
recordingVideoPausesLimit: 3,
recordingAudioPausesLimit: 5,
pauseRecordCount: 2,
});
console.log(canResume); // true if pauseRecordCount is within limits