---
id: "aws-mediaconnect"
type: "component"
kind: "media-router"
provider: "aws"
category: "edge"
docs: "https://docs.aws.amazon.com/mediaconnect/latest/ug/source-failover.html"
url: "https://localhost:3000/catalogue/components/aws-mediaconnect"
---

# AWS Elemental MediaConnect

Live video transport and routing service for contribution and distribution feeds.

| | |
|---|---|
| Provider | [aws](https://localhost:3000/catalogue?provider=aws) |
| Kind | [Media router](https://localhost:3000/catalogue/kinds/media-router) |
| Category | Edge |
| Official docs | [https://docs.aws.amazon.com/mediaconnect/latest/ug/source-failover.html](https://docs.aws.amazon.com/mediaconnect/latest/ug/source-failover.html) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `cascading` | boolean | — | no | false | inherited |
| `encryption` | boolean | — | no | false | inherited |
| `failoverMode` | enum | `merge`, `failover` | no | — | inherited |
| `failoverSwitchMilliseconds` | integer | — | no | 500 | inherited |
| `managed` | boolean | — | no | false | **true** |
| `mode` | enum | `sfu`, `mcu`, `p2p`, `ingest` | no | "sfu" | **"ingest"** |
| `rerouteOnFailure` | boolean | — | no | false | inherited |
| `sourceProtocol` | enum | `zixi-push`, `zixi-pull`, `rtp`, `rtp-fec`, `rist`, `srt-listener`, `srt-caller`, `cdi`, `st-2110-jpegxs`, `ndi-speed-hq` | no | — | inherited |
| `transport` | enum | `udp`, `tcp`, `both` | no | "both" | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 23

- [Amazon Chime SDK](https://localhost:3000/catalogue/components/aws-chime-sdk.md) `aws-chime-sdk` — aws
- [Amazon IVS](https://localhost:3000/catalogue/components/aws-ivs.md) `aws-ivs` — aws
- [AWS Elemental MediaPackage](https://localhost:3000/catalogue/components/aws-mediapackage.md) `aws-mediapackage` — aws
- [AWS Elemental MediaTailor](https://localhost:3000/catalogue/components/aws-mediatailor.md) `aws-mediatailor` — aws
- [Cloudflare MoQ](https://localhost:3000/catalogue/components/cloudflare-moq.md) `cloudflare-moq` — cloudflare
- [Cloudflare Realtime SFU](https://localhost:3000/catalogue/components/cloudflare-realtime-sfu.md) `cloudflare-realtime-sfu` — cloudflare
- [RealtimeKit](https://localhost:3000/catalogue/components/cloudflare-realtimekit.md) `cloudflare-realtimekit` — cloudflare
- [Cloudflare Realtime TURN](https://localhost:3000/catalogue/components/cloudflare-turn.md) `cloudflare-turn` — cloudflare
- [Agora](https://localhost:3000/catalogue/components/agora.md) `agora` — default
- [Ant Media Server](https://localhost:3000/catalogue/components/ant-media.md) `ant-media` — default
- [coturn](https://localhost:3000/catalogue/components/coturn.md) `coturn` — default
- [Daily](https://localhost:3000/catalogue/components/daily.md) `daily` — default
- [Icecast](https://localhost:3000/catalogue/components/icecast.md) `icecast` — default
- [Janus](https://localhost:3000/catalogue/components/janus.md) `janus` — default
- [Jitsi Videobridge](https://localhost:3000/catalogue/components/jitsi.md) `jitsi` — default
- [LiveKit](https://localhost:3000/catalogue/components/livekit.md) `livekit` — default
- [Generic media router](https://localhost:3000/catalogue/components/media-router.md) `media-router` — default
- [mediasoup](https://localhost:3000/catalogue/components/mediasoup.md) `mediasoup` — default
- [Red5](https://localhost:3000/catalogue/components/red5.md) `red5` — default
- [SRS](https://localhost:3000/catalogue/components/srs.md) `srs` — default
- [Twilio Video](https://localhost:3000/catalogue/components/twilio-video.md) `twilio-video` — default
- [Wowza Streaming Engine](https://localhost:3000/catalogue/components/wowza.md) `wowza` — default
- [Video Stitcher API](https://localhost:3000/catalogue/components/google-video-stitcher-api.md) `google-video-stitcher-api` — gcp

## Use it in a design

```yaml
nodes:
  - { id: "aws-mediaconnect", component: "aws-mediaconnect" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# AWS Elemental MediaConnect: live video transport that ingests a source into a flow and routes it
# to outputs and entitlements ("What is AWS Elemental MediaConnect?"). "Source failover on a
# MediaConnect flow" lists the source protocols and their failover support and states that a flow in
# Failover mode switches after 500 milliseconds without data; "Static key encryption in AWS
# Elemental MediaConnect" makes encryption an opt-in feature keyed from Secrets Manager.
schemaVersion: "1"
type: "component"
id: "aws-mediaconnect"
kind: "media-router"
provider: "aws"
docs: "https://docs.aws.amazon.com/mediaconnect/latest/ug/source-failover.html"
defaults:
  managed: true
  mode: "ingest"
properties:
  sourceProtocol:
    type: "enum"
    values:
      - "zixi-push"
      - "zixi-pull"
      - "rtp"
      - "rtp-fec"
      - "rist"
      - "srt-listener"
      - "srt-caller"
      - "cdi"
      - "st-2110-jpegxs"
      - "ndi-speed-hq"
  failoverMode:
    type: "enum"
    values: ["merge", "failover"]
  failoverSwitchMilliseconds:
    type: "integer"
    default: 500
  encryption:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/aws-mediaconnect
