企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] > [github/hello_webrtc/v0.0.1](https://github.com/idcpj/hello_webrtc/tree/v0.0.1) ## 概述 实现了远程点多点 ## 快速开始 启动 service ``` cd app go run main.go ``` 访问浏览器 https://127.0.0.1:8083 ## 注意: 如果使用局域网ip,需要配置https 方式一:app/main.go 中以 整数的方式启动 方式二: apache 配置 1. 打开模块 "mod_proxy.so,mod_proxy_http.so,mod_rewrite.somod_ssl.so,mod_proxy_wstunnel.so" 2. 在httpd-ssl.conf 配置 https 的站点 ``` RewriteEngine On RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR] RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC] RewriteRule ^/wss(.*) ws://192.168.0.130:8083/wss$1 [P,L] ProxyPass / http://127.0.0.1:8083/ ProxyPassReverse / http://127.0.0.1:8083/ ```