# MediaMTX

[BASE product page](<https://base.akulich.dev/en/library/mediamtx/>) · [Resource](<https://mediamtx.org>)

ID: mediamtx · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A media server and realtime stream router: connects RTSP, RTMP, SRT, WebRTC, and HLS, with video and audio recording and reading\.

## Type

Media streaming server

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/mediamtx/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/mediamtx/#resource-access>)

The open source component used locally or self\-hosted for the stated workflow, within its license terms\.

## [Paid features and costs](<https://base.akulich.dev/en/library/mediamtx/#resource-access>)

Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected\.

## [Access and limitations](<https://base.akulich.dev/en/library/mediamtx/#resource-access>)

Code licensing and hosting costs are separate matters\. Check the conditions for the specific version and edition\.

## [Use cases](<https://base.akulich.dev/en/library/mediamtx/#resource-tasks>)

- Embed a live stream in a web app
- Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection

## Category IDs

- video
- backend

## Subcategory IDs

- video\.streaming
- backend\.realtime

## Tags

- MediaMTX
- Media streaming server

## [Selection purpose](<https://base.akulich.dev/en/library/mediamtx/#resource-selection>)

Embed a live stream in a web app

## [Choose this when](<https://base.akulich.dev/en/library/mediamtx/#resource-selection>)

- Embed a live stream in a web app
- Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection

## [Requirements](<https://base.akulich.dev/en/library/mediamtx/#resource-selection>)

- Choose protocol/path, authentication, and recording format for your producer and reader\.

## [Limitations](<https://base.akulich.dev/en/library/mediamtx/#resource-selection>)

- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.
- Terms of use: MIT
- Automatic protocol conversion does not guarantee compatibility with every codec and client: check the current codec matrix and playback method for the chosen pair\.

## [Questions before use](<https://base.akulich.dev/en/library/mediamtx/#resource-faq>)

### What can you use for free in MediaMTX?

The openly available portion, used locally or self\-hosted for the stated use case within its license terms\.

### What additional costs might arise with MediaMTX?

Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.

### What terms of use matter for MediaMTX?

MIT

### How do you get started with MediaMTX?

Set up MediaMTX to test: A test video source and browser client\. Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection\. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

### What does MediaMTX handle beyond live stream transmission?

One zero\-dependency binary for Linux, Windows, and macOS can receive, read, proxy, record, and replay streams\. Recordings are saved as fMP4 or MPEG\-TS; features include multiple paths, hot reload without disconnecting clients, internal/HTTP/JWT authentication, Control API, Prometheus metrics, and hooks for publish/read/connect/disconnect events\.

## Sources for the selection guide

- [https://mediamtx\.org](<https://mediamtx.org>)
- [https://raw\.githubusercontent\.com/bluenviron/mediamtx/main/README\.md](<https://raw.githubusercontent.com/bluenviron/mediamtx/main/README.md>)
- [https://raw\.githubusercontent\.com/bluenviron/mediamtx/main/LICENSE](<https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE>)
- [https://github\.com/bluenviron/mediamtx](<https://github.com/bluenviron/mediamtx>)
- [https://raw\.githubusercontent\.com/bluenviron/mediamtx/HEAD/README\.md](<https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/bluenviron/mediamtx/HEAD/LICENSE](<https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/mediamtx/#resource-scenario>)

Embed a live stream in a web app

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A test video source and browser client\.
- A test project and completion criteria for the task: Embed a live stream in a web app\.

## Steps

1. Set up MediaMTX to test: A test video source and browser client\.
2. Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection\.
3. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

## Check your result

- Publishing and viewing authorization are separate; latency is measured on target devices\.
- Check the result against a reference example; separately confirm the terms of any assets and external services used\.

## [License](<https://base.akulich.dev/en/library/mediamtx/#resource-license>)

MIT

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/mediamtx/#resource-sources>)

- [Official website](<https://mediamtx.org>)
- [Project documentation](<https://raw.githubusercontent.com/bluenviron/mediamtx/main/README.md>)
- [License for the selected component](<https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE>)
- [Source code](<https://github.com/bluenviron/mediamtx>)
- [Official source](<https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/README.md>)
- [Official source](<https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose and published conditions were reviewed against primary sources on 06\.10\.2026\. The software was not installed, and quality and performance in a specific environment were not tested\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
