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

# Streaming Updated

> The streaming updated webhook event

A streaming updated event emits when an update to the call's live stream was requested and forwarded to the media server. That is either a layout change, via [`updateLiveStreaming()`](https://docs.daily.co/reference/daily-js/instance-methods/update-live-streaming) or the [REST API](https://docs.daily.co/reference/rest-api/rooms/live-streaming/update.md), or a change to the RTMP destinations, via [`addLiveStreamingEndpoints()`](https://docs.daily.co/reference/daily-js/instance-methods/add-live-streaming-endpoints) / [`removeLiveStreamingEndpoints()`](https://docs.daily.co/reference/daily-js/instance-methods/remove-live-streaming-endpoints) or the REST [`add-endpoints`](https://docs.daily.co/reference/rest-api/rooms/live-streaming/add-endpoints) / [`remove-endpoints`](https://docs.daily.co/reference/rest-api/rooms/live-streaming/remove-endpoints) endpoints.

> [!NOTE]
>
> Updates are applied asynchronously. This event means the request was accepted, not that it has taken effect. If the media server rejects the change or cannot apply it, a [`streaming.warning`](https://docs.daily.co/reference/rest-api/webhooks/events/streaming-warning) event follows for the same `instance_id`.

## Common fields

**version** `string`

Represents the version of the event. Uses semantic versioning to inform a consumer if the payload has introduced any breaking changes. `1.1.0` added `type` and `endpoints`.

**type** `string`

Represents the type of the event described in the payload.

**id** `string`

An identifier representing this specific event. Treat it as opaque; its leading segment identifies the webhook configuration the event was delivered to.

**payload** `object`

An object representing the event, whose fields are described below.

**event\_ts** `number`

Documenting when the webhook itself was sent. This timestamp is different than the time of the event the webhook describes.

## Payload

**timestamp** `integer`

The Unix epoch time in seconds representing when the update was requested.

**instance\_id** `string`

The streaming instance ID.

**domain\_id** `string`

ID of the domain for which streaming was updated.

**type** `string`

What the update changed: `layout`, `add-endpoints`, or `remove-endpoints`.

**layout** `object`

The layout that was requested. Present only when `type` is `layout`.

**endpoints** `string[]`

The destinations the update added or removed, as named in the request. Present only when `type` is `add-endpoints` or `remove-endpoints`.

A layout update:

```json theme={null}
{
  "version": "1.1.0",
  "type": "streaming.updated",
  "id": "3602-str-upd-c3df927c-f738-4471-a2b7-066fa7e95a6b-1692124183412",
  "payload": {
    "timestamp": 1692124183,
    "instance_id": "c3df927c-f738-4471-a2b7-066fa7e95a6b",
    "domain_id": "96df0296-b344-4abb-8b78-82df35cc58f4",
    "type": "layout",
    "layout": {
      "preset": "active-participant"
    }
  },
  "event_ts": 1692124183
}
```

An endpoints update:

```json theme={null}
{
  "version": "1.1.0",
  "type": "streaming.updated",
  "id": "3602-str-upd-c3df927c-f738-4471-a2b7-066fa7e95a6b-1692124201877",
  "payload": {
    "timestamp": 1692124201,
    "instance_id": "c3df927c-f738-4471-a2b7-066fa7e95a6b",
    "domain_id": "96df0296-b344-4abb-8b78-82df35cc58f4",
    "type": "add-endpoints",
    "endpoints": ["rtmp_youtube", "rtmp_fb"]
  },
  "event_ts": 1692124201
}
```


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