Rate this page:

Hardware

Class that may be used to manage audio and video devices.

Props

cameras
Copy URL
cameras: 

ReadonlyWatchable<InputDevice[]>

Watchable property that allows getting the array of the currently available cameras ond observing its changes.

lastAddedDevice
Copy URL
lastAddedDevice: 

ReadonlyWatchable<null | InputDevice | OutputDevice>

Watchable property that allows getting the last added audio or video device and observing its changes.

lastRemovedDevice
Copy URL
lastRemovedDevice: 

ReadonlyWatchable<null | InputDevice | OutputDevice>

Watchable property that allows getting the last removed audio or video device and observing its changes.

microphones
Copy URL
microphones: 

ReadonlyWatchable<InputDevice[]>

Watchable property that allows getting the array of the currently available microphones ond observing its changes.

permission
Copy URL
permission: 

DevicePermission

Allows requesting the microphone and camera permissions and monitor permissions state changes.

speakers
Copy URL
speakers: 

ReadonlyWatchable<OutputDevice[]>

Watchable property that allows getting the array of the currently available speakers ond observing its changes.

Rate this page: