Open the stream with WebRTC or HLS in any modern browser, on a laptop or a phone, without plugins or a separate server.
One camera, any viewer
MediaMTX is a popular open-source media server. This app runs it on the camera, with a web interface so you never need a terminal.
Republish the camera on a stream name you choose, for an NVR, Home Assistant, VLC or anything else that speaks RTSP.
Pick the day on the recordings timeline, click the moment you want, drag to select a range, and download it as an MP4.
Video comes in, MediaMTX shares it out
MediaMTX sits on the camera between the video and everyone who wants to watch it. It can also record what passes through.
Video sources
MediaMTX, on the camera
Who watches
Out of the box no stream is set up yet. The settings page includes ready-made examples: uncomment the one for this camera, enter a camera account, and save.
This is the real web interface
The same pages that run on the camera, filled with sample recordings and streams. Switch between them below.
Everything in the browser
Every common format
RTSP for software and NVRs, WebRTC for low-latency browser viewing, HLS for everything else. RTMP and SRT are available when you need them.
Settings editor built in
Edit the MediaMTX configuration in the browser with syntax highlighting, then save and restart. No SSH needed.
Recordings timeline
See each day's recordings on a 24-hour bar, click to play from any moment, and export a selection as MP4.
Hard to break
Every save keeps a backup, and the page warns you if a new configuration stops MediaMTX from starting.
Survives upgrades
Your configuration is kept when you install a new version.
No root, fewer open ports
Runs as a normal app without root. RTMP, SRT and other extras stay off until you turn them on.
Get MediaMTX for Axis
Free and open source. Pick the package for your camera's processor.
MediaMTX for Axis
Latest release on GitHub| AXIS OS | 11 to 13 (verified on 13) |
|---|---|
| Processor | AARCH64 · ARMv7 |
| Recording | Needs an SD card, or a recorder's internal disk |
| Root access | Not required |
Not sure which package? Most recent Axis cameras use AARCH64. If the camera refuses to install it, use ARMv7 instead.
Up and running in a few minutes
Good to know
Can I watch from outside my home or office network?
Yes, if the viewer can reach the camera. The simplest safe way is a VPN app on the camera, such as Tailscale, rather than opening ports on your router.
Is it secure?
The settings and recordings pages use the camera's own admin login. The media ports and MediaMTX's control interface don't, so keep the camera on a trusted network or behind a firewall.
Will recordings survive a reboot?
Yes, when they're stored on the SD card or disk. The settings include the right location for both; the README explains how to check it.
Will an update wipe my settings?
No. Your configuration is stored separately and kept when you install a new version. Uninstalling the app does remove it, along with its recordings.
Did you make MediaMTX?
No. MediaMTX is developed by the bluenviron project. This app packages it for Axis cameras and adds the web pages.