mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-21 15:49:34 +08:00
新增获取所有插件信息的API接口
This commit is contained in:
@@ -260,7 +260,9 @@ func (s *Subscriber) PlayBlock() {
|
||||
if vp.IFrame && s.Video.decConfChanged() {
|
||||
s.sendVideoDecConf()
|
||||
}
|
||||
spesic.OnEvent(vp)
|
||||
if !s.Config.IFrameOnly || vp.IFrame {
|
||||
spesic.OnEvent(vp)
|
||||
}
|
||||
s.Video.ring.MoveNext()
|
||||
} else {
|
||||
if s.Video.Track.IDRing.Value.Sequence != s.Video.First.Sequence {
|
||||
@@ -273,7 +275,9 @@ func (s *Subscriber) PlayBlock() {
|
||||
if ctx.Err() != nil {
|
||||
return
|
||||
}
|
||||
spesic.OnEvent(vp)
|
||||
if !s.Config.IFrameOnly || vp.IFrame {
|
||||
spesic.OnEvent(vp)
|
||||
}
|
||||
if fast := time.Duration(vp.AbsTime-s.Video.First.AbsTime)*time.Millisecond - time.Since(startTime); fast > 0 {
|
||||
time.Sleep(fast)
|
||||
}
|
||||
|
Reference in New Issue
Block a user