mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-30 19:36:25 +08:00
1、增加SErepublish事件表示再次发布成功事件,使得SEPublish事件表示第一次发布成功。
2、修复push时ReConnectCount没有计数增加。 3、使用github.com/quic-go/quic-go v0.32.0版本。 4、修复订阅模式>1时没有从IDR帧开始的问题。
This commit is contained in:
@@ -350,6 +350,10 @@ func (opt *Plugin) Push(streamPath string, url string, pusher IPusher, save bool
|
||||
time.Sleep(time.Second * 5)
|
||||
} else {
|
||||
if err = pusher.Connect(); err != nil {
|
||||
if err == io.EOF {
|
||||
opt.Info("push complete", zp, zu)
|
||||
return
|
||||
}
|
||||
opt.Error("push connect", zp, zu, zap.Error(err))
|
||||
time.Sleep(time.Second * 5)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user