added support to send the audio over websocket