fix: aac实际没有写入缓存,ts写入造成的内存泄露

This commit is contained in:
dexter
2022-06-25 17:30:35 +08:00
parent 8b7021e8e1
commit b97c95de8f
5 changed files with 11 additions and 17 deletions

View File

@@ -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)
}
}