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

# startCamera()

> Acquires camera and microphone access before joining a call.

`startCamera(properties?)`

Acquires local camera and microphone access as part of the pre-join flow, without entering a call. Useful for building a "hair check" or lobby screen where participants can preview and configure their devices before joining.

Accepts the same [`DailyCallOptions`](https://docs.daily.co/reference/react-native/types/daily-call-options) object as the factory methods. `url` is not required.

> [!WARNING]
>
> Do not call `startCamera()` after `join()`. Use [`setLocalVideo()`](https://docs.daily.co/reference/react-native/instance-methods/set-local-video) or [`setLocalAudio()`](https://docs.daily.co/reference/react-native/instance-methods/set-local-audio) to control devices mid-call.

`join()` calls `startCamera()` internally — if you don't need pre-join device access, `join()` alone is sufficient.

## Parameters

**properties** `DailyCallOptions`

Call configuration options. See [`DailyCallOptions`](https://docs.daily.co/reference/react-native/types/daily-call-options) for the full list of available fields.

## Return value

Returns a `Promise<DailyDeviceInfos>` with the active camera, mic, and speaker. See [`getInputDevices()`](https://docs.daily.co/reference/react-native/instance-methods/get-input-devices) for the full shape.

## Example

```javascript theme={null}
const call = Daily.createCallObject();

// Preview devices before joining
await call.startCamera({ url: 'https://your-domain.daily.co/room-name' });

const { local } = call.participants();
const audioTrack = local.tracks.audio.track;
const videoTrack = local.tracks.video.track;

// Later, join the call when ready
await call.join();
```

## See also

> [card] Types
>
> * [DailyCallOptions](https://docs.daily.co/reference/react-native/types/daily-call-options.md)

> [card] Methods
>
> * [join()](https://docs.daily.co/reference/react-native/instance-methods/join.md)
> * [setLocalAudio()](https://docs.daily.co/reference/react-native/instance-methods/set-local-audio.md)
> * [setLocalVideo()](https://docs.daily.co/reference/react-native/instance-methods/set-local-video.md)

> [card] Events
>
> * [started-camera](https://docs.daily.co/reference/react-native/events/settings-events.md#started-camera)
> * [participant-updated](https://docs.daily.co/reference/react-native/events/participant-events.md#participant-updated)
> * [track-started](https://docs.daily.co/reference/react-native/events/media-events.md#track-started)

> [card] Guides
>
> * [Audio and video](https://docs.daily.co/docs/daily-js/guides/audio-video.md)
> * [Tracks and media](https://docs.daily.co/docs/daily-js/concepts/tracks.md)


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