有时网站会在您使用的任何浏览器中请求音频、视频或屏幕捕获权限。以下是在Edge(Edge)浏览器中启用或禁用音频、视频和屏幕捕获的方法。假设您不想在使用Microsoft Edge浏览器时禁止视频通话。为此,您必须至少阻止两件事——音频和视频捕获。同样,如果您想关闭屏幕共享功能,您也可以这样做。
您可以使用注册表编辑器(Registry Editor)和本地组策略编辑器(Local Group Policy Editor)更改此设置。如果使用GPEDIT方法,则需要下载 Edge 浏览器的组策略模板(download the Group Policy templates for the Edge browser)。如果您使用REGEDIT方法,请不要忘记备份所有注册表文件(backup all Registry files)。
使用GPEDIT在Edge中启用或禁用音频(Audio)、视频(Video)和屏幕捕获(Screen Capture)
要在Edge(Edge)中启用或禁用音频、视频和屏幕捕获,请执行以下步骤 -
- 按Win+R打开运行提示。
- 输入gpedit.msc并点击Enter按钮。
- 转到计算机配置(Computer Configuration)中的Microsoft Edge。
- 双击允许或阻止音频捕获(Allow or block audio capture)设置。
- 选择禁用(Disabled)选项。
- 单击确定(OK)按钮。
- 打开允许或阻止视频捕获(Allow or block video capture)和允许或拒绝屏幕捕获(Allow or deny screen capture)设置。
- 选择禁用(Disabled)选项。
- 单击确定(OK)按钮。
要了解有关这些步骤的更多信息,请继续阅读。
首先,您必须在计算机上打开本地组策略编辑器(Local Group Policy Editor)。为此,按 Win+R,键入 gpedit.msc,然后按Enter按钮。打开后,导航到以下路径-
Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge
在这里您可以找到三个设置:
- 允许或阻止音频捕获
- 允许或阻止视频捕获
- 允许或拒绝屏幕截图
要阻止音频捕获,请双击第一个设置。同样,如果要关闭视频或屏幕捕获,请分别双击第二个或第三个设置。
现在,选择 禁用 (Disabled )选项并单击 确定 (OK )按钮。
接下来,如果您想允许特定站点显示权限提示,请按照以下说明进行设置。
为此,请双击 无需请求许可即可访问音频捕获设备 (Sites that can access audio capture devices without requesting permission )的站点或 无需请求许可即可访问视频捕获设备(Sites that can access video capture devices without requesting permission)的站点。
选择 启用 (Enabled )选项并单击 显示 (Show )按钮。
接下来,输入所需的网站URL并单击 OK 按钮两次以保存更改。
如果要还原所有更改,请打开相同的设置,选择 未配置 (Not Configured )选项,然后单击 确定 (OK )按钮。
使用REGEDIT在Edge中打开或关闭音频(Audio)、视频(Video)和屏幕捕获(Screen Capture)
要使用REGEDIT在(REGEDIT)Edge中打开或关闭音频、视频和屏幕捕获,请执行以下步骤 -
- 在任务栏搜索框中搜索regedit。
- 单击单个结果。
- 选择是(Yes)按钮。
- 在HKEY_LOCAL_MACHINE中导航到Microsoft。
- 右键单击Microsoft > New > Key。
- 将其命名为Edge。
- 右键单击Edge > New > DWORD (32-bit) Value。
- 将其命名为AudioCaptureAllowed或VideoCaptureAllowed或ScreenCaptureAllowed。
- 保持值数据为0。
让我们详细研究这些步骤。
首先,您必须在计算机上打开注册表编辑器。为此,您可以 在任务栏搜索框中搜索(Taskbar)regedit ,单击单个搜索结果,然后选择 是 (Yes )选项。
接下来,导航到以下路径 -
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
在这里,您必须创建一个子键。为此,请右键单击 Microsoft 键,选择 New > Key并将其命名为 Edge。
接下来,右键单击 Edge 键,选择 New > DWORD (32-bit) Value,并将其命名为AudioCaptureAllowed或VideoCaptureAllowed或ScreenCaptureAllowed。
第一个选项可让您禁用音频捕获,而第二个和第三个选项可让您分别关闭视频和屏幕捕获。
默认情况下,它带有0的(0)值(Value)数据 ,您必须保留它才能在Edge浏览器中关闭音频捕获。
与GPEDIT方法一样,您可以允许特定网站访问音频和视频捕获设施。您需要按照这些步骤来完成它。
右键单击 Edge 键,选择 New > Key 并将其命名为 AudioCaptureAllowedUrls 或 VideoCaptureAllowedUrls。
正如这些名称所定义的,第一个选项允许您配置与音频相关的设置,而后一个选项允许您配置与视频相关的设置。
现在,右键单击 AudioCaptureAllowedUrls 或 VideoCaptureAllowedUrls,选择 New > String Value,并将其命名为 1。
双击 1,然后输入网站URL作为值(Value)数据。
单击 确定 (OK )按钮以保存更改。
如果要还原所有更改,可以右键单击 Edge 键,选择 删除 (Delete )选项,然后单击 是 (Yes )按钮。它将一次删除Edge键和所有子键和REG_DWORD值。
希望本指南有所帮助。
阅读: (Read: )如何在 Edge 浏览器中启用音频沙盒。(How to enable Audio Sandbox in Edge browser.)
How to enable or disable Audio, Video, and Screen Capture in Edge
There are times when websitеs ask for audio, video, or screеn capture permission in whatever browser yoυ are using. Here is how you can enable or disable audio, video, and screen capture in the Edgе browser. Let’s say you do not want to disallow video calls while using thе Microsoft Edge browser. To do so, you have to block at leаѕt two things – audio аnd video capture. Similarly, if you want to turn off the screen-sharing fаcilіty, you can do that too.
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-
- Press Win+R to open the Run prompt.
- Type gpedit.msc and hit the Enter button.
- Go to Microsoft Edge in the Computer Configuration.
- Double-click on the Allow or block audio capture setting.
- Select the Disabled option.
- Click the OK button.
- Open the Allow or block video capture and Allow or deny screen capture settings.
- Select the Disabled option.
- Click the OK button.
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-
Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge
Here you can find three settings called:
- Allow or block audio capture
- Allow or block video capture
- Allow 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-
- Search for regedit in the Taskbar search box.
- Click on the individual result.
- Select the Yes button.
- Navigate to Microsoft in HKEY_LOCAL_MACHINE.
- Right-click on Microsoft > New > Key.
- Name it as Edge.
- Right-click on Edge > New > DWORD (32-bit) Value.
- Name it as AudioCaptureAllowed or VideoCaptureAllowed, or ScreenCaptureAllowed.
- Keep the value data as 0.
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-
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
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.