feat(sender): 首页移除投屏画面,请求投屏直开独立窗口,新增文件传输
- 删除首页 VideoView:画面只在独立原生窗口显示,首页改为状态卡片(分辨率/帧数/错误) - 新增 MirrorBar 卡片,请求投屏/停止投屏从控制工具栏独立出来;点请求即打开独立窗口再下发 msg_type=8 - 停止投屏同时下发 stop 并关闭窗口;控制工具栏移除投屏按钮 - 独立窗口无画面时居中提示「等待被控端画面…」 - 新增 core/file_client.dart 与 file_browser_page:浏览/下载到 Downloads/TTSTD/上传,带进度与错误提示 - AppSettings 增加 filePort/fileToken 并接入设置页与首页文件卡片
This commit is contained in:
1 parent
993097df00
commit
d3ff293877
10 files changed
+1029
-189
No files matched your search
@@ -65,18 +65,6 @@ class ControlToolbar extends StatelessWidget {
|
||||
enabled: enabled,
|
||||
onPressed: () => onEvent('clipboard', {'text': 'TTSTD Connect'}),
|
||||
),
|
||||
_Action(
|
||||
icon: Icons.screen_share,
|
||||
label: '请求投屏',
|
||||
enabled: enabled,
|
||||
onPressed: () => onEvent('requestMirror', const {}),
|
||||
),
|
||||
_Action(
|
||||
icon: Icons.stop_screen_share,
|
||||
label: '停止投屏',
|
||||
enabled: enabled,
|
||||
onPressed: () => onEvent('stopMirror', const {}),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user