mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-03 22:36:34 +08:00
修复合并写多发重复数据问题
This commit is contained in:
@@ -558,10 +558,6 @@ func (s *PublishSource) OnDeMuxStream(stream utils.AVStream) {
|
||||
|
||||
//启动探测超时计时器
|
||||
if len(s.originStreams.All()) == 1 {
|
||||
if AppConfig.ProbeTimeout == 0 {
|
||||
AppConfig.ProbeTimeout = 2000
|
||||
}
|
||||
|
||||
s.probeTimer = time.AfterFunc(time.Duration(AppConfig.ProbeTimeout)*time.Millisecond, func() {
|
||||
s.probeTimoutEvent <- true
|
||||
})
|
||||
|
Reference in New Issue
Block a user