Skip to navigation

Hardware (class)

Web SDK v5 API reference
View as Markdown

Stream

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

Properties

cameras

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

lastAddedDevice

lastAddedDevice: ReadonlyWatchable<null | InputDevice | OutputDevice>

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

lastRemovedDevice

lastRemovedDevice: ReadonlyWatchable<null | InputDevice | OutputDevice>

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

microphones

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

permission

permission: DevicePermission

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

speakers

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