diff --git a/rtcllm/rtc.py b/rtcllm/rtc.py index 8ee5183..eaa24bd 100644 --- a/rtcllm/rtc.py +++ b/rtcllm/rtc.py @@ -120,7 +120,10 @@ class RTCLLM: await pc.close() if peer.dc: await peer.dc.close() - + await self.ws_send(json.dumps({ + 'type':'disconnect', + 'to': peer.info + }) peers = { k:v for k,v in self.peers.items() if k != peerid }