# Video Proxying

### Overview

Video Proxying is a feature in Auterion Mission Control that allows you to retransmit incoming video streams to external applications or services. This enables you to share live video feeds with command centers, recording systems, streaming servers, or custom video analysis tools while Auterion Mission Control continues to receive and display the primary video stream.

### Use Cases

* **Multiple Ground Control Stations**: Share live video feed with other operators or observers in real-time
* **External Recording**: Stream video to dedicated recording servers or storage systems
* **Video Analysis**: Forward video to computer vision or AI analysis tools
* **Broadcasting**: Retransmit video to streaming platforms (RTMP) or media servers
* **Mission Control Centers**: Distribute video feeds to multiple displays or monitoring stations

### How It Works

When Video Proxying is enabled, Auterion Mission Control creates a secondary video output that retransmits the incoming video stream to the specified destination URL. The original video stream continues to be displayed in the application without interruption.

The proxy operates in parallel with the video decoder:

* **Incoming Stream** → AMC → **Display** (primary path)
* **Incoming Stream** → AMC → **Proxy Output** → External Destination (secondary path)

Video is retransmitted in real time with minimal additional latency, preserving the quality and frame rate of the original stream.

***

### Prerequisites

#### Required Settings

* **Advanced Mode** must be enabled to access Video Proxy settings

#### Supported Video Input Types

Video Proxying works with the following video source types:

* **RTSP/RTP** - RTSP video streams
* **RTP** - UDP RTP (h.264/h.265) video streams
* **TCP-MPEG** - TCP MPEG-2 video streams
* **MPEG-TS** - MPEG Transport Stream over UDP

#### Supported Proxy Protocols

Auterion Mission Control can retransmit video using the following protocols:

#### RTSP (Real Time Streaming Protocol)

RTSP supports two modes, selectable via the **RTSP Proxy Mode** setting:

**Server mode** (default):

* **Format**: `rtsp://<host>:<port>/<path>`
* **Example**: `rtsp://0.0.0.0:8554/stream` or `rtsp://192.168.1.100:8554/stream`
* **How It Works**: Creates an **RTSP server** on your computer that others connect to
* **Use Case**: Best for network streaming to media players (VLC, FFmpeg) or other GCS applications

{% hint style="info" %}
Use IP address `0.0.0.0` to listen on all interfaces.
{% endhint %}

**Client mode**:

* **Format**: `rtsp://<host>:<port>/<path>`
* **Example**: `rtsp://192.168.1.50:8554/live`
* **How It Works**: AMC **connects to** an existing RTSP server and pushes video to it
* **Use Case**: When an external media server or RTSP ingest endpoint is already running and expects AMC to publish the stream

#### RTP (Real Time Transport Protocol)

* **Format**: `rtp://<host>:<port>`
* **Example**: `rtp://192.168.1.100:5600`
* **Use Case**: Low-latency UDP streaming to custom applications

#### MPEG-TS (MPEG Transport Stream)

* **Format**: `mpegts://<host>:<port>`
* **Example**: `mpegts://239.0.0.1:1234`
* **Use Case**: Broadcasting to multiple receivers, multicast streaming

#### RTMP (Real Time Messaging Protocol)

* **Format**: `rtmp://<host>:<port>/<app>/<stream>`
* **Example**: `rtmp://live.example.com:1935/live/mystream`
* **Use Case**: Streaming to media servers, broadcasting platforms

***

### Configure Video Proxy

1. Navigate to **Settings ⇾ General ⇾ Video**
2. Check **"Enable Video Proxy"**
3. *(RTSP only)* Set the **"RTSP Proxy Mode"** to **Server** or **Client** depending on your setup
4. Enter your proxy destination URL in the **"Video Proxy URL"** field
   * **For RTSP server mode**: Enter the URL where AMC will host the RTSP server\
     (e.g., `rtsp://0.0.0.0:8554/live`)
   * **For RTSP client mode**: Enter the URL of the existing RTSP server AMC should push to\
     (e.g., `rtsp://192.168.1.50:8554/live`)
   * **For RTP/MPEG-TS/RTMP**: Enter the destination URL where AMC will send the stream

{% hint style="warning" %}
With RTSP client mode and RTP/MPEG-TS/RTMP, the destination must be listening/ready to receive. \
If the destination is unreachable, the proxy attempt will fail.

If the connection drops or fails to initialize, you'll need to toggle the proxy off and on again.
{% endhint %}

<figure><img src="/files/LyfVM4hYTZ3kKFJp16jm" alt=""><figcaption></figcaption></figure>

***

### Common Setups

#### Setup 1: Stream to Another AMC Instance

**Objective**: Share video feed with another ground control station

**Auterion Mission Control Configuration:**

1. Enable Video Proxy
2. Set RTSP Proxy Mode to **Server**
3. Set Video Proxy URL to: `rtsp://<server_ip>:8554/live`

**On the remote GCS:**

1. Open **Settings** **⇾** **General** **⇾** **Video**
2. Enable **"Manual Video Setup"**
3. Set **Video Source** to: **RTSP Video Stream**
4. Set **RTSP URL** to: `rtsp://<server_ip>:8554/live`
   * Replace `server_ip` with the IP of the computer running Auterion Mission Control
5. The video should appear in the remote GCS

#### Setup 2: Stream to VLC Media Player

**Objective**: View the video stream in VLC on another computer

**Auterion Mission Control Configuration:**

1. Enable Video Proxy
2. Set RTSP Proxy Mode to **Server**
3. Set Video Proxy URL to: `rtsp://<server_ip>:8554/live`

**On the receiving computer (VLC):**

1. Open VLC Media Player
2. Go to **Media** → **Open Network Stream**
3. Enter: `rtsp://<server_ip>:8554/live`
   * Replace `server_ip` with the IP of the computer running Auterion Mission Control
4. Click **Play**

***

### Troubleshooting

#### Video Proxy Option Not Visible

**Cause**: Advanced Mode is not enabled.

#### Cannot Connect to Proxy Stream

**Possible causes and solutions**:

1. **Incorrect URL format**
   * Verify the URL follows the correct protocol format
   * Check for typos in hostname or port number
   * Examples: `rtsp://host:8554/path`, `rtp://host:5600`
2. **Firewall blocking connection**
   * Check firewall rules on both computers
   * Add rules for the specific ports being used
3. **IP address not reachable**
   * Verify that both computers are on the same network
   * Ping the destination: `ping 192.168.1.100`
   * Check network connectivity
4. **Port already in use**
   * Another application may be using the port
   * Use a different port number


---

# 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.auterion.com/vehicle-operation/auterion-mission-control/useful-resources/video-proxying.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.
