🐛 FIX: enable not enabled

This commit is contained in:
dexter
2022-10-10 21:51:08 +08:00
parent 2e6679b3ea
commit 6063f42181

View File

@@ -39,7 +39,7 @@ func (conf *RTSPConfig) OnEvent(event any) {
}
if err := s.Start(); err != nil {
RTSPPlugin.Error("server start", zap.Error(err))
v["enabled"] = false
v["enable"] = false
}
if conf.PullOnStart {
for streamPath, url := range conf.PullList {