This commit is contained in:
yumoqing 2024-09-11 15:27:26 +08:00
parent d3ed8e4af4
commit ba8dc4ec1d

View File

@ -36,7 +36,7 @@ class LLMAudioStreamTrack(AudioStreamTrack):
def get_audio_bytes(self): def get_audio_bytes(self):
if self.cur_iters is None: if self.cur_iters is None:
if not set_cur_audio_iter(): if not self.set_cur_audio_iter():
return None return None
try: try:
b = next(self.cur_iters) b = next(self.cur_iters)