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

# Request Camera Permission

> Ask the OS for camera access before enumerating capture devices

## Blueprint node

**Category:** `XRLIVE_UTILS | CAMERA`\
**Type:** Async (latent node with multiple output pins)

| Output pin   | Fires when                                                    |
| ------------ | ------------------------------------------------------------- |
| `On Granted` | Camera access is already authorized, or the user tapped Allow |
| `On Denied`  | The user tapped Deny, or access is restricted by policy       |

## Platform behaviour

| Platform    | Behaviour                                                                                                      |
| ----------- | -------------------------------------------------------------------------------------------------------------- |
| **Mac**     | Shows the system permission dialog the first time. Subsequent calls return immediately from the cached status. |
| **Windows** | `On Granted` fires immediately — no dialog shown.                                                              |

## Example

```
Event BeginPlay
    ↓
Request Camera Permission
    On Granted → Enumerate Video Capture Devices → populate dropdown
    On Denied  → Show xRLive Alert (Warning, "Camera access denied", "...")
```

<Warning>
  On Mac, always call this node **before** enumerating capture devices. Calling `Enumerate Video Capture Devices` without permission granted results in an empty list, and the camera feed will not render even after the user grants access later.
</Warning>
