From d2660f268bd59dc48cdc2a5a31a2bec33a66a7cb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 2 Sep 2024 10:59:48 +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 eaf627c..5b31062 100644 --- a/rtcllm/rtc.py +++ b/rtcllm/rtc.py @@ -105,7 +105,7 @@ class RTCLLM: pc.on("connectionstatechange", partial(self.pc_connectionState_changed, data['from'].id)) pc.on('track', partial(self.pc_track, data['from'].id)) pc.on('icecandidate', partial(self.on_icecandidate, pc)) - player = MediaPlayer('/Users/ymq/v/1.mp4') + player = MediaPlayer('./1.mp4') if player: pc.addTrack(player.audio) pc.addTrack(player.video)