This commit is contained in:
2023-09-27 14:28:01 +08:00
parent 62a2dc6f1d
commit 88e5110b35
2 changed files with 13 additions and 11 deletions

2
.gitignore vendored
View File

@ -7,6 +7,8 @@ yarn-error.log*
lerna-debug.log* lerna-debug.log*
.pnpm-debug.log* .pnpm-debug.log*
package-lock.json
# Diagnostic reports (https://nodejs.org/api/report.html) # Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

View File

@ -1,13 +1,13 @@
# webrtc # webRTC
webrtc 实现的 p2p 信道 webrtc 实现的 p2p 信道
// 能获取所有在线设备列表 - 能获取所有在线设备列表
// 随机连接至四个设备, 且按效率扩展收缩 - 随机连接至四个设备, 且按效率扩展收缩
// 将数据拆解同时向多台设备分发, 对端接收后再次分发 - 将数据拆解同时向多台设备分发, 对端接收后再次分发
// 需要确保全部设备获得全部数据, 每台设备至少一半不重复 - 需要确保全部设备获得全部数据, 每台设备至少一半不重复
// 五色 - 五色
// 单向链 - 单向链
// 固定填位(矩阵) - 固定填位(矩阵)
// [a1, b1, c1, d1, e1] - [a1, b1, c1, d1, e1]
// [a2, b2, c2, d2, e2] - [a2, b2, c2, d2, e2]
// [a3, b3, c3, d3, e3] - [a3, b3, c3, d3, e3]