此项目为简单的demo项目,仅支持本机通信
git clone https://github.com/zxdstyle/webrtc-demo.git
启动信令服务器:
cd server
go run main.go
启动客户端:
cd client
yarn && yarn dev
先访问http://localhost:3000/client
页面再访问 http://localhost:3000
即可体验
基于webrtc实现点对点桌面分享
此项目为简单的demo项目,仅支持本机通信
git clone https://github.com/zxdstyle/webrtc-demo.git
启动信令服务器:
cd server
go run main.go
启动客户端:
cd client
yarn && yarn dev
先访问http://localhost:3000/client
页面再访问 http://localhost:3000
即可体验