Function recordUpdateTimer

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

    Parameters

    Returns void

    recordUpdateTimer({
    recordElapsedTime: 0,
    recordStartTime: Date.now(),
    updateRecordElapsedTime: (elapsedTime) => console.log("Elapsed Time:", elapsedTime),
    updateRecordingProgressTime: (formattedTime) => console.log("Recording Progress:", formattedTime),
    });