This commit is contained in:
yumoqing 2024-09-03 18:10:52 +08:00
parent c56e103044
commit 201687718d

View File

@ -169,7 +169,7 @@ class RTCLLM:
'answer':{'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp}, 'answer':{'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp},
'to':data['from'] 'to':data['from']
})) }))
cands = await pc.gather__candidates() cands = await pc.gather_candidates()
for c in cands: for c in cands:
await self.send_candidate(data['from'], c) await self.send_candidate(data['from'], c)