> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# createMicrophoneDeviceWatcher

> createMicrophoneDeviceWatcher function in the WebRTC namespace.

### createMicrophoneDeviceWatcher

* `Const` **createMicrophoneDeviceWatcher**(): `Promise<EventEmitter<DeviceWatcherEvents, any>>`

Asynchronously returns an event emitter that notifies changes in all microphone devices. This is equivalent to calling `createDeviceWatcher({ targets: ['microphone'] })`, so refer to [createDeviceWatcher](/docs/browser-sdk/v3/js/reference/webrtc/create-device-watcher) for additional information about the returned event emitter.

#### Returns

`Promise<EventEmitter<DeviceWatcherEvents, any>>`