复用官方 OpenIMLive 信令与房间,换票改走账号服务 /api/rtc_token;入口仅音频,占线/超时/重复回调与销毁释放由公司层防护。 Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
22 lines
737 B
Dart
22 lines
737 B
Dart
import 'rtc/livekit_call_config.dart';
|
|
|
|
/// 公司功能开关。关闭项直接不展示入口,不扩范围外功能。
|
|
class FeatureFlags {
|
|
FeatureFlags._();
|
|
|
|
/// 只用工号+密码,关闭官方手机号/邮箱/验证码登录。
|
|
static const bool staffLoginOnly = true;
|
|
|
|
/// 关闭官方注册、找回密码。
|
|
static const bool hideRegisterAndReset = true;
|
|
|
|
/// 关闭发现页 / 工作台 Tab。
|
|
static const bool hideDiscover = true;
|
|
|
|
/// 品牌迁移未取得 AGPL 书面结论前保持 false:保留 OpenIM 标识。
|
|
static const bool brandMigration = false;
|
|
|
|
/// 一对一语音通话:配置齐全且薄适配落地后才打开入口。
|
|
static bool get livekitCall => LiveKitCallConfig.enabled;
|
|
}
|