From 049161c8ad8a14de5253f5dfabaf1df32a225892 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Sun, 14 Jun 2026 21:20:34 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E6=91=84=E5=83=8F=E5=A4=B4=E5=AE=89=E5=85=A8=E6=BA=90?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 89baf13..74ed7d1 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,21 @@ CamTalk/ - Node.js >= 18 - Go >= 1.24 +### 浏览器摄像头配置 + +> **⚠️ 重要:** 由于项目使用非 HTTPS 环境访问摄像头,浏览器默认会阻止此行为。启动项目前需先完成以下配置,否则无法正常使用摄像头功能。 + +1. 在浏览器地址栏中访问: + ``` + chrome://flags/#unsafely-treat-insecure-origin-as-secure + ``` +2. 将 **Insecure origins treated as secure** 选项置为 **Enabled**(已启用) +3. 在输入框中输入: + ``` + http://8.161.227.145:9000/ + ``` +4. 保存并重启浏览器,随后即可正常使用摄像头 + ### 前端 ```bash