mediamtx-server

Deploy a multi-protocol MediaMTX server supporting RTSP, RTMP, HLS, WebRTC, and SRT.

15|4|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/damionrashford/media-os --skill mediamtx-server
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mediamtx-server
Source: https://github.com/damionrashford/media-os/tree/main/skills/mediamtx-server
Command: npx skills add https://github.com/damionrashford/media-os --skill mediamtx-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Media workflows often require multiple servers/tools to support RTSP/RTMP/HLS/WebRTC/SRT, causing complexity and maintenance overhead. This Skill provides a single, all‑protocol MediaMTX server that centralizes streaming, recording, and control.

Core Features & Use Cases

  • All-in-one media server: RTSP/RTSPs, RTMP/RTMPS, HLS/LL-HLS, WebRTC (WHIP/WHEP), SRT with on-demand remuxing.
  • Easy management: start/stop/reload via a CLI, control API, and optional auth.
  • Docker-ready deployment for self-hosted streaming, recording to disk, and multi-path workflows.

Quick Start

Install the mediamtx binary, write a starter mediamtx.yml, and start the server to serve multi-protocol streams.

Frequently Asked Questions about mediamtx-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a single media server that supports RTSP, HLS, and WebRTC simultaneously?▼

You can deploy a multi-protocol media server using a single binary that handles RTSP, RTMP, HLS, LL-HLS, WebRTC, and SRT. This approach centralizes live publishing, on-demand playback, and recording into one compact server.

What is the best way to reduce complexity when managing multiple streaming protocols?▼

Using an all-in-one media server eliminates the need for multiple servers and tools. It centralizes streaming, recording, and control by supporting RTSP, RTMP, HLS, WebRTC, and SRT with on-demand remuxing in one deployment.

Can I manage my streaming server workflow using a CLI and Docker?▼

Yes, the media server is Docker-ready and includes a CLI-driven management workflow via mtxctl.py. You can start, stop, and reload the server, and use a configurable API for control with optional authentication.

Does MediaMTX support WebRTC WHIP and WHEP endpoints for live streaming?▼

MediaMTX supports WebRTC streaming using both WHIP and WHEP endpoints. This allows broadcasters to publish and play live streams directly in web browsers without requiring additional plugins.

How do I configure a self-hosted streaming server for recording to disk?▼

You install the server binary, write a starter mediamtx.yml configuration file, and start the server. This setup enables self-hosted streaming and recording to disk for multi-path workflows.

Can I use SRT and RTMP protocols together in one streaming server deployment?▼

Yes, the server supports SRT and RTMP/RTMPS protocols simultaneously. It automatically remuxes streams on demand, allowing you to publish with SRT and distribute via RTMP or HLS within the same server.