bugfix
This commit is contained in:
parent
4944df6e9d
commit
e940467a2b
@ -146,7 +146,7 @@ class AudioTrackVad(MediaStreamTrack):
|
||||
def stop(self):
|
||||
self.running = False
|
||||
|
||||
def to16000_160_frames(frame):
|
||||
def to16000_160_frames(self, frame):
|
||||
frames = resample(frame, sample_rate=16000)
|
||||
ret_frames = []
|
||||
for f in frames:
|
||||
|
Loading…
Reference in New Issue
Block a user