Discards the call's queued outbound audio (sends Vonage's {"action":"clear"} text command).
Registers the inbound PCM16 audio handler for the call's binary media frames.
Registers the inbound control-event handler for the call's JSON text frames (DTMF / connected / close).
Sends one outbound PCM16 audio frame as a BINARY websocket message (raw L16 PCM, no envelope).
The bidirectional WebSocket media pump for a single call's media leg, modeling Vonage's binary-audio / text-event split. Production wires this over the accepted websocket for the call UUID (binary frames = L16 PCM audio, text frames = JSON control events); tests inject a fake. Audio is raw PCM
ArrayBuffers — no envelope, no transcode — so RealVonageBindings just forwards bytes.