MediaSFU Vue
    Preparing search index...

    Variable recordUpdateTimerConst

    recordUpdateTimer: RecordUpdateTimerType

    Updates the recording timer by calculating the elapsed time since the recording started and formatting it in HH:MM:SS format.

    The options object.

    The elapsed recording time in seconds.

    The timestamp when the recording started.

    Callback to update the elapsed recording time.

    Callback to update the formatted recording time.

    recordUpdateTimer({
    recordElapsedTime: 0,
    recordStartTime: Date.now(),
    updateRecordElapsedTime: (elapsedTime) => console.log('Elapsed:', elapsedTime),
    updateRecordingProgressTime: (formatted) => console.log('Progress:', formatted),
    })