Files
aisee/aisee_flutter/lib/utils/app_config.dart
2026-03-02 22:57:35 +08:00

14 lines
475 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
class AppConfig {
// API 配置
static const String apiBaseUrl = 'http://10.0.2.2:8000'; // Android 模拟器访问本机
// 如果使用真机,改为你的电脑 IP例如'http://192.168.1.100:8000'
// 图像配置
static const int imageMaxWidth = 640;
static const int imageMaxHeight = 480;
static const int imageQuality = 85;
// 实时传输配置
static const Duration captureInterval = Duration(milliseconds: 500); // 每 500ms 捕获一帧
}