Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)