enableMockCaptureDevices property
getter/setter pair
Sets whether mock capture devices are enabled. When enabled, the browser will use mock devices for getUserMedia() instead of real hardware. This is useful for testing.
The default value is false.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit 2.24+ (Official API - WebKitSettings.enable-mock-capture-devices):
- Requires WPE WebKit 2.24 or later
Implementation
bool? enableMockCaptureDevices;