# Access to microphone & camera was denied in browser - TALK is working fine in the APP

**URL:** <https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746>\
**Category:** 💬 Talk (spreed)\
**Created:** [March 13, 2023, 9:42pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746 "2023-03-13T21:42:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijitamilaneast](https://help.nextcloud.com/letter_avatar/vijitamilaneast/32/5_5575768a8748004e209b776fc1b2916d.png) [@vijitamilaneast](https://help.nextcloud.com/u/vijitamilaneast)\
**Post date:** [March 13, 2023, 9:42pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/1 "2023-03-13T21:42:32Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤
> 
> Some useful links to gather information about your Nextcloud Talk installation:  
> Information about Signaling server: `/index.php/index.php/settings/admin/talk#signaling_server`  
> Information about TURN server: `/index.php/settings/admin/talk#turn_server`  
> Information about STUN server: `/index.php/settings/admin/talk#stun_server`

Nextcloud version _(eg, 24.0.1)_: `25.0.4`  
Talk Server version _(eg, 14.0.2)_: `Talk 15`  
Custom Signaling server configured: `no and version`  
Custom TURN server configured: `no`  
Custom STUN server configured: `no`

In case the web version of Nextcloud Talk is involved:  
Operating system _(eg, Windows/Ubuntu/…)_: ` Ubuntu 22.04`  
Browser name and version _(eg, Chrome v101)_: `Chrome, Safari, Firefox`

In case mobile Nextcloud Talk apps are involved:  
Talk iOS version _(eg, 14.0.2)_: `replace me`  
Talk Android version _(eg, 14.0.2)_: `replace me`

The issue you are facing:

Is this the first time you’ve seen this error? _(Y/N)_:

Steps to replicate it:

1. 
2. 
3. 

The output of your Nextcloud log in **Admin \> Logging** or errors in nextcloud.log in /var/www/:

```auto
PASTE HERE

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
PASTE HERE

```

Your browser log if relevant (javascript console log, network log, etc.):

```auto
PASTE HERE

```

---

<div class="post-metadata">

**Author:** ![KarlF12](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karlf12/32/46873_2.png) [@KarlF12](https://help.nextcloud.com/u/KarlF12)\
**Post date:** [March 13, 2023, 10:01pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/2 "2023-03-13T22:01:39Z")

</div>

> [@vijitamilaneast](#):
>
> The issue you are facing:

What’s your issue?

---

<div class="post-metadata">

**Author:** ![vijitamilaneast](https://help.nextcloud.com/letter_avatar/vijitamilaneast/32/5_5575768a8748004e209b776fc1b2916d.png) [@vijitamilaneast](https://help.nextcloud.com/u/vijitamilaneast)\
**Post date:** [March 13, 2023, 10:17pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/3 "2023-03-13T22:17:12Z")

</div>

Denied access to microphone and camera on browsers. I checked on Firefox, Google Chrome and Safari… All browser are throwing the same error. I checked and allowed the Privacy in all browsers.

Further, the TALK application on Android is working without any issues.

---

<div class="post-metadata">

**Author:** ![KarlF12](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karlf12/32/46873_2.png) [@KarlF12](https://help.nextcloud.com/u/KarlF12)\
**Post date:** [March 13, 2023, 10:35pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/4 "2023-03-13T22:35:59Z")

</div>

That’s going to be a browser issue. The method to allow it varies by browser, but I know for example Firefox will prompt you unless it’s been denied before to that site.

You should see an icon for it at the left end of the address bar while in a Talk conversation.

Are your mic and camera working in the browser in other sites?

---

<div class="post-metadata">

**Author:** ![vijitamilaneast](https://help.nextcloud.com/letter_avatar/vijitamilaneast/32/5_5575768a8748004e209b776fc1b2916d.png) [@vijitamilaneast](https://help.nextcloud.com/u/vijitamilaneast)\
**Post date:** [March 13, 2023, 10:39pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/5 "2023-03-13T22:39:43Z")

</div>

Thanks for the reponse dear… I checked all the setting of the browsers. And even with the PADLOCK on the left side will direct us to the Page setting where we will have option to choose “Allow / Ask / Deny” options for the particular site to use the microphone and camera.

I believe the issue is totally different but not able to figure out.

Further, I tried installing the nextcloud on my other VPS which is having CentOS7 is working perfectly through all these same browsers…

---

<div class="post-metadata">

**Author:** ![KarlF12](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karlf12/32/46873_2.png) [@KarlF12](https://help.nextcloud.com/u/KarlF12)\
**Post date:** [March 13, 2023, 11:05pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/6 "2023-03-13T23:05:13Z")

</div>

Nextcloud has no control over whether the browser is allowing access to system devices. The backend system must be functional if it’s working on mobile.

What is it set to (Allow/Ask/Deny) for the one that isn’t working?

---

<div class="post-metadata">

**Author:** ![vijitamilaneast](https://help.nextcloud.com/letter_avatar/vijitamilaneast/32/5_5575768a8748004e209b776fc1b2916d.png) [@vijitamilaneast](https://help.nextcloud.com/u/vijitamilaneast)\
**Post date:** [March 14, 2023, 5:54am UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/7 "2023-03-14T05:54:07Z")

</div>

Hi, it has been set to “Allow”. In mobile it is working fine through the talk application. But not via chrome. Further please note the server is managed via CloudPanel control panel.

---

<div class="post-metadata">

**Author:** ![stephanohonez](https://help.nextcloud.com/letter_avatar/stephanohonez/32/5_5575768a8748004e209b776fc1b2916d.png) [@stephanohonez](https://help.nextcloud.com/u/stephanohonez)\
**Post date:** [March 27, 2023, 9:10pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/8 "2023-03-27T21:10:02Z")

</div>

I was facing the same issue by using Nextcloud via Cloudpanel. Have a look into your vhost and look for:

```auto
add_header Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()";

```

and replace with

```auto
add_header Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(self),camera=(self),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()";

```

to enable microphone and camera access.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 12:08pm UTC](https://help.nextcloud.com/t/access-to-microphone-camera-was-denied-in-browser-talk-is-working-fine-in-the-app/157746/9 "2024-12-14T12:08:23Z")

</div>


