ConstraintFallbackEvent

View as MarkdownOpen in Claude

Event emitted when getUserMedia falls back to looser constraints.

Properties

actualDevice
MediaDeviceInfo | nullRequired

The device that the browser actually provided. See MediaDeviceInfo.

fallbackLevel
exact | preferred | defaultRequired

The constraint level that succeeded.

kind
audioinput | videoinputRequired

The kind of input device.

requestedDevice
MediaDeviceInfo | nullRequired

The device that was originally requested. See MediaDeviceInfo.