# Vindral Bridge

Vindral Bridge is Vindral's product for getting live video in, processing it and sending it on. Like Vindral Live, which packages delivery to viewers, channel management and analytics, Bridge packages a set of components:

- **[Packager](https://docs.vindral.com/bridge/packager.md)**: ingest, transcoding, compositing, recording and delivery.
- **[Media Ingress](https://docs.vindral.com/bridge/media-ingress.md)**: a receiver for SRT, RTMP and MoQ contribution.
- **A MoQ relay**: serves MoQ streams to players and other subscribers.

The components run where you need them: on your own servers, at a venue or in a studio, in the cloud, or managed from the [Vindral Portal](https://docs.vindral.com/bridge/manage-packagers.md). They are also the ingest and processing stage inside Vindral Live, where they run for every stream without setup.

Together they handle:

- **Ingest** over SDI, NDI, SRT, RTMP, MoQ, MPEG-TS, RTSP, HLS, files, still images and web pages.
- **Protocol conversion and proxying**, for example SDI to SRT, or RTMP to several RTMP destinations, without re-encoding when the codecs already fit.
- **Transcoding** into an ABR ladder in software or with NVIDIA, Intel Quick Sync, AMD or NETINT hardware.
- **Compositing and audio mixing** for a feed on its way somewhere: logos and text, multiview, split screen, camera switching through the API, browser overlays and live gain.
- **Recording** to HLS on disk or S3-compatible storage while the stream is live.
- **Delivery** to Vindral Live over MoQ, or to any SRT, RTMP, SDI, NDI or HLS destination.

```mermaid
flowchart LR
    accTitle: Vindral Bridge sources and destinations
    accDescr: SDI, NDI, files and web pages go straight to Packager, while SRT, RTMP and MoQ streams reach Packager directly or through Media Ingress. Packager transcodes, composites and records, then sends an ABR ladder to Vindral Live over MoQ, sends SRT, RTMP, SDI or NDI to other destinations, and writes HLS to disk or S3 storage.
    subgraph In["Sources"]
        direction TB
        SDI["SDI / NDI"]
        NET["SRT / RTMP / MoQ"]
        FILE["Files / web pages"]
    end
    subgraph Bridge["Vindral Bridge"]
        direction LR
        MI("Media Ingress")
        P("Packager<br/>transcode · composite · record")
        MI --> P
    end
    SDI --> P
    NET --> MI
    NET --> P
    FILE --> P
    P -- "MoQ, ABR ladder" --> LIVE("Vindral Live")
    P -- "SRT / RTMP / SDI / NDI" --> DEST("Other destinations")
    P -- "HLS" --> S3[("Disk or S3 storage")]
```

## When to use Bridge

Use Bridge when the video needs work before it reaches its destination, or when that work has to happen on your own hardware:

- **Your sources are not ready to publish.** SDI, NDI or MPEG-TS feeds in a studio or venue need converting before they can go out over the internet.
- **You want to transcode on your premises.** Bridge builds the ABR ladder on hardware you own and sends the finished ladder to Vindral Live over MoQ.
- **One feed has to go to several places.** Fan a source out to Vindral Live, an SRT contribution link and an RTMP platform at the same time, and record it.
- **You need a recording on your own storage**, in the qualities you deliver, while the stream is live.
- **Viewers are on a local network.** [In-Venue](https://docs.vindral.com/bridge/in-venue.md) serves screens and devices at a venue with no internet connection.

You do not need Bridge when your encoder publishes RTMP, SRT or MoQ straight to Vindral Live and transcoding in [LiveCloud](https://docs.vindral.com/integrate/fully-managed.md) covers your qualities. For live production, with real-time compositing, color correction, chroma key and effects, use [Vindral Composer](https://docs.vindral.com/broadcast/broadcast-software/composer.md). Bridge's compositing is for a feed on its way somewhere: a logo, a multiview, a browser overlay or an audio mix.

## Components

- [Packager](https://docs.vindral.com/bridge/packager.md): Ingests, transcodes, composites, records and delivers. Configured in TOML, controlled over HTTP.
- [Media Ingress](https://docs.vindral.com/bridge/media-ingress.md): A lightweight RTMP, SRT and MoQ server that encoders publish to.
- [Manage Packagers](https://docs.vindral.com/bridge/manage-packagers.md): See every Packager in the Vindral Portal and deliver their configuration.

**MoQ relay.** Bridge also includes a relay that receives MoQ streams and serves them to players and other subscribers over WebTransport or WebSocket, without the rest of the Vindral CDN. [Contact us](https://vindral.com/contact/) to run it on its own.

## Where Bridge runs

| Deployment | What it is | Start here |
|---|---|---|
| Standalone | Packager, and Media Ingress if you need it, in Docker on your own Linux hosts. You write the configuration and operate the pipeline. | [Run your first pipeline](https://docs.vindral.com/bridge/packager/quickstart.md) |
| Managed from the Portal | The same containers, connected to the **Packagers** section of the Vindral Portal. You see every Packager in one place, and the Portal can deliver configuration to them. See [Manage Packagers](https://docs.vindral.com/bridge/manage-packagers.md). | [Connect a Packager](https://docs.vindral.com/bridge/manage-packagers/connect-a-packager.md) |
| In-Venue | An RTMP ingest, Packager, an edge, a player and monitoring on one machine, for viewers on a local network with no internet connection. | [Run In-Venue](https://docs.vindral.com/bridge/in-venue/usage.md) |
| Inside LiveCloud and LiveEngine | Bridge is the ingest and processing stage of Vindral Live. It starts for each stream automatically and needs no setup from you. | [System overview](https://docs.vindral.com/system-overview.md) |

Before you install, check [Ports and network](https://docs.vindral.com/bridge/network.md) for the connections each component needs.

## Get access

Bridge is distributed as container images. [Contact us](https://vindral.com/contact/) for access, the image names and the current release tag. The pages in this section use `YOUR_BRIDGE_IMAGE` and `YOUR_RELEASE_TAG` as placeholders for them.

## Names in the configuration

The command line, configuration files, environment variables, API and metrics use the component names. Packager runs as `packager`, reads `/etc/packager/config.toml` and reports `vindral_packager_*` metrics. Media Ingress reports `vindral_ingress_*` metrics.
