1、增加SErepublish事件表示再次发布成功事件,使得SEPublish事件表示第一次发布成功。

2、修复push时ReConnectCount没有计数增加。
3、使用github.com/quic-go/quic-go v0.32.0版本。
4、修复订阅模式>1时没有从IDR帧开始的问题。
This commit is contained in:
dexter
2023-02-03 21:28:30 +08:00
parent 3d060e07cf
commit 4d9c1350d1
9 changed files with 77 additions and 52 deletions

View File

@@ -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 {