feat: Refactor settings management into a dedicated page with new configuration options, including live stream source and remote input settings

This commit is contained in:
zimplexing
2025-07-11 17:23:36 +08:00
parent fc8da352fb
commit 03d80c42cd
14 changed files with 607 additions and 215 deletions

View File

@@ -34,7 +34,7 @@ interface SettingsState {
// 新增配置项
liveStreamSources: LiveStreamSource[]; // 直播源配置
remoteInputEnabled: boolean; // 远程输入开关
playbackSourceConfig: PlaybackSourceConfig; // 播放源配置
videoSourceConfig: VideoSourceConfig; // 播放源配置
}
interface LiveStreamSource {
@@ -44,7 +44,7 @@ interface LiveStreamSource {
enabled: boolean;
}
interface PlaybackSourceConfig {
interface VideoSourceConfig {
primarySource: string;
fallbackSources: string[];
enabledSources: string[];