DotNetBrowser  1.14
Public Member Functions | List of all members
DotNetBrowser.MediaStreamDeviceProvider Interface Reference

Provides default media stream device that Chromium should use for capturing audio/video input on loaded web page. More...

Public Member Functions

void OnRequestDefaultDevice (MediaStreamDeviceRequest request)
 Is invoked when Chromium asks for a default media stream device of the given media stream type (audio/video). If this method throws an exception, default behavior is used: the first device from the list of available devices is used as default. More...
 

Detailed Description

Provides default media stream device that Chromium should use for capturing audio/video input on loaded web page.

Member Function Documentation

void DotNetBrowser.MediaStreamDeviceProvider.OnRequestDefaultDevice ( MediaStreamDeviceRequest  request)

Is invoked when Chromium asks for a default media stream device of the given media stream type (audio/video). If this method throws an exception, default behavior is used: the first device from the list of available devices is used as default.

Parameters
requestcontains information about the requested media stream type, list of available media stream devices, and methods for setting/getting default device.