# ZIO PAYLOAD CONFIGURATION

### HARDWARE SETUP <a href="#bkmrk-hardware-setup" id="bkmrk-hardware-setup"></a>

![](https://bookstack.gremsy.vn/uploads/images/drawio/2024-05/drawing-7-1715138070.png)

### ZIO PAYLOAD CONFIGURATION <a href="#bkmrk-zio-payload-configur" id="bkmrk-zio-payload-configur"></a>

**1. Overview**

* To stream video over Ethernet, the Zio payload needs to be set up in the same network layer (IP) as the remote-running QGC.
* The default Zio payload is set to static IP address 192.168.12.240.
* There are 2 ways for Remote to receive video from Zio:
  * Keep Zio's default setup (ip 192.168.12.240) andremote- Remote's IP setting at 192.168.12.200
  * Change Zio's IP according to the network configuration of the running Remote system.

**2. Zio Ethernet Video Stream Protocol**

On firmware v2.0.0 or higher, Zio streams video via RTP protocol and h264 encoder.

**3. Set IP address of Zio and IP adress of UDP stream receiver**

* Take out the micro SD card from Zio
* Connect and open the SD folder
* Create file payload\_setup.txt in the micro SD card folder

> File name: payload\_setup.txt\
> File Content:
>
> 123456/\*PAYLOAD CONFIGURATION\*/\
> \# IP address of PayloadZIO\_ADDR = 192.168.12.200NETMASK = 255.255.255.0GATEWAY = 192.168.12.1
>
> On the above example
>
> * Zio IP: 192.168.12.200

* Insert the SD card containing the file payload\_setup.txt into Zio and reboot.
* Zio will set up according to the information in the file automatically.

> ***NOTE:*** when Zio starts up without detecting the file payload\_setup.txt in the memory card, Zio will automatically reset to the default IP (192.168.12.240)

### Onboard Computer Configuration <a href="#bkmrk-onboard-computer-con" id="bkmrk-onboard-computer-con"></a>

**Got video stream with QGroundControl app**

* General/Video setup as following&#x20;

  <figure><img src="https://bookstack.gremsy.vn/uploads/images/gallery/2024-05/scaled-1680-/image-1715138178342.png" alt=""><figcaption></figcaption></figure>

**Got video stream with Gstreamer**

In the case of using an embedded computer with the Gstreamer library, the video can be received via the command:

```
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.12.240:8554/zio ! rtph264depay ! decodebin ! videoconvert ! autovideosink sync=false
```
