Hi Ouranos, Thanks for your response. Currently, ...
# office-hours
p
Hi Ouranos, Thanks for your response. Currently, I have a streaming audio conversation with VAPI assistant from the front-end i.e. from the application web page. I am thinking of moving the VAPI assistant audio conversation functionality in the back-end. The front-end application will capture the user speech audio in the front-end and send it to the back-end and assistant response audio will be captured in the back-end and send it to the front-end for playback. STT and TTS will be used when exchanging user and assistant audios. First of all, is this a right approach? And is it doable with VAPI SDK and endpoints? When I tried to make a connection with VAPI assistant in the back-end application using the wss://api.vapi.ai/v1/audio/stream endpint, I got the 404 error. I got this endpoint from the internet and not sure whether it's the correct endpoint. If it's feasible, could you please direct me to the right endpoint(s) and documentation? Thanks!