Issues with the REALTIME API

When I use the REALTIME API through a WebSocket created in my backend with Node.js, I send real-time audio, and the request is received correctly. However, it keeps generating multiple responses to the same question. If I make a request via Postman by sending audio in Base64, it responds only once.

Additionally, when I send text, the first few responses return “undefined,” and later, it responds correctly. I need someone to help me with this issue or let me know if anyone else has experienced this before.

Is this a limitation or an error in the API? Also, the multiple voice responses generated quickly consume my credits.