MediaSFU React Native
    Preparing search index...

    Variable checkResumeStateConst

    checkResumeState: CheckResumeStateType

    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.

    • Resolves to true if the recording can be resumed, otherwise false.
    const canResume = await checkResumeState({
    recordingMediaOptions: 'video',
    recordingVideoPausesLimit: 3,
    recordingAudioPausesLimit: 5,
    pauseRecordCount: 2,
    })