diff --git a/src/dailyai/services/base_transport_service.py b/src/dailyai/services/base_transport_service.py index c4d963007..4dda3ae89 100644 --- a/src/dailyai/services/base_transport_service.py +++ b/src/dailyai/services/base_transport_service.py @@ -3,7 +3,6 @@ import itertools import logging import numpy as np -import pyaudio import torch import queue import threading @@ -57,12 +56,7 @@ def int2float(sound): return sound -FORMAT = pyaudio.paInt16 -CHANNELS = 1 SAMPLE_RATE = 16000 -CHUNK = int(SAMPLE_RATE / 10) - -audio = pyaudio.PyAudio() class VADState(Enum):