Occurs, during a recording session, to notify the actual recording duration in milliseconds.
It's important to note that, in case the recording session should have been started in append, mix, overwrite or insert mode (through the SetRecordingMode method), this event would only report the duration of the current recording session and not the overall duration that would result after finalizing the recording session with the previous one. If you want to know the current position of the recording session, which would take count of a previous recording session, the RecordingPosition64 event would be the way to go.
In case the the current output file should have been switched through the SwitchOutputFile or SwitchOutputFileEx methods, its effective size could be obtained through the RecordingDurationAfterSwitch64 event.
For further details see the How to perform a recording session section.
For further details about synchronization through Events see the How to synchronize the container application through events tutorial.
The event handler receives an argument of type RecordingDuration64EventArgs having the following parameters: