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
readonlydevices:CameraDevice[]
Array of currently available camera devices.
selected
readonlyselected:string|undefined
ID of the currently selected camera device, if any.