Hello, I am looking at the documentation here https://docs.vapi.ai/calls/call-features#call-listen-feature. I am trying to get python code to stream audio chunks in python so that I can run some analysis on it. Is there sample code for this?
j
Jonas
03/19/2025, 11:01 PM
I've got something in JS, which live streams audio chunks. Could be repurposed?
v
Vapi
03/20/2025, 12:56 AM
Hey,
Unfortunately we don't have any code examples for this functionality but here are some docs on streaming websocket audio in python: