Skip to content

Introduction

Nyquist is a super fast, open-source media streaming server built in Rust! It takes your live video, repackages it and delivers it to lots of viewers at the same time. It’s made for IPTV and OTT operators, live events and VOD.

New to streaming servers? Here’s the whole picture in four steps:

  1. An encoder publishes a stream. OBS, FFmpeg or a hardware encoder sends live video to Nyquist over RTMP or SRT. The video goes into a stream, which is just a name like live/demo.
  2. Nyquist repackages it. It cuts the video into small pieces and writes the playlists players need, for every format at once.
  3. Players watch it. Browsers, phones, smart TVs, set top boxes and apps like VLC ask Nyquist for the stream over HTTP, using HLS, LL-HLS, DASH or MPEG-TS.
  4. You keep an eye on things. The panel and the API show who’s publishing, who’s watching and how much bandwidth goes in and out.

A few words you’ll see a lot in these docs:

Word What it means
Stream A named channel, like news/channel_one. One source at a time feeds it, any number of viewers watch it.
Publisher Whatever is sending video into a stream right now, an encoder or a source Nyquist pulls.
Source Where a stream gets its video from. Most of the time that’s an encoder publishing to it, but Nyquist can also pull it, copy another stream or make up a test card, with backups that take over on their own.
Template A rule that lets every stream under a prefix, like events/, publish without setting each one up.
Viewer A player watching a stream. Nyquist counts each one as a playback session.
Segment A short piece of video, a couple of seconds long. HLS and DASH players download them one after another.
Playlist The list of segments a player reads. HLS calls it a playlist, DASH calls it a manifest.
  • Publishing over RTMP and SRT, with an optional password for each stream and templates for whole groups of streams. See Publishing.
  • Sources and backups: pulls over RTMP, SRT, HLS, HTTP and UDP, copies that share the exact same frames, a built-in test card, and backups that take over when the main source fails. See Sources.
  • Playback over HLS, LL-HLS, DASH and MPEG-TS over HTTP, all from the same stream. See Playback.
  • Viewer counting for every protocol, with a short history of viewers and bitrates. See Viewers and analytics.
  • A web panel at /admin with live previews, charts, a config editor and every setting. See The panel.
  • A REST API with an OpenAPI document, plus Prometheus metrics at /metrics. See The API.
  • One config file that keeps your comments, checks itself before saving and applies most changes without a restart. See Editing the config.

Video comes in as H.264 with AAC audio for now, more codecs are on the way.

  • Ingest: RTMPS and WebRTC (WHIP).
  • Delivery: HLS, LL-HLS, DASH and CMAF, MPEG-TS over HTTP, SRT and WebRTC (WHEP).
  • Restreaming: push to SRT and RTMP(S) destinations like social platforms, CDNs and partners.
  • Transcoding: GPU powered (NVIDIA NVENC first, then Intel QSV and VAAPI) in isolated worker processes, with ABR ladders and fallback video when a source drops.
  • Access control: tokens, IP rules, HTTP auth backends and per user session limits.
  • VOD: on the fly HLS and DASH from MP4 files on local or mounted storage.
  • Operations: a single binary, Docker images and everything you can already do in the panel and the API.
  • Performance: zero copy fan out, memory safe protocol parsing and no garbage collector pauses.

Ready to try it? Getting started walks you from a fresh checkout to watching your first stream in a few minutes.