Updates the recording timer by calculating the elapsed time since the recording started
and formatting it in HH:MM:SS format.
Param: options
The options object.
Param: options.recordElapsedTime
The elapsed recording time in seconds.
Param: options.recordStartTime
The timestamp when the recording started.
Param: options.updateRecordElapsedTime
Callback to update the elapsed recording time.
Param: options.updateRecordingProgressTime
Callback to update the formatted recording time.
Returns
Remarks
This function calculates the elapsed time since the recording started and formats it into
a string in HH:MM:SS format. It updates both the elapsed time in seconds and the formatted
time via the provided callback functions.
Updates the recording timer by calculating the elapsed time since the recording started and formatting it in HH:MM:SS format.
Param: options
The options object.
Param: options.recordElapsedTime
The elapsed recording time in seconds.
Param: options.recordStartTime
The timestamp when the recording started.
Param: options.updateRecordElapsedTime
Callback to update the elapsed recording time.
Param: options.updateRecordingProgressTime
Callback to update the formatted recording time.
Returns
Remarks
This function calculates the elapsed time since the recording started and formats it into a string in HH:MM:SS format. It updates both the elapsed time in seconds and the formatted time via the provided callback functions.
Example