# Other IP Cameras

The Other IP cameras which cadn communicate with XBLink via ethernet protocol to stream video.

## Hardware Setup

We support 2 methods to connect it to XBLink as below

**Method 1**:  Connect to ETH0 port's XBLink.&#x20;

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2F4nn6vS8t9UtMk9GK2JSS%2Fimage.png?alt=media&#x26;token=cc5e3e90-7655-432c-959c-5307fbb5ffd9" alt="" width="375"><figcaption></figcaption></figure>

**Method 2**: Using USBtoETH Adapter (Nhớ gắn link). (In case ETH0 port of XBLink is occupied)

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FWgbIHtcREjWNKTcuytD6%2Fimage.png?alt=media&#x26;token=71404f40-1185-4727-a42c-65522f5320ff" alt=""><figcaption></figcaption></figure>

**Method  3**: Using Dual FPV Camera Hub.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FxVHsjifoevkkN0lbs3QD%2Fimage.png?alt=media&#x26;token=c49fb657-16ed-4029-a6b2-177ccd4474a9" alt=""><figcaption></figcaption></figure>

### Method 1:  Connect to ETH0 port's XBLink&#x20;

The simplest way to connect a IP Camera to XBLink is to use it's ETH0 port. You just need to plug in the wire according to the instructions below.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FOUl0cV8cyKkJBsWMmVs7%2Fimage.png?alt=media&#x26;token=5d766cd5-130a-4ecf-8417-e35e89727b80" alt="" width="287"><figcaption></figcaption></figure>

Finally, power up XBLink and a IP Camera.

{% hint style="info" %}
Note: ETH port is ETH0 of XBLink Plus
{% endhint %}

### Method 2: Using USBtoETH Adapter

If you are intending to use both [the remote control](https://docs.xbstation.com/xblink-plus/user-manual/advanced-configuration/remote-controller) and a IP Camera, we recommend that you use the [USB to Ethernet Adapter](https://docs.xbstation.com/xblink-plus/getting-started/overview#other-not-include) to connect to the USB port of the XBLink

You can connect IP Camera to USB port of XBLink Plus via [USB to Ethernet Adapter](https://docs.xbstation.com/xblink-plus/getting-started/overview#other-not-include) as below

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FGhkcmwc8mRrQfpmQ4dvN%2Fimage.png?alt=media&#x26;token=17c85e34-864c-40f0-841d-551f0a8dc4c1" alt="" width="226"><figcaption></figcaption></figure>

{% hint style="info" %}
Note: USB port is ETH1 of XBLink Plus
{% endhint %}

Finally, power up XBLink and a IP Camera.

## Configuration <a href="#camera-setting" id="camera-setting"></a>

### XBStationPilotApp&#x20;

If you are using ETH0 Port's XBLink (**method 1**), please open XBStationPilotApp and configure as below:

1. Internet connection: **TCP**
2. Video Port: **5601**
3. Video Source: Other IP CAM
4. Ethernet: **eth0**
5. Ip Address: **Please fill out your IP address Camera (find from your document of IP Camera)**
6. Pipeline: **Please fill out your Pipeline Camera (find from your document of IP Camera)**

{% hint style="info" %}
The address format should be rtsp\://*\<camera-ip-address>/\<video-format>*

Example with ZR10:

* Ip Address: 192.168.144.25
* Pipeline: rtsp\://192.168.144.25:8554/main.264
  {% endhint %}

7. **TURN ON**.

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2Fj5ftEE59fX1XPZqbpOP7%2Fimage.png?alt=media&#x26;token=cca4a932-6343-408f-aaea-e4d9b3572679" alt=""><figcaption></figcaption></figure>

In case that you using USB Port( ETH1) to connect IP Camera (**method 2**), just change Ethernet section to **eth1**

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FkoxMu9DcsyCNCHSYMV0V%2Fimage.png?alt=media&#x26;token=38024256-959f-403e-a765-10d1b149a07d" alt=""><figcaption></figcaption></figure>

### Ground Station

#### QGroundControl

* Open QGroundControl, Change Source section to **UDP H.265 Video Stream** or **UDP H.264 Video Stream** up to your IPCamera as below.

<div><figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FuybD7qHYNCOtml2oMIbz%2Fimage.png?alt=media&#x26;token=e3a3f060-77d4-4e89-b6da-d0d8e8523e76" alt="" width="293"><figcaption><p><strong>UDP H.265 Video Stream</strong></p></figcaption></figure> <figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FxOtcpOuM5K7LZp54LQSx%2Fimage.png?alt=media&#x26;token=1fdae62f-5f55-4c4d-adea-96b5e898cc3d" alt="" width="294"><figcaption><p><strong>UDP H.264 Video Stream</strong></p></figcaption></figure></div>

#### Mission Planner

1. At the Video HUD area, Right Click -> Video -> GStreamer Stop as below instruction

<figure><img src="https://752643261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1Ot9F_Ob2Aboz1SKNK%2Fuploads%2FQAmOfHvNmdWBlRtz8O0w%2Fimage.png?alt=media&#x26;token=bb4a609a-c0f3-44d2-8c77-3ffe47fbb173" alt="" width="528"><figcaption><p>GStreamer Stop</p></figcaption></figure>

2. At the Video HUD area, Right Click -> Video -> Set GStreamer source -> input GStreamer URL:

**`udpsrc port=5601 caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink`**

```
udpsrc port=5601 caps = "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96" ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink
```

{% hint style="info" %}
**NOTE: udpsrc port=560x must be the same as PilotApp**

**NOTE:** The GStreamer URL just need to input at the first time, Mission Planner will auto save this params, the next run with Mission Planner, you just **Right Click -> Video -> Set GStreamer source -> and click OK to use video streaming**
{% endhint %}

![Mission Planner](https://i.imgur.com/kFRpzS9.png)

{% hint style="info" %}
**NOTE:** Download and install the plugin (domestic environment download is slow, if it fails, please restart the Mission Planner ground station and try again)
{% endhint %}

![Mission Planner](https://i.imgur.com/RurZ4jz.png)

After the installation is complete, restart the Mission Planner ground station to display the following interface.

## Video tutorial

For more information see video as below

{% embed url="<https://youtu.be/LDAwsTO1HTY>" %}


---

# 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://docs.xbstation.com/xblink-plus/user-manual/advanced-configuration/cameras-and-gimbals/ip-cameras/other-ip-cameras.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.
