https://github.com/tencent-rtc/tremotedesk-web-demo
tremotedesk-web-demo
https://github.com/tencent-rtc/tremotedesk-web-demo
Last synced: 3 months ago
JSON representation
tremotedesk-web-demo
- Host: GitHub
- URL: https://github.com/tencent-rtc/tremotedesk-web-demo
- Owner: Tencent-RTC
- Created: 2023-01-06T06:41:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T03:30:40.000Z (about 3 years ago)
- Last Synced: 2024-12-26T03:24:43.518Z (over 1 year ago)
- Language: HTML
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tremotedesk-web-demo
tremotedesk-web-demo
### 如何使用
1、修改server/config.ts 中的 `appkey` 和 `secret`, 替换为客户自己的`appkey` 和 `secret`
2、启动服务端
```js
cd server/ && npm install
npx ts-node server.ts
```
3、启动Web控制端
```js
cd client/ && npm install
npm run dev
```
4、启动和编译windows被控端
参考(windows demo)[https://github.com/Tencent-RTC/tremotedesk-win-demo] 编译运行windows demo,
输入 appkey: xxxx, 输入roomid: xxxxxxx, 输入userid(userid 可以自定义), 点击login 进入房间。
5、启动Web控制端
在web控制端输入,和步骤4种中相同的 appkey 和 roomid(`这里一定要输入同样的roomid才能进入同一个房间`), userid 可以自定义。
在确保windows 被控端login成功之后(会打印心跳信息), Web控制端点击进房, 稍等片刻之后点击`connectToHost` 连接windows被控端。