INFRASTRUCTURE SHOWCASE

Metal Gear Speed Games Zero-Latency Restream Service

Low-latency SRT ingest with a WebRTC multi-view

Project Overview

This platform provides four low-latency SRT ingest slots for remote broadcasters. Hosts can read the original SRT feeds directly into OBS, while a separate browser-compatible path is created for the private WebRTC multi-view. It is used by MGSG as a real-time green room for races, showcases, commentary, and restreaming.

The Technology Stack

Docker Containerization

MediaMTX and Nginx run as Docker services so the deployment can be recreated from the repository with minimal manual setup.

MediaMTX & SRT

Broadcasters publish H.264/AAC feeds over SRT. MediaMTX authenticates publishers and hosts, then routes the original feeds to readers and the browser conversion path.

FFmpeg Transcoding

When a source becomes available, FFmpeg copies the H.264 video and converts AAC audio to Opus before republishing the browser-compatible feed.

Nginx & HTTPS Security

Nginx serves the website, handles HTTPS and Basic Auth, and reverse-proxies the private MediaMTX WebRTC HTTP interface and Control API.

Beautiful Frontend For Your Viewing Pleasure

The client-side UI uses lightweight JavaScript and checks the MediaMTX API to determine which browser feeds are currently available.

Author

Credits & Acknowledgments

Built With

A massive thank you to the developers and maintainers of the open-source tools and protocols that make this possible: