Getting Started
This page gets you from nothing to a playing stream as quickly as possible. For other platforms and options, see Installation.
You need:
- a public, unencrypted AceStream content id for a stream that is live right now;
- a player that can open an HTTP URL, such as VLC or mpv;
- a network that allows outbound TCP and UDP. Full-tunnel VPNs such as Cloudflare WARP can stop peer-to-peer traffic; turn them off while you test.
The examples use the placeholder id 0123456789abcdef0123456789abcdef01234567. Replace it with
your own.
Option A: run the container
docker run --rm --name outpace \
-p 127.0.0.1:6878:6878 \
-p 8621:8621/tcp \
-v outpace-data:/var/lib/outpace \
ghcr.io/outpace-stream/outpace-engine:1.2.1
127.0.0.1:6878publishes the HTTP API only on this machine. The API has no authentication, so don't publish it on all interfaces unless something else protects it.8621/tcpis the peer port. Publishing it lets other peers connect to you. You can leave it out; playback still works, you just won't accept inbound peers.- The
outpace-datavolume keeps the node identity between runs.
Option B: run the binary
Download the archive for your platform from the releases page, unpack it and run:
./outpace serve
With no command, outpace runs serve anyway. You should see a line like:
outpace: listening on http://127.0.0.1:6878 networks=["ace"]
Check that it's running
curl http://127.0.0.1:6878/healthz
# ok
curl http://127.0.0.1:6878/networks
# {"networks":["ace"]}
/healthz only proves that the process is up. It says nothing about peers or media.
Play a stream
Open the native playback URL in your player:
vlc "http://127.0.0.1:6878/streams/ace/0123456789abcdef0123456789abcdef01234567"
# or
mpv "http://127.0.0.1:6878/streams/ace/0123456789abcdef0123456789abcdef01234567"
For HLS, add .m3u8:
http://127.0.0.1:6878/streams/ace/0123456789abcdef0123456789abcdef01234567.m3u8
Expect a delay before the picture
Outpace deliberately buffers before it sends the first byte, so playback rides out swarm hiccups:
- it collects up to 30 seconds of media, waiting no more than 15 seconds after the first media byte arrives. Gaps in the source don't restart that clock;
- HLS also waits until six segments are ready. If that doesn't happen within 45 seconds it
returns HTTP
503, and most players retry.
Peer discovery comes first, so a cold start often takes 20–60 seconds. You can shorten the wait; see HLS Output and Configuration.
See what it's doing
While the player is open, in another terminal:
curl http://127.0.0.1:6878/streams
curl http://127.0.0.1:6878/streams/ace/cid:0123456789abcdef0123456789abcdef01234567/status
The status shows connected peers, the measured bitrate and how much media the server has queued. Closing the player releases the stream about 30 seconds later. To stop it at once:
curl -X DELETE http://127.0.0.1:6878/streams/ace/0123456789abcdef0123456789abcdef01234567
Play from the command line
outpace play writes the stream to standard output without running a server:
outpace play acestream://0123456789abcdef0123456789abcdef01234567 | mpv -
outpace play acestream://0123456789abcdef0123456789abcdef01234567 > recording.ts
Need an app to work, not just a player?
Apps and add-ons written for the original engine call /ace/getstream and /server/api. Outpace
serves those routes on the same port. For v1.2.1, recreate the container above with
-e OUTPACE_ACE_COMPAT=1 before the image name. For a native install, set
OUTPACE_ACE_COMPAT=1 in the daemon environment and restart it. The routes are on
by default in builds after v1.2.1. Then try:
vlc "http://127.0.0.1:6878/ace/getstream?id=0123456789abcdef0123456789abcdef01234567"
curl "http://127.0.0.1:6878/server/api?method=get_version"
If you only use the native URLs and don't want these routes, start Outpace with
OUTPACE_ACE_COMPAT=0.
See Playing Streams.
If it doesn't play
statusshowspeers: 0for a long time: the channel may be offline, or your network blocks peer traffic. Try another stream and turn off VPNs.- HLS returns
503: the stream didn't produce enough segments within the startup timeout. 422with a reason: the id couldn't be resolved to a stream Outpace can play.- The stream's
statusshows aphase(resolving,connecting,buffering,playing) and, after a failed start, anerror.codesuch asno_peers. See Playing Streams.
Troubleshooting covers these and more.
Next steps
- Deployment: run it permanently with Compose or systemd.
- Configuration: every setting.
- Seeding and Peers: what the peer port does and how to run download-only.
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.