Skip to content

The panel

The panel lives at /admin on the same port as playback, like http://192.0.2.10:8080/admin. It runs on the same API your scripts use, so anything you do in it you can automate later.

A bar at the top of every page shows what’s live, how many people are watching and how much bandwidth goes in and out, so you always know how things are going at a glance.

  • Overview charts viewers and bandwidth as far back as the usage history goes, plus your most watched streams and the ones that should be live but aren’t.
  • Streams lists every stream in the config plus the ones publishing through a template right now. New stream creates one that waits for an encoder or copies another stream.
  • Stream pages open with a live preview right in the browser (LL-HLS when it can, muted until you say otherwise), the stream’s live numbers, its tracks, a chart and everyone watching it. The Settings tab changes the stream, and delete sits safely at the bottom of it.
  • Templates lists your templates and lets admins add, change and remove them.
  • Users is where admins manage who can log in.
  • Settings lists every setting with what’s in effect, its default and a short explanation, grouped the same way as the config reference. Change a few, check them and save, only what you changed ends up in the file.
  • Config gives admins a real editor for nyquist.toml: highlighting, line numbers, search and checks while you type. Saving shows you a diff first, warns you about anything that could lock you out, and never overwrites changes someone else made in the meantime.
  • Server shows the version, uptime and listeners, and has the Reload config file button for edits you made by hand.

When a change waits for a restart, a banner names the sections involved until you restart Nyquist. Editing the config explains which ones.

Viewers see every page except Users and Config, and can’t change anything. Admins can do it all. Everybody can switch between light and dark, and change their own password.

The panel links to these docs. Running your own copy of the docs, or rather not show the link at all? Set docs_url in [panel], an empty value hides it.

Stream pages update every couple of seconds and everything else a little less often. If you watch lots of streams from lots of browsers, slow them down with stream_refresh and server_refresh.

Don’t need the panel? Set enabled to false in [panel]. /admin answers 404 from then on, and the API keeps working.

The panel gets baked into the Nyquist binary when you build it, as long as you built the panel first. Getting started shows the commands, and Contributing explains how to work on it.