***

title: startStream
slug: /reference/typescript/rest/compat/calls/start-stream
description: Start a media stream on an active call.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Start a media stream on an active call, sending real-time audio to a WebSocket URL.

<EndpointSchemaSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{CallSid}/Streams" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{CallSid}/Streams" />

## **Example**

```typescript {8}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com",
});

const stream = await client.compat.calls.startStream("CA...", {
  Url: "wss://stream.example.com",
});
```