Skip to content

hughfenghen/webrtc-nsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

无需server创建webrtc私密连接

启动

  1. 安装依赖:yarn install
  2. 运行:yarn dev

使用

  1. 启动后,访问http://localhost:1234/webrtc-nsc/host.html
  2. 点击页面首行的链接
  3. 复制新打开页面answer后面的内容,粘贴到host.html应答密令输入框中,点击连接按钮
  4. 查看两个页面的控制台,如果invitee.html页面有打印===== onmessage: dididi说明传递消息成功

注意事项

  1. 连接双方不要使用代理

About

无需server创建webrtc私密连接

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published