This API is a wrapper around OT.getDevices.
It returns a Promise<devices>
.
The following gets an array of devices:
const devices = await VideoExpress.getDevices();
Methods
Name | Description |
---|---|
(Promise<devices>)
VideoExpress.getDevices
()
|
Returns an array of objects corresponding to available microphones and
cameras. Each object has three properties:
The
The
The Note: The browser may limit the number of returned audio and video input devices to one each before the user has granted accees to a camera or microphone. |