AudioBufferProcessor: use on_audio_data event handler to retrieve audio

This commit is contained in:
Aleix Conchillo Flaqué
2024-12-03 14:10:50 -08:00
parent a6a4910931
commit 322dd0cea1
6 changed files with 97 additions and 65 deletions

View File

@@ -102,7 +102,6 @@ async def main():
audio_buffer_processor=audio_buffer_processor,
aiohttp_session=session,
api_key=os.getenv("CANONICAL_API_KEY"),
api_url=os.getenv("CANONICAL_API_URL"),
call_id=str(uuid.uuid4()),
assistant="pipecat-chatbot",
assistant_speaks_first=True,