stream
Start streaming audio from an active call to a WebSocket endpoint. This is commonly used for real-time speech processing, analytics, or archival.
control_id is a caller-chosen identifier for this operation, unique per
active operation of this kind on the call. The TypeScript SDK types it as
optional, but the API requires it — a request that omits it is rejected.
Keep it to stop the stream later.
Request
id
The unique identifying ID of an existing call.
params
An object of parameters that will be utilized by the active command.
Response
Call Leg
Returned when the call is a standard PSTN, SIP, or WebRTC call.
OR
Fabric Subscriber Device Leg
Returned when the call is a Fabric subscriber device leg. The status field is always null for this type.