Methods
-
getInputs( [ type ] ) → {Promise.<Array.<InputDeviceInfo>>}
-
Description
Returns a promise fulfilled with an array of
InputDeviceInfoobjects detailing the currently available inputs.Parameters
Name Type Attributes Description typestring <optional> The type (
"audio"or"video") of input devices to return. If no type is specified, all input devices are returned.Returns
Details
-
getSupportedConstraints() → {MediaTrackSupportedConstraints}
-
Description
Returns an object whose properties identify which constraints are supported by the current environment.
Returns
Details
-
mix( parent, ...mixins ) → {Class}
-
Description
This function mixes into the parent class the properties of specified objects. The mixins must be objects (and not classes).
Parameters
Name Type Attributes Description parentClass The parent class (superclass)
mixinsObject <repeatable> Objects whose properties should be mixed into the parent class.
Returns
Details