Copyright © 2006-2019 MultiMedia Soft

RecordingDuration64 event

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

 

Syntax

 

[Visual Basic]

Public Event RecordingDuration64 As RecordingDuration64EventHandler


 

[C#]

public event RecordingDuration64EventHandler RecordingDuration64;


 

[C++]

public: __event RecordingDuration64EventHandler* RecordingDuration64;


 

 

Event Data

 

The event handler receives an argument of type RecordingDuration64EventArgs having the following parameters:

 

Parameters

Description

 

 

nDuration

Number representing the duration, expressed in milliseconds, of the current recording session