mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-06 00:56:58 +08:00
1.修复读取ts中aac格式数据多次flush问题
2.修复subscribe结束时判断IsClosed调用对象错误 3.增加DefaultYaml功能
This commit is contained in:
@@ -348,11 +348,10 @@ func (s *Subscriber) PlayBlock(subType byte) {
|
||||
time.Sleep(time.Second)
|
||||
}
|
||||
}
|
||||
println("exit")
|
||||
}
|
||||
|
||||
func (s *Subscriber) onStop() {
|
||||
if !s.IsClosed() {
|
||||
if !s.Stream.IsClosed() {
|
||||
s.Info("stop")
|
||||
if !s.IsInternal {
|
||||
s.Stream.Receive(s.Spesific)
|
||||
|
Reference in New Issue
Block a user