simple 1:N SFU WebRTC as a MediaServer with ReactJS, Typescript, Node.js
# server use 8080 port
# web use 8085 port
# You can connect to http://localhost:8085
cd Typescript-ReactJS-WebRTC-1-N-SFU
docker-compose up -d
You need to install Node.js
cd Typescript-ReactJS-WebRTC-1-N-SFU
cd server
npm install
node index.js
cd web
npm install
npm start
device | description |
---|---|
CPU | AMD Ryzen 5 3600 6-Core Processor 3.59GHz |
RAM | 32GB |
GPU | NVIDIA GeForce RTX 2060 SUPER |
OS | Windows 10 Pro |
the number of users | P2P/Mesh(Signaling Server) | SFU(Media Server) |
---|---|---|
2 | 4% | 5% |
3 | 10% | 8% |
4 | 22% | 9.5% |
5 | 34% | 18% |
6 | 47% | 25% |
7 | 64% | 30% |
8 | 80% | 30% |
the number of users | P2P/Mesh(Signaling Server) | SFU(Media Server) |
---|---|---|
2 | 0.1% | 2% |
3 | 0.1% | 13% |
4 | 0.1% | 24% |
5 | 0.1% | 32% |
6 | 0.1% | 41% |
7 | 0.1% | 48% |
8 | 0.1% | 50% |