> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# Hardware (class)

[Stream](/api-reference/websdk5/stream/overview)

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

**Properties**

* [cameras](/api-reference/websdk5/stream/hardware#cameras)
* [lastAddedDevice](/api-reference/websdk5/stream/hardware#lastaddeddevice)
* [lastRemovedDevice](/api-reference/websdk5/stream/hardware#lastremoveddevice)
* [microphones](/api-reference/websdk5/stream/hardware#microphones)
* [permission](/api-reference/websdk5/stream/hardware#permission)
* [speakers](/api-reference/websdk5/stream/hardware#speakers)

## Properties

### cameras

`cameras: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<`[`InputDevice`](/api-reference/websdk5/stream/inputdevice)`[]>`

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

### lastAddedDevice

`lastAddedDevice: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<null | `[`InputDevice`](/api-reference/websdk5/stream/inputdevice)`  |  `[`OutputDevice`](/api-reference/websdk5/stream/outputdevice)`>`

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

### lastRemovedDevice

`lastRemovedDevice: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<null | `[`InputDevice`](/api-reference/websdk5/stream/inputdevice)`  |  `[`OutputDevice`](/api-reference/websdk5/stream/outputdevice)`>`

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

### microphones

`microphones: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<`[`InputDevice`](/api-reference/websdk5/stream/inputdevice)`[]>`

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

### permission

`permission: `[`DevicePermission`](/api-reference/websdk5/stream/devicepermission)

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

### speakers

`speakers: `[`ReadonlyWatchable`](/api-reference/websdk5/core/watchable/readonlywatchable)`<`[`OutputDevice`](/api-reference/websdk5/stream/outputdevice)`[]>`

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