> For the complete documentation index, see [llms.txt](https://docs.auterion.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.auterion.com/vehicle-operation/auterion-mission-control/integrations/amc-and-atak-integration/forwarding-video-to-atak.md).

# Forwarding video to ATAK

AMC can re-publish the video stream it receives from the vehicle, so other applications on the network can watch the same feed. This page explains how to use that capability, the **Video Proxy**, to view the vehicle's camera in **ATAK**.

AMC does not re-encode the video. It forwards the H.264/H.265 stream as received from the vehicle, so the extra latency is small and image quality is unchanged.

```
Vehicle camera ──► AMC (receives + displays) ──► Video Proxy ──► ATAK Video Player
```

### Before you start

* AMC is connected to the vehicle and the video is playing in the Fly view.
* AMC is in **Advanced Mode**. The proxy settings are otherwise hidden.
* The ATAK device can reach the AMC device over the network (same LAN, VPN or Wi-Fi). If ATAK runs on the same Android device as AMC, no network is needed.
* The vehicle camera streams **H.264** (recommended). H.265 is forwarded too, but many ATAK devices cannot decode it - at least for the moment.

{% hint style="info" %}
Only the main (EO) video stream is forwarded. The IR or secondary stream is not proxied.
{% endhint %}

### Choose a forwarding mode

| Mode                 | Who connects to whom | Proxy URL in AMC           | Use it when                                                |
| -------------------- | -------------------- | -------------------------- | ---------------------------------------------------------- |
| **RTSP Server**      | ATAK connects to AMC | `rtsp://0.0.0.0:8554/live` | Recommended. Works for one or several ATAK devices.        |
| **MPEG-TS over UDP** | AMC pushes to ATAK   | `mpegts://<ATAK-IP>:5600`  | ATAK cannot open a connection to AMC (e.g. one-way links). |

{% hint style="warning" %}
For the video stream to be STANAG-compliant, video forwarding must be done with MPEG-TS.
{% endhint %}

### Step 1: Configure the Video Proxy in AMC

{% stepper %}
{% step %}

### Open the proxy settings

Go to **Application Settings → General → Video → Proxy**.

If the **Proxy** section is missing, enable Advanced Mode first.
{% endstep %}

{% step %}

### Set the RTSP Proxy Mode

Use the **Server** option for the RTSP Server and MPEG-TS modes.
{% endstep %}

{% step %}

### Enter the Video Proxy URL

Use the URL from the table above for the mode you chose. The URL must include a port, and an `rtsp://` URL must also include a path (e.g. `/live`).
{% endstep %}

{% step %}

### Turn on **Enable Video Proxy**

The proxy starts as soon as the vehicle video is playing in AMC. Changing the URL or the mode restarts it automatically.
{% endstep %}
{% endstepper %}

### Step 2: Add the stream in ATAK

Open ATAK's **Video Player** tool and add a new video alias (the **+** button). The exact field names depend on the ATAK version. You can get to this menu here:

<figure><img src="https://3329189600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFW1Ge1p1f6WHyiYCb146%2Fuploads%2FjSErioKGenUyFK3L8457%2Fimage.png?alt=media&amp;token=5c0138d7-776c-49e4-8391-c70e5598f848" alt="" width="563"><figcaption></figcaption></figure>

To add an additional interface, select this button:

<figure><img src="https://3329189600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFW1Ge1p1f6WHyiYCb146%2Fuploads%2F2vpGXJeIp2nRDSM1LRp0%2Fimage.png?alt=media&amp;token=569d0d41-27ac-4a78-bc90-66339ac37742" alt="" width="563"><figcaption></figcaption></figure>

A configuration window opens. Enter the details from the table for the selected option: RTSP or MPEG-TS.

{% tabs %}
{% tab title="RTSP Server (recommended)" %}
**AMC Video Proxy URL:** `rtsp://0.0.0.0:8554/live`

**ATAK alias:**

| Field    | Value                                                                          |
| -------- | ------------------------------------------------------------------------------ |
| Protocol | RTSP                                                                           |
| Address  | IP address of the AMC device. Use `127.0.0.1` if ATAK runs on the same device. |
| Port     | `8554`                                                                         |
| Path     | `live`                                                                         |

The full stream address is `rtsp://<AMC-IP>:8554/live`.

* AMC listens on **all** network interfaces at the given port. The host part of the URL is ignored, so `0.0.0.0` is fine.
* Several ATAK devices can connect to the same URL at the same time.
* On Android, use a port above 1024. AMC cannot open ports below 1024 there.
* On Windows, allow AMC through the firewall for incoming connections on that port.
  {% endtab %}

{% tab title="MPEG-TS over UDP" %}
**AMC Video Proxy URL:** `mpegts://<ATAK-IP>:5600`

**ATAK alias:**

| Field    | Value                                                   |
| -------- | ------------------------------------------------------- |
| Protocol | UDP                                                     |
| Address  | Leave empty or use `0.0.0.0` (listen on all interfaces) |
| Port     | `5600`                                                  |

* AMC sends the stream to a single destination, so `<ATAK-IP>` must be the IP address of the ATAK device.
* To reach several ATAK devices at once, use a multicast address instead (e.g. `mpegts://239.10.10.10:5600`) and enter the same multicast address in each ATAK alias. The network must allow multicast traffic.
* If ATAK shows nothing, check that the port is not blocked and that no other app on the ATAK device is using it.
  {% endtab %}
  {% endtabs %}

For example, when you select MPEG-TS, the video configuration should look similar to this:

<figure><img src="https://3329189600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFW1Ge1p1f6WHyiYCb146%2Fuploads%2FKvZZFTqxHMLTRvjZQ4cz%2Fimage.png?alt=media&amp;token=95d93da1-7677-4165-82e1-161a66aef27d" alt="" width="563"><figcaption></figcaption></figure>

### Behavior to expect

* **The proxy follows the vehicle video.** It starts once AMC is receiving video and stops when the vehicle disconnects. It comes back by itself when the vehicle reconnects. ATAK may need to reopen the alias after a long interruption.

### Troubleshooting

| Symptom                                 | Check                                                                                                                                                                                                                                                                                           |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| No **Proxy** section in the settings    | Enable Advanced Mode.                                                                                                                                                                                                                                                                           |
| ATAK cannot connect (RTSP)              | <ul><li>Is the video playing in AMC?</li><li>Is <strong>Enable Video Proxy</strong> on?</li><li>Is the URL <code>rtsp\://…:\<port>/\<path></code> with both a port and a path?</li><li>Is the AMC IP correct and reachable (<code>ping</code>)?</li><li>Firewall on the AMC computer?</li></ul> |
| ATAK connects but the image stays black | The camera may stream H.265, which the ATAK device cannot decode. Switch the camera to H.264 if possible.                                                                                                                                                                                       |
| Nothing arrives (MPEG-TS)               | `<ATAK-IP>` in the AMC URL must be the ATAK device's address, and the port must match the ATAK alias. Some Wi-Fi networks block multicast.                                                                                                                                                      |
