Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linxiaowu66/nodejs-rtc-demo
nodejs implements rtc(real time communication) application
https://github.com/linxiaowu66/nodejs-rtc-demo
Last synced: about 6 hours ago
JSON representation
nodejs implements rtc(real time communication) application
- Host: GitHub
- URL: https://github.com/linxiaowu66/nodejs-rtc-demo
- Owner: linxiaowu66
- Created: 2018-03-01T01:58:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T09:43:12.000Z (over 5 years ago)
- Last Synced: 2023-03-02T19:36:39.776Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://blog.5udou.cn/blog/JSShi-Shi-Tong-Xin-San-Ba-Fu-Xi-Lie-Zhi-Yi-websocket62
- Size: 86.9 KB
- Stars: 14
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## demo介绍
该demo是为了学习nodejs实时通信而写的,里面包含的三种实现方式: websocket/socket.io/EventSource.## 项目启动
websocket: `node ws.js`
socket.io: `node io.js`
EventSource: `node es.js`
## 基础知识
为了看懂这3个demo,可以参考我的系列文章:
1. [JS实时通信三把斧系列之一: websocket](https://blog.5udou.cn/blog/JSShi-Shi-Tong-Xin-San-Ba-Fu-Xi-Lie-Zhi-Yi-websocket62)
2. [JS实时通信三把斧系列之二: socket.io
](https://blog.5udou.cn/blog/JSShi-Shi-Tong-Xin-San-Ba-Fu-Xi-Lie-Zhi-Er-socketio40)3. [JS实时通信三把斧系列之三: eventsource](https://blog.5udou.cn/blog/JSShi-Shi-Tong-Xin-San-Ba-Fu-Xi-Lie-Zhi-San-eventsource55)