bugfix
This commit is contained in:
parent
8f540565b7
commit
1bb1c27ae3
@ -30,6 +30,7 @@ class MyTrackBase(MediaStreamTrack):
|
|||||||
self.set_track()
|
self.set_track()
|
||||||
|
|
||||||
async def recv(self):
|
async def recv(self):
|
||||||
|
print(f'{self.__class__.__name__}, {self.source.duration=}, {self.source.time=}')
|
||||||
if self.source is None:
|
if self.source is None:
|
||||||
return None
|
return None
|
||||||
if self.track.readyState != 'live':
|
if self.track.readyState != 'live':
|
||||||
|
Loading…
Reference in New Issue
Block a user