services.mediamtx.settings
Settings for MediaMTX. Refer to the defaults at https://github.com/bluenviron/mediamtx/blob/main/mediamtx.yml.
- Type
YAML 1.1 value- Default
{ }- Example
{ paths = { cam = { runOnInit = "\${lib.getExe pkgs.ffmpeg} -f v4l2 -i /dev/video0 -f rtsp rtsp://localhost:$RTSP_PORT/$RTSP_PATH"; runOnInitRestart = true; }; }; }- Declared
- <nixpkgs/nixos/modules/services/video/mediamtx.nix>