We've been encountering an issue where there is a sort of "click" or static sound, almost like a microphone being slightly tapped, between audio clips sent over the websocket connection during a streaming conversation. The code to send is pretty simple media_message = { "event": "media", "streamSid": stream_sid, "media": { "payload": base64_encoded_audio, }, } await websocket.send(json.dumps(media_message)) self.logger.info(f"Audio sent over...
Originally asked by ObjectNameDisplay on Stack Exchange (stackoverflow) (CC BY-SA 4.0).