Repository navigation
Dashboard
Upcoming: under construction. The web dashboard is being built and has no release yet. This page describes the design as planned, so details such as setting names may still change before the first release. Progress is tracked in #696.
outpace-dash will be a phone-first web dashboard for one or more Outpace engines. It is
developed in its own repository, outpace-stream/outpace-dash, and ships as its own container
image, ghcr.io/outpace-stream/outpace-dash. It is not built into the outpace binary: the
engine stays headless, and the dashboard talks to it over the engine's native HTTP API, like
the Android app does.
- Monitor. List every stream on an engine, whoever started it (a player, the CLI, Dispatcharr, a cast), with its state, viewers, peers, rates, buffer and live position, plus per-stream detail such as viewers, peers and history charts.
- Manage. Stop streams, start and play streams, search, run broadcasts, support sources, casting and managed HLS origins, and show network and engine information. It uses only the native API; the compatibility routes are not used.
- Play in the browser through the engine's HLS output. Streams whose codecs the browser can't play (AC3 or MPEG audio, usually HEVC) offer Copy URL, Open in VLC and Cast instead.
- Cover several engines. An "All engines" view merges streams and totals; a switcher scopes the whole dashboard to one engine.
Engine configuration is shown read-only. It stays in environment variables and config files; see Configuration.
The browser only ever talks to the dashboard. The dashboard's server forwards API calls, the live event feed and browser video to the engines listed in its config file, and only to native engine routes. So:
- engine URLs can be Docker service names such as
http://outpace:6878, and the engine can stay on a private network without publishing its HTTP port; - the engine needs no CORS or other new exposure for this default path. No engine default
changes:
OUTPACE_BINDstays on loopback, and the allowed host names check and cross-site refusal are unchanged. Single-label names likeoutpacealready pass the host check unlessOUTPACE_HOST_CHECK=strict, in which case add the name toOUTPACE_ALLOWED_HOSTS; - browser playback through the dashboard counts as a viewer on the engine, which sees the dashboard container as the viewer's address.
VLC, Kodi, Dispatcharr and casting keep using the engine directly.
When an engine is far from the dashboard host, for example on another site, relaying every
viewer's video through the dashboard costs a round trip and the dashboard host's bandwidth. A
planned per-engine "direct video" option will let the browser fetch HLS straight from the
engine's public_url instead, while API calls still go through the dashboard.
For this the engine has to allow the dashboard's origin to read its media routes. List the exact address you open the dashboard at:
OUTPACE_MEDIA_CORS_ORIGINS=https://dash.example.com- It is off by default and only covers reading video: playlists, segments and streams. JSON routes, control routes and the compatibility routes never get CORS headers. See Media CORS for direct video.
- The viewer's browser must reach the engine's
public_url. That URL can be a published reverse proxy in front of an engine that stays on a private Docker network. - A public engine name still needs
OUTPACE_ALLOWED_HOSTS, and a dashboard onhttps://needs the engine onhttps://too, usually through a reverse proxy. - The engine then sees each viewer's own address instead of the dashboard's.
The planned setup is a second service in the same Compose project as the engine's
compose.yml, added through a compose.override.yml next to it.
Until the dashboard's first release there is no image to pull; this sketch shows the intended
shape:
# compose.override.yml, next to the shipped compose.yml
services:
dash:
image: ghcr.io/outpace-stream/outpace-dash # pin a release once one exists
environment:
OUTPACE_DASH_ENGINE: http://outpace:6878
ports:
- "127.0.0.1:8080:8080"
depends_on:
- outpaceOUTPACE_DASH_ENGINE is the proposed shortcut for a single engine; it replaces the config file
below. Publishing 127.0.0.1:8080 keeps the dashboard on the host itself. Who else can reach it
is your choice of published address; read Exposure first.
For several engines, or to set display names, the dashboard reads a config file, proposed as
/config/dash.toml. Engines are listed only here: the dashboard has no screen for adding or
editing them, so a visitor can never point it at another address.
listen = "0.0.0.0:8080"
[[engine]]
id = "home" # used in dashboard paths: a-z, 0-9 and -
name = "Home server"
url = "http://outpace:6878" # what the dashboard server connects to
public_url = "http://192.168.1.10:6878" # optional: used by Copy URL and Open in VLC
[[engine]]
id = "tv-box"
name = "Living room TV box"
url = "http://192.168.1.20:6878"-
urlis resolved by the dashboard's server, not by the phone or browser, so Docker service names work. -
public_urlis the engine address handed to external players. Without it, Copy URL and Open in VLC can't give a URL that works outside the dashboard host. - The file is planned to reload on change without a restart. An invalid file keeps the last good configuration and is reported in the dashboard and its logs.
Mount it into the container, for example ./dash.toml:/config/dash.toml:ro.
The first stage of the dashboard has no authentication. Anyone who can reach the dashboard can, on every configured engine:
- stop any stream;
- start streams and broadcasts;
- cast to TVs;
- see viewers' IP addresses.
They can't add engines or change where the dashboard connects; that is only in the config file.
So treat the dashboard like the engine's own HTTP API (see Exposing the API safely): keep it on loopback or a trusted LAN, and put an authenticating reverse proxy in front of it if it must be reachable from anywhere else. Never publish it to the internet as is. Authentication is planned as a later stage.
These pages are generated from docs/wiki/ in the main repository and published both as the GitHub wiki and as the documentation site. To fix or improve a page, open a pull request there; both are republished automatically when it merges, and edits made in the wiki web UI are overwritten.
Start
Watching
Integrations
Publishing and peers
- Broadcasting
- Seeding and Peers
- Engine Camouflage
- NAT and Port Mapping
- Private Peer Mode
- Outbound Proxy
Running it
- Deployment
- Routers and Small Devices
- Migrating from AceStream Engine
- Support Sources and Operations
- Event Feed
- Dashboard
- Troubleshooting
- Releases and Versions
Success stories