diff --git a/rtcllm/rtc.py b/rtcllm/rtc.py index 97807f5..8f633df 100644 --- a/rtcllm/rtc.py +++ b/rtcllm/rtc.py @@ -36,7 +36,7 @@ class RTCLLM: self.loop = asyncio.get_event_loop() async def ws_send(self, s): - self.ws.send(s) + await self.ws.send(s) def get_pc(self, data): return self.peers[data['from'].id].pc