bugfix
This commit is contained in:
parent
0e3204c73e
commit
59f59d7d66
@ -61,7 +61,7 @@ class AudioTrackVad(MediaStreamTrack):
|
|||||||
self.task.cancel()
|
self.task.cancel()
|
||||||
if self.running:
|
if self.running:
|
||||||
self.task = self.loop.call_later(self.frame_duration_ms, self._recv)
|
self.task = self.loop.call_later(self.frame_duration_ms, self._recv)
|
||||||
return f
|
return frame
|
||||||
|
|
||||||
def resample(self, frame, sample_rate=None):
|
def resample(self, frame, sample_rate=None):
|
||||||
if sample_rate is None:
|
if sample_rate is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user