From 3408f3ff8288fb77ba270f7f98d53dde0451ae81 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 3 Sep 2024 16:22:36 +0800 Subject: [PATCH] bugfix --- rtcllm/rtc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtcllm/rtc.py b/rtcllm/rtc.py index 8f633df..539fcb2 100644 --- a/rtcllm/rtc.py +++ b/rtcllm/rtc.py @@ -164,7 +164,7 @@ class RTCLLM: await pc.setLocalDescription(offer) await self.ws_send(json.dumps({ 'type':'offer', - 'offer': {'type':pc.localDescription.type, 'sdp':pc.localDescription.dsp}, + 'offer': {'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp}, 'to':data['from'] }))