This commit is contained in:
yumoqing 2024-09-09 18:55:02 +08:00
parent f8012d6613
commit b71e533e85

View File

@ -107,9 +107,10 @@ class RTCLLM:
self.onlineList = data.onlineList
async def vad_voiceend(self, peer, audio):
ret = await self.feed(audio)
print(f'self.feed("{audio}") return {ret}')
os.remove(audio)
if audio is not None:
ret = await self.feed(audio)
print(f'self.feed("{audio}") return {ret}')
os.remove(audio)
async def auto_accept_call(self, data):
opts = DictObject(iceServers=self.iceServers)