# Using only an IP Camera

> ⚠️ **This documentation is outdated!** A current version is available at [openhdfpv.org](https://openhdfpv.org)
>
> [📖 **View Updated Version of This Page** →](https://openhdfpv.org)

***

Open.HD currently detects whether it is an Air or Ground unit by looking for an CSI camera. If one is found, the system assumes the role of the Air unit. When you use an IP camera as the main camera, the system will not find a CSI connected camera and will assume the role of Ground unit.

To prevent this, place a file called `air.txt` on the `boot` partition of the SD Card you use in the Air SBC. This forces the Open.HD system into Air unit mode.

Inside `openhd-settings-1.txt` change these settings:

```
SecondaryCamera=No
IsCamera1Enabled=0
```

To

```
SecondaryCamera=IP
IsCamera1Enabled=1
```

Now enable the band switcher:

```
IsBandSwicherEnabled=1
```

And remove the comment before these lines:

```
#IPCameraHiRes="gst-launch-1.0 rtspsrc...
#IPCameraLowRes="gst-launch-1.0 rtspsrc...

to

IPCameraHiRes="gst-launch-1.0 rtspsrc...
IPCameraLowRes="gst-launch-1.0 rtspsrc...
```

The settings in those two lines will need to be modified to suit your specific IP Camera and are only provided as a starting point.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://openhd.gitbook.io/open-hd/master/advanced-setup/using-only-an-ip-camera.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
