This commit is contained in:
yumoqing 2024-09-15 00:44:52 +08:00
parent d74b26a7e6
commit cc73b12301

View File

@ -10,6 +10,7 @@ import webrtcvad
import wave import wave
from scipy.io.wavfile import write from scipy.io.wavfile import write
import numpy as np import numpy as np
import av
from av import AudioLayout, AudioResampler, AudioFrame, AudioFormat from av import AudioLayout, AudioResampler, AudioFrame, AudioFormat
class AudioTrackVad(MediaStreamTrack): class AudioTrackVad(MediaStreamTrack):