导出config

This commit is contained in:
banshan
2022-10-30 16:08:22 +08:00
parent 2bac84c571
commit f7393135de
6 changed files with 11 additions and 11 deletions

2
raw.go
View File

@@ -15,7 +15,7 @@ type RawRecorder struct {
}
func (r *RawRecorder) Start(streamPath string) error {
r.Record = &recordConfig.Raw
r.Record = &RecordPluginConfig.Raw
r.ID = streamPath + "/raw"
return plugin.Subscribe(streamPath, r)
}