Linux command
mediamtx 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run
mediamtx
Example
mediamtx [path/to/config.yml]
Example
systemctl start mediamtx
说明
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.
参数
- _config_file_
- Path to a YAML configuration file (optional; uses defaults if not specified)
FAQ
What is the mediamtx command used for?
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.
How do I run a basic mediamtx example?
Run `mediamtx` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does _config_file_ do in mediamtx?
Path to a YAML configuration file (optional; uses defaults if not specified)