无需server创建webrtc私密连接 启动 安装依赖:yarn install 运行:yarn dev 使用 启动后,访问http://localhost:1234/webrtc-nsc/host.html 点击页面首行的链接 复制新打开页面answer后面的内容,粘贴到host.html的应答密令输入框中,点击连接按钮 查看两个页面的控制台,如果invitee.html页面有打印===== onmessage: dididi说明传递消息成功 注意事项 连接双方不要使用代理