Sends a binary PCM frame on an open ws socket. Converts Node Buffer to a plain Uint8Array so optional native helpers (bufferutil) are less likely to mis-handle webpack/Turbopack views.
ws
Buffer
Uint8Array
bufferutil
Open WebSocket client.
PCM16 LE mono bytes.
Sends a binary PCM frame on an open
wssocket. Converts NodeBufferto a plainUint8Arrayso optional native helpers (bufferutil) are less likely to mis-handle webpack/Turbopack views.