> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# stopLiveStreaming()

> Stops an active live stream from a Daily call.

<Badge color="blue">Paid plans only</Badge>

`stopLiveStreaming(options?)`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="green">{"✓"} Custom</Badge>

Requires the initiating participant to be [an owner or streaming admin](/reference/rest-api/meeting-tokens/create-meeting-token#body-properties-permissions) (a participant with `'streaming'` in their `canAdmin` permission).

If multiple RTMP endpoints are being live streamed, calling stopLiveStreaming() will stop all live streams. To remove specific endpoints without ending the stream, use [`removeLiveStreamingEndpoints()`](/reference/daily-js/instance-methods/remove-live-streaming-endpoints).

If multiple instances are running, each must be stopped individually with its `instanceId`.

## Parameters

<ParamField body="instanceId" type="string">
  The UUID of the streaming instance to stop. Omit to stop the default instance.
</ParamField>

## Return value

Returns `void`. Listen for [`live-streaming-stopped`](/reference/daily-js/events/live-streaming-events#live-streaming-stopped) to confirm the stream has ended.

## Example

```javascript theme={null}
// Stop the default stream
call.stopLiveStreaming();

// Stop a specific instance
call.stopLiveStreaming({ instanceId: 'my-instance-id' });
```

## See also

<CardGroup>
  <Card title="Types" icon="t" iconType="solid">
    * [DailyStreamingOptions](/reference/daily-js/types/daily-streaming-options)
    * [DailyStreamingLayoutConfig](/reference/daily-js/types/daily-streaming-layout-config)
  </Card>

  <Card title="Methods" icon="code" iconType="solid">
    * [startLiveStreaming()](/reference/daily-js/instance-methods/start-live-streaming)
    * [updateLiveStreaming()](/reference/daily-js/instance-methods/update-live-streaming)
    * [addLiveStreamingEndpoints()](/reference/daily-js/instance-methods/add-live-streaming-endpoints)
    * [removeLiveStreamingEndpoints()](/reference/daily-js/instance-methods/remove-live-streaming-endpoints)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [Live streaming events](/reference/daily-js/events/live-streaming-events)
  </Card>

  <Card title="Guides" icon="book-open" iconType="solid">
    * [Live streaming](/docs/daily-js/features/live-streaming)
  </Card>

  <Card title="REST API" icon="server" iconType="solid">
    * [Update room: streaming\_endpoints](/reference/rest-api/rooms/update-room#body-properties-streaming-endpoints)
    * [Stop live streaming](/reference/rest-api/rooms/live-streaming/stop)
    * [streaming-ended webhook](/reference/rest-api/webhooks/events/streaming-ended)
  </Card>
</CardGroup>
