#! /bin/bash

set -eux

# Get mediamtx (no system package available)
mkdir -p mediamtx
pushd mediamtx
    wget https://github.com/aler9/mediamtx/releases/download/v0.22.2/mediamtx_v0.22.2_linux_amd64.tar.gz
    tar -xzvf mediamtx_v0.22.2_linux_amd64.tar.gz
popd