视频保存

This commit is contained in:
duoaohui
2026-05-19 15:28:36 +08:00
parent 8e5770eb5d
commit c1c108e632
5 changed files with 35 additions and 8 deletions

View File

@@ -78,8 +78,11 @@ type MeetingConfig struct {
CleanupIntervalSeconds int `mapstructure:"cleanup_interval_seconds"` // 兜底扫描周期秒数,默认 30
// Phase Bmedia-server 失败回调 webhook 共享密钥,必须与 media-server 端 INTERNAL_WEBHOOK_SECRET 一致
// 留空时 /internal/meeting/recordings/failure 全部直接 403默认安全
InternalWebhookSecret string `mapstructure:"internal_webhook_secret"`
StaleRoomHours int `mapstructure:"stale_room_hours"` // 活跃超过此小时且无成员视为 stale默认 4
InternalWebhookSecret string `mapstructure:"internal_webhook_secret"`
RecordingTranscodeEnabled bool `mapstructure:"recording_transcode_enabled"`
RecordingTranscodeFFmpegPath string `mapstructure:"recording_transcode_ffmpeg_path"`
RecordingTranscodeTimeoutSecond int `mapstructure:"recording_transcode_timeout_seconds"`
StaleRoomHours int `mapstructure:"stale_room_hours"` // 活跃超过此小时且无成员视为 stale默认 4
}
// MediaServerConfig Node media-server 接入配置Phase 2e-2 Task 7