MediaMTX

on your own machine

MediaMTX is a media server that takes live video and audio over RTSP, RTMP, SRT or WebRTC and serves it to viewers over all of them and HLS. The egg sets it up so anyone can watch, and only the publish user, with a password made at install, can send streams.

$12 a month per machine, with as many servers as it can run. Already on Raptor? It's in your team's Eggs, as software/mediamtx.

What Raptor does for it

Backups
Incremental and encrypted on your machine, every day by default. Restore one file or the whole server.
Runs on
x86 and ARM machines, on Raptor's Debian image.
Every server
A live console, a file manager with a trash, schedules, crash restarts, alerts, and SFTP. It keeps running if Raptor goes down.

Settings you can change

From the server's Startup tab, without touching a file.

Version
The MediaMTX version to install, such as 1.21.4, or latest.Default latest
RTMP port
The port OBS and other RTMP software publish to and read from. Add it to the server's ports first.Default 1935
HLS port
The web port that serves streams to browsers over HLS. Add it to the server's ports first.Default 8888
WebRTC port
The web port for WebRTC viewers and publishers (TCP). Add it to the server's ports first.Default 8889
WebRTC media port
The UDP port WebRTC sends media over. Add it to the server's ports first.Default 8189
SRT port
The UDP port for SRT publishers and readers. Add it to the server's ports first.Default 8890

From a bare machine

  1. Link your machine

    One command on any Debian or Ubuntu box, at home or rented.

  2. Pick MediaMTX

    Raptor installs it and starts it, on images it keeps updated.

  3. Open it

    At an address your machine comes with, or your own domain.

Made by Raptor and MIT-licensed. Written for Raptor from MediaMTX's own documentation (https://github.com/bluenviron/mediamtx) Icon: the MediaMTX logo, the bluenviron avatar from https://github.com/bluenviron. The egg's source.

More apps

All 99 apps