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

# Daily WebRTC Transport

> DailyTransport for the Pipecat React Native SDK: WebRTC audio and video on Daily's infrastructure in native mobile apps.

The DailyTransport class provides a WebRTC transport layer using [Daily.co's](https://daily.co) infrastructure. It wraps a React-Native-Daily-JS call client to handle audio/video device management, WebRTC connections, and real-time communication between clients and bots. For complete documentation on Daily's API, see the [Daily RN API Reference](https://docs.daily.co/reference/rn-daily-js).

This transport is designed for production use cases, leveraging Daily's global infrastructure for low-latency, high-quality audio and video streaming. It expects your Pipecat server to include the corresponding [`DailyTransport` server-side](https://docs.pipecat.ai/api-reference/server/services/transport/daily) implementation.

## Usage

### Basic Setup

```javascript theme={null}
import { RNDailyTransport } from "@pipecat-ai/react-native-daily-transport";
import { PipecatClient } from "@pipecat-ai/client-js";

// Create and configure the client
let pipecatClient = new PipecatClient({
  transport: new RNDailyTransport(),
  enableMic: true,
  enableCam: false,
});

// Connect to your bot
await pipecatClient.startBotAndConnect({
  endpoint: `${process.env.PIPECAT_API_URL || "/start"}`,
});
```

## API Reference

### Constructor Options

**DailyFactoryOptions**

The `DailyTransportConstructorOptions` extends the `DailyFactoryOptions` type that is accepted by the underlying Daily instance. These options are passed directly through to the Daily constructor. See the [Daily RN API Reference](https://docs.daily.co/reference/rn-daily-js/daily-call-client/properties) for a complete list of options.

> [!NOTE]
>
> The Pipecat React Native SDK leverages the Pipecat JavaScript SDK for seamless integration with React Native applications.
> For detailed information, please reference to the [Javascript SDK docs](https://docs.pipecat.ai/api-reference/client/js/transports/daily.md).
>
> **Just ensure you use the appropriate transport layer for React Native.**

## More Information

> [card] [Demo](https://github.com/pipecat-ai/pipecat-examples/tree/main/simple-chatbot)
>
> Simple Chatbot Demo

> [card] [Source](https://github.com/pipecat-ai/pipecat-client-react-native-transports/tree/main/transports/daily)
>
> `RNDailyTransport`

> [card] [Package](https://www.npmjs.com/package/@pipecat-ai/react-native-daily-transport)
>
> `@pipecat-ai/react-native-daily-transport`


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