diff --git a/rtcllm/aav.py b/rtcllm/aav.py index e417872..ac0ff64 100644 --- a/rtcllm/aav.py +++ b/rtcllm/aav.py @@ -20,7 +20,7 @@ class MyAudioStreamTrack(AudioStreamTrack): return None f = await self.source.audio.recv() while f is None: - self.set_source(MediaPlayer(self.source._file_path) + self.set_source(MyMediaPlayer(self.source._file_path)) f = await self.source.audio.recv() return f @@ -38,6 +38,6 @@ class MyVideoStreamTrack(VideoStreamTrack): return None f = await self.source.video.recv() while f is None: - self.set_source(MediaPlayer(self.source._file_path) + self.set_source(MyMediaPlayer(self.source._file_path)) f = await self.source.video.recv() return f