mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-09-26 19:51:14 +08:00
适配引擎修改
This commit is contained in:
2
main.go
2
main.go
@@ -49,7 +49,7 @@ func (conf *RTSPConfig) OnEvent(event any) {
|
||||
}
|
||||
case SEpublish:
|
||||
for streamPath, url := range conf.PushList {
|
||||
if streamPath == v.Stream.Path {
|
||||
if streamPath == v.Target.Path {
|
||||
if err := RTSPPlugin.Push(streamPath, url, new(RTSPPusher), false); err != nil {
|
||||
RTSPPlugin.Error("push", zap.String("streamPath", streamPath), zap.String("url", url), zap.Error(err))
|
||||
}
|
||||
|
Reference in New Issue
Block a user