bugfix
This commit is contained in:
parent
3408f3ff82
commit
dd16852148
@ -159,7 +159,7 @@ class RTCLLM:
|
||||
'answer':{'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp},
|
||||
'to':data['from']
|
||||
}))
|
||||
|
||||
"""
|
||||
offer = await pc.createOffer()
|
||||
await pc.setLocalDescription(offer)
|
||||
await self.ws_send(json.dumps({
|
||||
@ -167,6 +167,7 @@ class RTCLLM:
|
||||
'offer': {'type':pc.localDescription.type, 'sdp':pc.localDescription.sdp},
|
||||
'to':data['from']
|
||||
}))
|
||||
"""
|
||||
|
||||
async def accept_answer(self, data):
|
||||
pc = self.get_pc(data)
|
||||
|
Loading…
Reference in New Issue
Block a user