mediamtx
real-time media server and proxy that supports multiple streaming protocols
TLDR
Run MediaMTX
SYNOPSIS
mediamtx [configfile_]
DESCRIPTION
MediaMTX (formerly rtsp-simple-server) is a real-time media server and proxy that supports multiple streaming protocols. It can receive, transcode, and redistribute video/audio streams from various sources.
Supported protocols include RTSP, RTMP, HLS, WebRTC, and SRT. The server can act as a proxy for IP cameras, a restreaming hub, or a recording server. It handles on-demand stream publishing and automatic reconnection.
Configuration is done via a YAML file specifying paths, authentication, encryption, and protocol-specific settings. Without a config file, default settings are used.
PARAMETERS
_config_file_
Path to a YAML configuration file (optional; uses defaults if not specified)
CAVEATS
Requires appropriate network ports to be available (default: 8554 for RTSP, 1935 for RTMP, 8888 for HLS). Firewall rules may need adjustment for external access. Performance depends on available CPU for transcoding operations.
