You can change this setting using the Registry Editor and the Local Group Policy Editor. If you use the GPEDIT method, you need to download the Group Policy templates for the Edge browser. If you use the REGEDIT method, don’t forget to backup all Registry files.
Enable or disable Audio, Video, and Screen Capture in Edge using GPEDIT
To enable or disable audio, video, and screen capture in Edge, follow these steps- To learn more about these steps, keep reading. At first, you have to open the Local Group Policy Editor on your computer. For that, press Win+R, type gpedit.msc, and hit the Enter button. Once it is opened, navigate to the following path- Here you can find three settings called:
Allow or block audio captureAllow or block video captureAllow or deny screen capture
To block audio capture, double-click on the first setting. Similarly, if you want to turn off video or screen capture, double-click on the second or third setting, respectively. Now, select the Disabled option and click the OK button.
Next, if you want to allow a particular site to show the permission prompt, here is how you can set that up. For that, double-click on the Sites that can access audio capture devices without requesting permission or Sites that can access video capture devices without requesting permission.
Select the Enabled option and click the Show button.
Next, enter the desired website URL and click the OK button twice to save the change. If you want to revert all the changes, open the same settings, select the Not Configured option, and click on the OK button.
Turn on or off Audio, Video, and Screen Capture in Edge using REGEDIT
To turn on or off audio, video, and screen capture in Edge using REGEDIT, follow these steps- Let’s delve into these steps in detail. At first, you have to open the Registry Editor on your computer. For that, you can search for regedit in the Taskbar search box, click on the individual search result, and select the Yes option. Next, navigate to the following path- Here you have to create a sub-key. To do this, right-click on the Microsoft key, select New > Key, and name it Edge.
Next, right-click on the Edge key, select New > DWORD (32-bit) Value, and name it as AudioCaptureAllowed or VideoCaptureAllowed, or ScreenCaptureAllowed. The first option lets you disable audio capture, whereas the second and third options let you turn off the video and screen capture, respectively. By default, it carries the Value data of 0, and you have to keep it to turn off audio capture in the Edge browser.
Like the GPEDIT method, you can allow a particular website to access audio and video capture facilities. You need to follow these steps to get it done. Right-click on the Edge key, select New > Key and name it as AudioCaptureAllowedUrls or VideoCaptureAllowedUrls.
As these names define, the first option lets you configure the audio-related settings whereas the latter option lets you configure the video-related settings. Now, right-click on AudioCaptureAllowedUrls or VideoCaptureAllowedUrls, select New > String Value, and name it as 1.
Double-click on 1, and enter the website URL as the Value data.
Click on the OK button to save the change. If you want to revert all the changes, you can right-click on the Edge key, select the Delete option, and click on the Yes button. It will delete the Edge key and all the sub-keys and REG_DWORD values at once. Hope this guide helped. Read: How to enable Audio Sandbox in Edge browser.