视频连线

This commit is contained in:
duoaohui
2026-05-26 22:41:53 +08:00
parent 331941f9ce
commit 24e3a37c96
19 changed files with 860 additions and 4 deletions

View File

@@ -20,6 +20,19 @@ type Config struct {
MediaServer MediaServerConfig `mapstructure:"media_server"`
Meeting MeetingConfig `mapstructure:"meeting"`
LLMSource LLMSourceConfig `mapstructure:"llm_source"` // Phase B外部 LLM 配置库MySQLt_llm_provider/model/key
OAuth OAuthConfig `mapstructure:"oauth"`
}
type OAuthConfig struct {
FrontendCallbackURL string `mapstructure:"frontend_callback_url"`
Providers map[string]OAuthApp `mapstructure:"providers"`
}
type OAuthApp struct {
ClientID string `mapstructure:"client_id"`
ClientSecret string `mapstructure:"client_secret"`
RedirectURI string `mapstructure:"redirect_uri"`
Enabled bool `mapstructure:"enabled"`
}
// LLMSourceConfig 外部 LLM/STT 配置中心 MySQL 连接