视频保存
This commit is contained in:
@@ -549,8 +549,8 @@ func (s *MeetingRecordingService) transcodeWebmToMp4(ctx context.Context, webmPa
|
||||
if strings.TrimSpace(s.meetingCfg.RecordingTranscodeFFmpegPath) != "" {
|
||||
ffmpegPath = strings.TrimSpace(s.meetingCfg.RecordingTranscodeFFmpegPath)
|
||||
}
|
||||
if s.meetingCfg.RecordingTranscodeTimeoutSecond > 0 {
|
||||
timeoutSec = s.meetingCfg.RecordingTranscodeTimeoutSecond
|
||||
if s.meetingCfg.RecordingTranscodeTimeoutSeconds > 0 {
|
||||
timeoutSec = s.meetingCfg.RecordingTranscodeTimeoutSeconds
|
||||
}
|
||||
}
|
||||
if _, err := exec.LookPath(ffmpegPath); err != nil {
|
||||
|
||||
@@ -81,7 +81,7 @@ type MeetingConfig struct {
|
||||
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"`
|
||||
RecordingTranscodeTimeoutSeconds int `mapstructure:"recording_transcode_timeout_seconds"`
|
||||
StaleRoomHours int `mapstructure:"stale_room_hours"` // 活跃超过此小时且无成员视为 stale,默认 4
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user