resolveMediaDeviceConstraints
function resolveMediaDeviceConstraints(constraints?, base?): undefined | boolean | MediaTrackConstraints;
Internal
Resolve constraints and mediaTrackConstraints by checking the type and try to return the best possible from mediaTrackConstraints.
Parameters
| Parameter | Type |
|---|---|
constraints? | InputDeviceConstraint |
base? | boolean | MediaTrackConstraints |
Returns
undefined | boolean | MediaTrackConstraints