feat: add control center, multiple relay nodes and P2P-first transport

This commit is contained in:
tongtong committed 2026-11-12 16:56:06 +08:00
1 parent 0988e9c363
commit 2abfb63da9
44 files changed
+3477 -67

No files matched your search

+2
View File
@@ -12,3 +12,5 @@ $env:ADS_AGENT_TOKEN = '<设备端令牌>'
也可用 `--adb-server 127.0.0.1:5037 --adb-serial <序列号>` 替代 `--target`。该模式仍要求手机开启 TCP adbd(默认 5555,可用 `--device-port` 修改),不是通用的 USB-only 接入。
Windows 可由任务计划程序在登录后启动;Linux/macOS 可使用 `deploy/` 示例托管。当前二进制不是原生 Windows Service,不能直接用 `sc.exe create` 安装。
新版注册时协商 v2,按控制中心指令与本地客户端交换 WebRTC SDP,优先直连或连接独立中继;兼容控制中心下发的 v1 转发指令。无需增加手机或远程电脑的公网入站端口。控制连接丢失时会结束所属数据通道。