OptionaldtmfThe DTMF payload (present on dtmf events) — the pressed key.
The DTMF digit Twilio detected on the stream (0-9, *, #).
Always 'media' for an audio frame (vs 'start'/'stop'/'dtmf' events).
OptionalmediaThe media payload — payload is base64-encoded μ-law/8k audio.
Optionalchunk?: stringMonotonic chunk counter, Twilio-supplied.
Base64-encoded G.711 μ-law @ 8 kHz mono audio bytes.
Optionaltimestamp?: stringMonotonic frame timestamp (ms since stream start), Twilio-supplied.
OptionalstreamThe Media-Streams stream identifier (present on media/start/stop).
One Twilio Media-Streams
mediaframe as it appears (post-JSON-parse) on the websocket.