Click or drag to resize

SelectMediaDeviceResponseSelect Method

Creates a SelectMediaDeviceResponse that notifies the engine that the given media input device should be used.

Namespace:  DotNetBrowser.Media.Handlers
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.25.1
Syntax
C#
public static SelectMediaDeviceResponse Select(
	MediaDevice defaultDevice
)

Parameters

defaultDevice
Type: DotNetBrowser.MediaMediaDevice
The media device to use. Must be the one from the list of the media input devices received from the Devices. If an invalid device is passed through this method, the first device from the list of media devices will be used.

Return Value

Type: SelectMediaDeviceResponse
The SelectMediaDeviceResponse instance that can be used as a return value in SelectMediaDeviceHandler.
See Also