The devicechange
handler is executed whenever a media device such as a camera, microphone, or speaker is connected or removed from the system.
General info
- Specification
- {{SpecName('Media Capture')}}
- Interface
- Event
- Bubbles
- No
- Cancelable
- No
- Target
- {{domxref('MediaDevices')}}
- Default Action
- None
Properties
{{OpenEventProperties()}}{{CloseEventProperties()}}
Related Events
None.