From bcd0aed68d49532d5355409ef54d12455e38de8c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 11 Sep 2024 12:05:04 +0800 Subject: [PATCH] bugfix --- rtcllm/aav.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtcllm/aav.py b/rtcllm/aav.py index e069915..cf8adf3 100644 --- a/rtcllm/aav.py +++ b/rtcllm/aav.py @@ -5,7 +5,7 @@ from aiortc import VideoStreamTrack, AudioStreamTrack class MyMediaPlayer(MediaPlayer): pass -class MyTrackBasea: +class MyTrackBase: def __init__(self, source=None): self.reloaded = False self.source = source @@ -38,12 +38,12 @@ class MyTrackBasea: return f -class MyAudioStreamTrack(AudioStreamTrack, MyTrackBasea): +class MyAudioStreamTrack(AudioStreamTrack, MyTrackBase): def __init__(self, source=None): AudioStreamTrack.__init__(self) MyTrackBase.__init__(self, source=source) -class MyVideoStreamTrack(VideoStreamTrack, MyTrackBasea): +class MyVideoStreamTrack(VideoStreamTrack, MyTrackBase): def __init__(self, source=None): VideoStreamTrack.__init__(self) MyTrackBase.__init__(self, source=source)