Recorder.Pause Method

Pauses the recorder.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub Pause
'Usage
Dim instance As Recorder

instance.Pause()
public void Pause()

Exceptions

Exception Condition
InvalidOperationException

Thrown when the recorder's State is not Started.

Remarks

Pause can be called only on recorder whose state is Started. To resume recording call Recorder.Start.

Examples

The following example starts, pause, restarts (by calling Start) and stops the Recorder.

C# Starting, pausing, restarting and stopping a Recorder.

 

            recorder.AttachFlow(audioVideoFlow);
            recorder.SetSink(sink);
            recorder.Start();



            recorder.Pause();



            recorder.Start();



            recorder.Stop();


See Also

Reference

Recorder Class

Recorder Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace