This commit is contained in:
yumoqing 2024-09-03 16:22:36 +08:00
parent 2237847b38
commit 3408f3ff82

View File

@ -164,7 +164,7 @@ class RTCLLM:
await pc.setLocalDescription(offer) await pc.setLocalDescription(offer)
await self.ws_send(json.dumps({ await self.ws_send(json.dumps({
'type':'offer', 'type':'offer',
'offer': {'type':pc.localDescription.type, 'sdp':pc.localDescription.dsp}, 'offer': {'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp},
'to':data['from'] 'to':data['from']
})) }))