Table of Contents

Property StartSessionHandler

Namespace
DotNetBrowser.Capture
Assembly
DotNetBrowser.dll

StartSessionHandler

Gets or sets a handler that is used when the browser is about to start capturing sessions.

IHandler<StartSessionParameters, StartSessionResponse> StartSessionHandler { get; set; }

Property Value

IHandler<StartSessionParameters, StartSessionResponse>

Remarks

Use the ShowSelectSourceDialog() method to display the default dialog for choosing the capture source.

Use theSelectSource(Source, AudioMode) method to use the given capture source.

Use the SelectSource(IBrowser, AudioMode) method to use the given browser as the capture source.

Use theCancel() method if the capture session request should be canceled.

If an exception occurs inside the handler implementation, the default behavior will be applied - the method Cancel() will be used.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.