This commit is contained in:
yumoqing 2024-09-03 16:21:02 +08:00
parent 887dfbe728
commit 2237847b38

View File

@ -36,7 +36,7 @@ class RTCLLM:
self.loop = asyncio.get_event_loop() self.loop = asyncio.get_event_loop()
async def ws_send(self, s): async def ws_send(self, s):
self.ws.send(s) await self.ws.send(s)
def get_pc(self, data): def get_pc(self, data):
return self.peers[data['from'].id].pc return self.peers[data['from'].id].pc