mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2025-09-27 12:02:20 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e6d0489d9c | ||
![]() |
68d0d9aa08 |
@@ -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