*** id: b285dfb6-cdf7-4ee0-8c84-e7997423fc43 title: createCameraDeviceWatcher slug: /js/reference/webrtc/create-camera-device-watcher description: createCameraDeviceWatcher function in the WebRTC namespace. max-toc-depth: 3 ---------------- ### createCameraDeviceWatcher * `Const` **createCameraDeviceWatcher**(): `Promise>` Asynchronously returns an event emitter that notifies changes in all camera devices. This is equivalent to calling `createDeviceWatcher({ targets: ['camera'] })`, so refer to [createDeviceWatcher](/docs/browser-sdk/v3/js/reference/webrtc/create-device-watcher) for additional information about the returned event emitter. #### Returns `Promise>`