Hi guys
I am working on recording and saving the call by listening to the listen websocket. I am able to capture the recording in PCM format however the size is too large and I want to convert to mp3 and save it. Is someone aware about a method to do so?
k
Kings_big💫
06/01/2025, 11:50 PM
Use Python with pydub or ffmpeg-python, ensuring you set the correct format (s16le), sample rate like, 16000 Hz, and channels, then export with a lower bitrate like 64k to reduce size..
v
Varun Gupta
06/01/2025, 11:57 PM
Okay so my use case is basically I want to store the recoding on my platform instead of VAPI due to HIPA complience if I turn on HIPA complience on vapi assistant the recording is not done at all. I was thinking of another way i.e turn of HIPA complience on VAPI and download the call recoding from vapi and then use delete call api to delete the call data from VAPI. I wanted to understand if the delete call api will delete everything from your platform about the call and make it HIPA complient?
k
Kings_big💫
06/02/2025, 12:03 AM
Turning off HIPAA on Vapi lets you record calls, which you can download and then permanently delete from Vapi via the Delete Call API, but you must ensure HIPAA compliance on your own platform separately..
v
Varun Gupta
06/02/2025, 5:36 PM
So I tried this route and deleted the call but I noticed that the recording url still contains the call recording. so the recording won't be deleted when I call the delete call api?