JTrannVA
10/08/2025, 5:09 PMChiranjeet Mishra
10/08/2025, 8:07 PMopen, close, and error properly.
2. **Audio Format**: The audio format (pcm_s16le or mulaw) should align with your configuration. Verify the format used for sending and receiving audio data matches your initial setup.
3. **Sending Audio Data**: Use the correct process to convert and send audio data if you're capturing it from devices. For instance, for PCM, convert float audio samples to Int16 values before sending.
4. **Receiving Data**: Ensure you properly distinguish between binary audio data and JSON control messages when handling data received over the WebSocket.
You can initiate calls and configure audio formats by following the examples provided in the [WebSocket Transport Documentation](https://docs.vapi.ai/calls/websocket-transport).
If you encounter specific issues, such as errors while sending or receiving data, or unexpected WebSocket behavior, check your console logs for detailed error messages or any discrepancies between expected and actual WebSocket events.
For more tailored troubleshooting, detailed call logs and scenarios might be required, so ensure you have accurate setup information and issue details handy.JTrannVA
10/09/2025, 6:00 PMChiranjeet Mishra
10/13/2025, 5:43 PMJTrannVA
11/21/2025, 9:10 PMJTrannVA
11/21/2025, 9:11 PMChiranjeet Mishra
11/25/2025, 8:27 PMJTrannVA
11/27/2025, 4:00 AMChiranjeet Mishra
01/06/2026, 9:32 PM