This commit is contained in:
yumoqing 2024-09-11 13:11:03 +08:00
parent 8f540565b7
commit 1bb1c27ae3

View File

@ -30,6 +30,7 @@ class MyTrackBase(MediaStreamTrack):
self.set_track()
async def recv(self):
print(f'{self.__class__.__name__}, {self.source.duration=}, {self.source.time=}')
if self.source is None:
return None
if self.track.readyState != 'live':