> ## 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.

# updateLiveStreaming()

> Updates the layout of an active live stream.

Paid plans only

`updateLiveStreaming(options)`

✓ Prebuilt✓ Custom

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

## Parameters

**layout** `DailyLiveStreamingLayoutConfig`

The new layout configuration. See [`DailyStreamingLayoutConfig`](https://docs.daily.co/reference/daily-js/types/daily-streaming-layout-config) for all presets and options.

**instanceId** `string`

The UUID of the streaming instance to update. Omit to update the default instance.

## Return value

Returns `void`. Listen for [`live-streaming-updated`](https://docs.daily.co/reference/daily-js/events/live-streaming-events#live-streaming-updated) to confirm the change.

## Example

```javascript theme={null}
// Switch to active-participant layout
call.updateLiveStreaming({
  layout: { preset: 'active-participant' },
});

// Update a specific instance with a custom VCS layout
call.updateLiveStreaming({
  instanceId: '00000000-0000-4000-8000-000000000000',
  layout: {
    preset: 'custom',
    composition_params: {
      mode: 'dominant',
      showTextOverlay: true,
      'text.content': 'Hello',
      'videoSettings.roundedCorners': true,
    },
  },
});
```

## See also

> [card] Types
>
> * [DailyStreamingOptions](https://docs.daily.co/reference/daily-js/types/daily-streaming-options.md)
> * [DailyStreamingLayoutConfig](https://docs.daily.co/reference/daily-js/types/daily-streaming-layout-config.md)

> [card] Methods
>
> * [startLiveStreaming()](https://docs.daily.co/reference/daily-js/instance-methods/start-live-streaming.md)
> * [stopLiveStreaming()](https://docs.daily.co/reference/daily-js/instance-methods/stop-live-streaming.md)
> * [addLiveStreamingEndpoints()](https://docs.daily.co/reference/daily-js/instance-methods/add-live-streaming-endpoints.md)
> * [removeLiveStreamingEndpoints()](https://docs.daily.co/reference/daily-js/instance-methods/remove-live-streaming-endpoints.md)

> [card] Events
>
> * [Live streaming events](https://docs.daily.co/reference/daily-js/events/live-streaming-events.md)

> [card] Guides
>
> * [Live streaming](https://docs.daily.co/docs/daily-js/features/live-streaming.md)

> [card] REST API
>
> * [Update live streaming](https://docs.daily.co/reference/rest-api/rooms/live-streaming/update.md)
> * [streaming-updated webhook](https://docs.daily.co/reference/rest-api/webhooks/events/streaming-updated.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.