# Chrome issue getting devices

**URL:** https://openvidu.discourse.group/t/chrome-issue-getting-devices/2455
**Category:** Issues developing apps
**Tags:** v2
**Created:** [December 17, 2020, 4:33pm UTC](https://openvidu.discourse.group/t/chrome-issue-getting-devices/2455 "2020-12-17T16:33:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Paul\_Targett](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/paul_targett/32/352_2.png) [@Paul\_Targett](https://openvidu.discourse.group/u/Paul_Targett)
#### Post date: [December 17, 2020, 4:33pm UTC](https://openvidu.discourse.group/t/chrome-issue-getting-devices/2455/1 "2020-12-17T16:33:53Z")

</div>

Hi, we are having a problem on Chrome where it comes back with an OverConstrainedError

I’ve attached the console output. Same code works fine on Safari but Chrome on Mac OS doesn’t work. We are using the current production version.

Any ideas?

 ![Screenshot 2020-12-17 at 16.31.20](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/5/557f9a70408f06571b58eaed1de25d309df39e77.png)

---

<div class="post-metadata">

### Author: ![Alireza](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Alireza](https://openvidu.discourse.group/u/Alireza)
#### Post date: [June 22, 2021, 5:49am UTC](https://openvidu.discourse.group/t/chrome-issue-getting-devices/2455/2 "2021-06-22T05:49:41Z")

</div>

I have the same issue. did you find any solution?

---

<div class="post-metadata">

### Author: ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)
#### Post date: [June 22, 2021, 11:23am UTC](https://openvidu.discourse.group/t/chrome-issue-getting-devices/2455/3 "2021-06-22T11:23:26Z")

</div>

This is the Web API telling you that the “deviceId” property used in method [**`navigator.mediaDevices.getUserMedia`**](https://developer.mozilla.org/es/docs/Web/API/MediaDevices/getUserMedia) is violating the supported values. That “deviceId” property is finally used by openvidu-browser in the [MediaTrackConstraints](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints) object to init the audio or video source. And it is doing so with the “exact” option, so if the deviceId is not supported as a valid audio or video input device, it will fail with that error.

To sum it up: you are probably passing as `audioSource` or `videoSource` in your PublisherProperties configuration object an invalid `deviceId`.

Cheers.
