Skip to content

v0.2.0 — first production release

Latest

Choose a tag to compare

@Zafeeruddin Zafeeruddin released this 30 Aug 15:48
· 26 commits to master since this release

First production release. Running for its first customer since 30 Aug 2026.

Most of what is below is fixes rather than features, and deliberately so — this
is the release where the product met a real network, a real gateway and a real
set of cameras, and learned what it had been getting away with.

Added

  • Roles — superadmin, admin, viewer. Viewers get Cameras and Recordings and
    nothing else; the other sections are absent rather than disabled.
  • Hardware transcoding — H.265 previews re-encode on NVENC/NVDEC when a card
    is visible to the agent, on libx264 otherwise. Frames stay on the card between
    decode and encode.
  • A capacity budget — a share of the machine, converted to a number of
    concurrent transcodes. Streams past it are refused with a message naming the
    limit, because a machine admitted past capacity does not fail cleanly: it
    stutters across every stream at once and reads like a network problem.
  • Camera IDs, separate from names, in the form, in pasted lists and in CSV.
  • Deleting recordings and connection profiles, each refusing with a reason
    when something still depends on them.
  • Downloads named for the camera, moment and source in UTC, instead of a
    folder full of session.mp4.
  • A production runbook with measured resource numbers — deploy/production.md.
  • Container images for all three services, and a compose file that pulls rather
    than builds.

Fixed

  • Credentials were percent-encoded twice, so a password an NVR exported as
    CTC2.5%2B%2B reached the camera as the literal text and was refused — a
    credentials error for credentials that were correct.
  • A pasted leading space in a VPN username, invisible in a form field,
    reported by the gateway as "check the username and password".
  • Recordings could strand in finalizing for ever: upload_file raises
    S3UploadFailedError, which is neither ClientError nor BotoCoreError.
  • A shared preview died when one viewer left — claims were keyed by user, so
    one browser's two mounts cancelled each other out.
  • health() reported a tunnel that was never dialled: tunl0 is a kernel
    placeholder in every namespace and its name starts with tun.
  • Creating a namespace needs SYS_ADMIN and an AppArmor exemption, not just
    NET_ADMIN. Both now documented with the error each produces when missing.
  • A stale SSH control socket made ssh silently disable multiplexing, so the
    dial succeeded and every later forward was refused.

Changed

  • Preview starts in about 5 seconds instead of 20. MediaMTX no longer
    advertises ICE candidates no browser can reach, and ffmpeg no longer spends
    five seconds analysing a live stream whose shape it already knows.
  • DATABASE_URL is derived from POSTGRES_* rather than being a second copy of
    the same password.
  • MediaMTX is pinned — latest moved a running deployment from 1.16 to 1.20 on
    an ordinary restart.

Still 0.x on purpose: the schema has no migrations yet, so a release can
require a rebuild rather than an upgrade. 1.0.0 is the version that promises
otherwise.

Full detail in CHANGELOG.md.