This website works better with JavaScript
홈
탐색
도움말
가입하기
로그인
sunsheng
/
work-device
Watch
1
Star
0
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
트리:
5713f3ddb7
브랜치
태그
master
work-device
/
src
sun-pc
5713f3ddb7
update
6 달 전
..
api
0d866ee417
fix
6 달 전
bus
45db6f3caa
init
6 달 전
client
5713f3ddb7
update
6 달 전
conf
5713f3ddb7
update
6 달 전
db
45db6f3caa
init
6 달 전
log
45db6f3caa
init
6 달 전
Dockerfile
45db6f3caa
init
6 달 전
app.yaml
0d866ee417
fix
6 달 전
build.sh
45db6f3caa
init
6 달 전
go.mod
45db6f3caa
init
6 달 전
go.sum
45db6f3caa
init
6 달 전
main.go
0d866ee417
fix
6 달 전
native-render.exe
d6a2935084
update
6 달 전
readme.md
d6a2935084
update
6 달 전
zinx.log
5713f3ddb7
update
6 달 전
readme.md
work device
职责
注册work device
启动native render
关闭时删除work device 并通知其中的native device
每个过程room state状态的变化
work device 注册逻辑
work device 启动时初始化数据,msgId,data传入服务端,此时没有房间信息不作房间相关逻辑
将work device数据存入workmgr devices中
设置属性和deviceId用于关闭连接时逻辑的处理
work device 启动native render
其他客户端给服务端发送启动nr的信息
服务端给对应wd转发启动nr的信息
wd端(当前)接收服务端转发的消息
根据接收的数据下载文件启动nr
nr端启动,注册自己到work device mgr中
work device 关闭逻辑
关闭时根据Property("type")删除work device
给对应native render连接发送device 关闭消息
更新native render绑定的房间状态未等到关闭