mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-10-05 15:47:00 +08:00
🐛 FIX: enable not enabled
This commit is contained in:
2
main.go
2
main.go
@@ -39,7 +39,7 @@ func (conf *RTSPConfig) OnEvent(event any) {
|
|||||||
}
|
}
|
||||||
if err := s.Start(); err != nil {
|
if err := s.Start(); err != nil {
|
||||||
RTSPPlugin.Error("server start", zap.Error(err))
|
RTSPPlugin.Error("server start", zap.Error(err))
|
||||||
v["enabled"] = false
|
v["enable"] = false
|
||||||
}
|
}
|
||||||
if conf.PullOnStart {
|
if conf.PullOnStart {
|
||||||
for streamPath, url := range conf.PullList {
|
for streamPath, url := range conf.PullList {
|
||||||
|
Reference in New Issue
Block a user