Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taoso/webp2p
WebP2P
https://github.com/taoso/webp2p
Last synced: about 2 months ago
JSON representation
WebP2P
- Host: GitHub
- URL: https://github.com/taoso/webp2p
- Owner: taoso
- Created: 2014-03-13T08:59:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-08T11:13:10.000Z (almost 10 years ago)
- Last Synced: 2024-04-16T02:42:26.514Z (9 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WebP2P
------使用WebRTC建立点对点通信连接。
体验方法:
```
npm install
node app.js
```然后访问 http://localhost:3000,输入用户名(假设为a);再开一个窗口,
输入用户名(假设为b)。在a的控制台中执行`p.start(1, 'b')`,然后既可以通过`p.channels.chat.send`给b发送 数据了。