From 12577b22679e96243a27dd7451d25d2d606e31d7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 11 Sep 2024 13:25:08 +0800 Subject: [PATCH] bugfix --- rtcllm/rtc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtcllm/rtc.py b/rtcllm/rtc.py index e7d1c96..8d85b38 100644 --- a/rtcllm/rtc.py +++ b/rtcllm/rtc.py @@ -127,7 +127,8 @@ class RTCLLM: 'pc':pc }) pc.addTrack(MyAudioStreamTrack(player)) - pc.addTrack(MyVideoStreamTrack(player)) + # pc.addTrack(MyVideoStreamTrack(player)) + pc.addTrack(player.video) await self.ws_send(json.dumps({'type':'callAccepted', 'to':data['from']})) async def pc_track(self, peerid, track):