From 4719d050b4592ad25d6dd231e72db91a32fa977e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 13 Sep 2024 11:21:26 +0800 Subject: [PATCH] bugfix --- rtcllm/aav.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtcllm/aav.py b/rtcllm/aav.py index 4f38b0e..8119179 100644 --- a/rtcllm/aav.py +++ b/rtcllm/aav.py @@ -46,14 +46,14 @@ class MyTrackBase(MediaStreamTrack): class MyAudioStreamTrack(MyTrackBase): kind = 'audio' - def __init__(self, source=None): - super().__init__() + def __init__(self, source): + super().__init__(source=source) self.dumb = AudioStreamTrack() class MyVideoStreamTrack(MyTrackBase): kind = 'video' - def __init__(self, source=None): - super().__init__() + def __init__(self, source): + super().__init__(source=source) self.dumb = AudioStreamTrack() """