mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-10-05 15:47:00 +08:00
@@ -42,6 +42,7 @@ func (rtsp *RTSPClient) PullStream(streamPath string, rtspUrl string) (err error
|
|||||||
time.Sleep(time.Second * 5)
|
time.Sleep(time.Second * 5)
|
||||||
}
|
}
|
||||||
if rtsp.IsTimeout {
|
if rtsp.IsTimeout {
|
||||||
|
rtsp.processFunc = nil
|
||||||
go rtsp.PullStream(streamPath, rtspUrl)
|
go rtsp.PullStream(streamPath, rtspUrl)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user