Click or drag to resize

ICaptureStartSessionHandler Property

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

Namespace:  DotNetBrowser.Capture
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.2
Syntax
C#
IHandler<StartSessionParameters, StartSessionResponse> StartSessionHandler { get; set; }

Property Value

Type: IHandlerStartSessionParameters, StartSessionResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
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.

See Also