<Start>
Start a one-way media stream or a live transcription, then go on with the document.
Starts something that runs alongside the rest of the call, then goes straight on with the next verb: a one-way <Stream> of the call’s audio to your WebSocket, or a live <Transcription>. A call leg carries one audio stream at a time, so a second <Stream> or <Transcription> on the same leg is refused (logged) and the document goes on. Answers the call first if it is not answered yet.
Example
Section titled “Example”<Response> <Start> <Stream url="wss://media.example.com/listen" name="monitor" track="both_tracks"/> </Start> <Dial><Number>+14155550100</Number></Dial></Response>Nested elements
Section titled “Nested elements”| Element | Description |
|---|---|
<Stream> |
One-way (listen-only) stream of the call’s audio. |
<Transcription> |
Live transcription of the call. |