This commit is contained in:
yumoqing 2024-09-11 13:25:08 +08:00
parent 35de168787
commit 12577b2267

View File

@ -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):