{"schemaVersion":1,"id":"mediamtx","name":"MediaMTX","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/mediamtx/","officialUrl":"https://mediamtx.org","isCatalog":false,"description":"A media server and realtime stream router: connects RTSP, RTMP, SRT, WebRTC, and HLS, with video and audio recording and reading.","tasks":["Embed a live stream in a web app","Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection"],"categoryIds":["video","backend"],"subcategoryIds":["video.streaming","backend.realtime"],"tags":["MediaMTX","Media streaming server"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"MIT","selectionGuide":{"purpose":"Embed a live stream in a web app","chooseWhen":["Embed a live stream in a web app","Publish a stream, read it through WebRTC or HLS, and check recovery after a disconnection"],"considerInstead":[],"requirements":["Choose protocol/path, authentication, and recording format for your producer and reader."],"limitations":["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."],"faq":[{"question":"What can you use for free in MediaMTX?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with MediaMTX?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for MediaMTX?","answer":"MIT"},{"question":"How do you get started with MediaMTX?","answer":"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."},{"question":"What does MediaMTX handle beyond live stream transmission?","answer":"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."}],"related":[],"sources":["https://mediamtx.org","https://raw.githubusercontent.com/bluenviron/mediamtx/main/README.md","https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE","https://github.com/bluenviron/mediamtx","https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/README.md","https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Embed a live stream in a web app","inputs":["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":["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."],"checks":["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."]},"sources":["https://mediamtx.org","https://raw.githubusercontent.com/bluenviron/mediamtx/main/README.md","https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE","https://github.com/bluenviron/mediamtx","https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/README.md","https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Media streaming server","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://mediamtx.org","label":"Official website"},{"url":"https://raw.githubusercontent.com/bluenviron/mediamtx/main/README.md","label":"Project documentation"},{"url":"https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE","label":"License for the selected component"},{"url":"https://github.com/bluenviron/mediamtx","label":"Source code"},{"url":"https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/bluenviron/mediamtx/HEAD/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"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.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}