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

# startLiveStreaming()

> Starts an RTMP or HLS live stream from a Daily call.

Paid plans only

`startLiveStreaming(options)`

Starts an RTMP or HLS live stream. Requires the initiating participant 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). The number of live streams you can run at once in a single room is set by [`max_streaming_instances_per_room`](https://docs.daily.co/reference/rest-api/domain/get-domain-config#response-config-max-streaming-instances-per-room), which defaults to 2. [Contact us](https://www.daily.co/contact/support) to change it for your domain.

## Parameters

`options: DailyLiveStreamingOptions`

Accepts all fields from [`DailyStreamingOptions`](https://docs.daily.co/reference/react-native/types/daily-streaming-options) plus the following live-streaming-specific fields:

**rtmpUrl** `string | string[]`

One or more RTMP destination URLs. When multiple URLs are provided, each receives the same layout. Avoid using this field if your URL contains sensitive values (stream keys, etc.) — use `endpoints` instead.

**endpoints** `DailyStreamingEndpoint[]`

Array of endpoint objects (`{ endpoint: string }`). Supports both RTMP and HLS. Only one HLS endpoint can be provided. Preferred over `rtmpUrl`.

> [!NOTE]
>
> Provide either `rtmpUrl` or `endpoints` — not both. HLS can only be started via `endpoints`.

See [`DailyStreamingOptions`](https://docs.daily.co/reference/react-native/types/daily-streaming-options) for all shared options: output quality (`width`, `height`, `fps`, `videoBitrate`, `audioBitrate`, `backgroundColor`), session lifetime (`instanceId`, `minIdleTimeOut`, `maxDuration`), output artifacts (`dataOutputs`), and `layout`.

## Return value

Returns `void`. Listen for [`live-streaming-started`](https://docs.daily.co/reference/react-native/events/live-streaming-events#live-streaming-started) to confirm the stream is active.

## Example

```javascript theme={null}
await call.startLiveStreaming({
  endpoints: [{ endpoint: 'rtmps://live.example.com/stream/YOUR_STREAM_KEY' }],
  width: 1280,
  height: 720,
  fps: 25,
  videoBitrate: 2500,
  layout: {
    preset: 'default',
    max_cam_streams: 5,
  },
});
```

## See also

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

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

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

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

> [card] REST API
>
> * [Update room: streaming\_endpoints](https://docs.daily.co/reference/rest-api/rooms/update-room.md#body-properties-streaming-endpoints)
> * [Start live streaming](https://docs.daily.co/reference/rest-api/rooms/live-streaming/start.md)
> * [streaming-started webhook](https://docs.daily.co/reference/rest-api/webhooks/events/streaming-started.md)


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