Share via


Recorder.Start Method

Starts and resume recording.

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

Syntax

'Declaration
Public Sub Start
'Usage
Dim instance As Recorder

instance.Start()
public void Start()

Exceptions

Exception Condition
InvalidOperationException

Thrown when sink is not defined or if the recorder is already started.

OperationFailureException

Thrown when the operation failed.

Remarks

Start can be used to start a new recording or resume a paused one.

Examples

The following example starts a Recorder.

C# Starting a Recorder.

 

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


See Also

Reference

Recorder Class

Recorder Members

Microsoft.Rtc.Collaboration.AudioVideo Namespace