视频保存

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

@@ -90,4 +90,7 @@ meeting:
stale_room_hours: 4 # 活跃超过此小时且无活跃成员视为 stale强制结束
# media-server 失败回调共享密钥:必须与 media-server 端 INTERNAL_WEBHOOK_SECRET 环境变量一致
# 留空时 /internal/meeting/recordings/failure 全部 403默认安全
internal_webhook_secret: internal-webhook-12xqs
internal_webhook_secret: internal-webhook-12xqs
recording_transcode_enabled: true
recording_transcode_ffmpeg_path: /home/ykf/jenkins/yuyin/ffmpeg/ffmpeg-7.0.2-amd64-static/ffmpeg
recording_transcode_timeout_seconds: 600

View File

@@ -82,3 +82,6 @@ meeting:
# media-server 失败回调共享密钥:必须与 docker-compose 中 media-server 服务的 INTERNAL_WEBHOOK_SECRET 一致
# 生产部署请通过环境变量 ECHOCHAT_MEETING_INTERNAL_WEBHOOK_SECRET 覆盖viper.AutomaticEnv 已开启)
internal_webhook_secret: internal-webhook-12xqs
recording_transcode_enabled: true
recording_transcode_ffmpeg_path: /home/ykf/jenkins/yuyin/ffmpeg/ffmpeg-7.0.2-amd64-static/ffmpeg
recording_transcode_timeout_seconds: 600

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