This commit is contained in:
yumoqing 2024-09-10 10:51:20 +08:00
parent 8092361bc2
commit 26aa05848a

View File

@ -122,7 +122,7 @@ class RTCLLM:
'llmtrack':llmtrack, 'llmtrack':llmtrack,
'pc':pc 'pc':pc
}) })
pc.addTrack(self.llmtrack) pc.addTrack(llmtrack)
await self.ws_send(json.dumps({'type':'callAccepted', 'to':data['from']})) await self.ws_send(json.dumps({'type':'callAccepted', 'to':data['from']}))
async def pc_track(self, peerid, track): async def pc_track(self, peerid, track):