From a8edcdbf9eaa56ef6810faac8cb870d1c1ef60f6 Mon Sep 17 00:00:00 2001 From: dexter <178529795@qq.com> Date: Wed, 22 Jun 2022 11:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=8A=A0=E4=B8=8A=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index f78438a..bd30be9 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,19 @@ https://github.com/Monibuca/plugin-webrtc import ( _ "m7s.live/plugin/webrtc/v4" ) ``` +## 默认配置 + +```yaml +webrtc: + iceservers: [] + publicip: [] + portmin: 0 + portmax: 0 + pli: 2000000000 # 2s +``` + +### 本地测试无需修改配置,如果远程访问,则需要配置publicip + ## 基本原理 通过浏览器和monibuca交换sdp信息,然后读取rtp包或者发送rtp的方式进行