Skip to content

TypeScript SDK Reference / CameraDevicesUpdatedEvent

Interface: CameraDevicesUpdatedEvent

Event fired when the list of available camera devices has changed. This can occur when cameras are plugged in or removed.

Properties

devices

readonly devices: CameraDevice[]

Array of currently available camera devices.


selected

readonly selected: string | undefined

ID of the currently selected camera device, if any.