diff --git a/rtcllm/aav.py b/rtcllm/aav.py index 6b350f6..a877860 100644 --- a/rtcllm/aav.py +++ b/rtcllm/aav.py @@ -11,6 +11,7 @@ class MyTrackBase(MediaStreamTrack): self.reloaded = False self.source = source self.set_track() + print(f'{self.kind=}, {self.__class__.__name__}') def set_track(self): if self.kind == 'audio': @@ -33,7 +34,7 @@ class MyTrackBase(MediaStreamTrack): return None if self.track.readyState != 'live': self.reload() - f = await self.source.audio.recv() + f = await self.track.recv() return f