mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-05 08:47:00 +08:00
适配引擎升级
This commit is contained in:
2
pull.go
2
pull.go
@@ -70,7 +70,7 @@ func (puller *HDLPuller) OnEvent(event any) {
|
||||
}(v + 1)
|
||||
} else {
|
||||
// TODO: 发布失败重新发布
|
||||
if plugin.Publish(puller.StreamPath, puller) {
|
||||
if plugin.Publish(puller.StreamPath, puller) == nil {
|
||||
if strings.HasPrefix(puller.RemoteURL, "http") {
|
||||
if res, err := http.Get(puller.RemoteURL); err == nil {
|
||||
puller.Reader = res.Body
|
||||
|
Reference in New Issue
Block a user