MediaSFU Vue
    Preparing search index...

    Variable recordPauseTimerConst

    recordPauseTimer: RecordPauseTimerType

    Records the pause timer.

    The options for recording the pause timer.

    A flag to stop the timer.

    Indicates if the timer is running.

    Indicates if the timer can be paused or resumed.

    Function to show alerts.

    true if the timer can be paused or resumed, otherwise false.

    const canPause = recordPauseTimer({
    stop: false,
    isTimerRunning: true,
    canPauseResume: true,
    showAlert: (alert) => console.log(alert.message),
    })