更新 AuthApi 枚举以添加获取推流地址的 API 路径;重构 Auth 页面以优化输入控件和按钮布局;更新扫码页面以导航到录制页面。

This commit is contained in:
2026-07-09 14:32:39 +08:00
parent 9766c43722
commit c38f6d69c8
5 changed files with 278 additions and 39 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
enum AuthApi {
/// 获取 token
getToken('/api/events/device/token');
getToken('/api/events/device/token'),
/// 获取推流地址
getSteamKey('api/events/device/stream/key');
final String path;
const AuthApi(this.path);