mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-08 10:00:10 +08:00
fix: aac实际没有写入缓存,ts写入造成的内存泄露
This commit is contained in:
@@ -285,7 +285,6 @@ func (s *Subscriber) PlayBlock(subType byte) {
|
||||
break
|
||||
}
|
||||
}
|
||||
continue
|
||||
}
|
||||
// 正常模式下或者纯音频模式下,音频开始播放
|
||||
if s.Audio.ring != nil && s.Config.SubAudio {
|
||||
@@ -311,9 +310,7 @@ func (s *Subscriber) PlayBlock(subType byte) {
|
||||
break
|
||||
}
|
||||
}
|
||||
continue
|
||||
}
|
||||
time.Sleep(time.Second)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user