# Using an IP or USB Camera as second 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)

***

This describes the case where you have a CSI camera connected AND want to connect a USB or IP camera as well. The Open.HD system allows you to view both streams simultaneously (using Picture in Picture) and to switch between both streams for the main display. This is often used with Thermal cameras or an extra rear facing camera on a plane.

{% hint style="warning" %}
If you have an `air.txt` file on your `boot` partition from **testing** the USB or IP camera in **single** mode, be sure to **remove** it. Leaving it will mess up the dual camera initialization.
{% endhint %}

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

```
SecondaryCamera=IP
```

For a secondary IP camera **or**

```
SecondaryCamera=USB 
```

For a secondary USB camera. Then set:

```
IsCamera1Enabled=1
IsCamera2Enabled=1
```

Now enable the band switcher:

```
IsBandSwicherEnabled=1
```

And enable RC over Mavlink by setting:

```
RC=mavlink
```

And optionally change the RC channel used to swap between the main video feeds:

```
ChannelIPCamera=7
```

Please be aware you can switch between the feeds from the main QOpen.HD interface as well without the need of a joystick connected to the Ground SBC.


---

# 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-an-ip-or-usb-camera-as-second-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.
