更新 AuthApi 枚举以添加获取推流地址的 API 路径;重构 Auth 页面以优化输入控件和按钮布局;更新扫码页面以导航到录制页面。
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user