sudo apt-get install snapd

snap install mediamtx

snap install --candidate mediamtx



docker run --rm -it --network=host bluenviron/mediamtx:latest