Upgrade
If you have an existing MediaMTX installation, you can upgrade it to the latest version. The procedure depends on how MediaMTX was installed.
Standalone binary
The standalone binary comes with a upgrade utility that can be launched with:
./mediamtx --upgradeThis will replace the MediaMTX executable with its latest version. Privileges to write to the executable location are required.
Docker image
Stop and remove the container:
docker stop id-of-mediamtx-container
docker rm id-of-mediamtx-containerRemove the MediaMTX image from cache:
docker rm bluenviron/mediamtx:1Then recreate the container as described in Install.
Arch Linux package
Repeat the installation procedure.
FreeBSD
Repeat the installation procedure.
OpenWrt binary
If the architecture of the OpenWrt device is amd64, armv6, armv7 or arm64, you can use the standalone binary method.
Otherwise, recompile the server from source.