Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environment Variables

Every OUTPACE_* variable the daemon reads, A to Z. Each name links to its topic on the Configuration page, which explains accepted values, validation and when to change it. See Command Line for commands and flags.

Restart the daemon after any change. Booleans accept exactly 1, true, 0 or false. Variables marked "exact 1" turn on only for the string 1. Avail. says where a variable is available: all means every release (v1.0.0 and later); 1.1.0 means v1.1.0 and later (also in edge and builds from main); 1.2.0 means v1.2.0 and later (also in edge and builds from main); edge means current main and the edge image, not yet in a numbered release; srt build requires the optional srt feature. See Releases and Versions for publication status.

VariableDefaultAvail.Purpose
OUTPACE_ACE_COMPATtrueallServe the AceStream-compatible /ace/* and /server/api routes. Set 0 to turn them off. The default was false through v1.2.1.
OUTPACE_COMPAT_ACESTREAM_SERVICESfalseallSeparate opt-in for external stream-name search.
OUTPACE_ACE_PEERSunsetallExtra bootstrap peers, as IPv4:port separated by commas.
OUTPACE_ACESTREAM_IDENTITYfalse1.1.0Present the official engine's identity on the public network.
OUTPACE_ACESTREAM_IDENTITY_ASNlooked up1.1.0Autonomous system number. Set together with the country.
OUTPACE_ACESTREAM_IDENTITY_COUNTRYlooked up1.1.0ISO country code. Set together with the ASN.
OUTPACE_ACESTREAM_IDENTITY_DEVICE_IDrandom, saved1.1.040-hex device id. Saved under the data directory when unset.
OUTPACE_ACESTREAM_IDENTITY_HARDWARE_KEYfrom this host1.1.040-hex hardware key. Required where memory size can't be read.
OUTPACE_ACESTREAM_IDENTITY_PLATFORMlinux1.1.0Claimed platform. Only linux is accepted.
OUTPACE_ACESTREAM_IDENTITY_USER_AGENTengine UA1.1.0User-Agent for search and AceStream web hosts.
OUTPACE_ACESTREAM_IDENTITY_VERSION3.2.111.1.0Claimed engine version, X.Y.Z.
OUTPACE_ALLOW_NON_GLOBAL_BROADCAST_SOURCEoffallExact 1: allow private and loopback broadcast pull sources.
OUTPACE_ALLOW_NON_GLOBAL_TRANSPORToffallExact 1: allow transport-file URLs on private hosts.
OUTPACE_BEP9_CONTENT_ID_FALLBACKfalseallResolve content ids from peer metadata when the catalog fails.
OUTPACE_BIND127.0.0.1:6878allHTTP API address. The container sets 0.0.0.0:6878. Casting needs a LAN address.
OUTPACE_BROADCAST_OPTIONS{}allPer-broadcast metadata profiles (JSON).
OUTPACE_BROADCAST_CATALOG_REGISTERfalseedgeRegister public broadcasts with the AceStream catalog.
OUTPACE_BROADCAST_SOURCES{}allHTTP(S) MPEG-TS pull sources started at boot (JSON). Treat as a secret.
OUTPACE_CACHE_DIR<data dir>/cacheallDisk-cache root. Wiped at startup.
OUTPACE_CACHE_TYPEmemoryallWhere seeding pieces are kept: memory or disk.
OUTPACE_DATA_DIRplatform data dir + outpaceallIdentity and broadcast state. The container uses /var/lib/outpace.
OUTPACE_ENABLE_CASTfalse1.2.0Add the /cast/* routes for DLNA/UPnP renderers. Needs a LAN OUTPACE_BIND.
OUTPACE_ENABLE_INBOUNDtrueallAccept inbound peers and announce to trackers and the DHT.
OUTPACE_ENABLE_PORT_MAPPINGfalseallAsk the router to open the peer port with UPnP or NAT-PMP.
OUTPACE_ENABLE_SEEDINGtrueallUpload to the peers you download from.
OUTPACE_EXPERIMENTAL_ACE_COMPATunsetallDeprecated name for OUTPACE_ACE_COMPAT.
OUTPACE_FFMPEG_PATHffmpegallFFmpeg executable, used only for audio normalisation.
OUTPACE_HISTORY_BYTES128 MiBallTimeshift memory per source.
OUTPACE_HISTORY_SECONDS0 (off)allHow far back viewers can rewind, up to 3600 seconds.
OUTPACE_HISTORY_TOTAL_BYTES256 MiBallTimeshift memory shared by all sources.
OUTPACE_HLS_AUDIO_NORMALIZEfalseallConvert AC3 and MPEG audio to AAC for live HLS.
OUTPACE_HLS_SEGMENT_DURATION_MS5000allTarget HLS segment length.
OUTPACE_HLS_SEGMENT_PACKETS65536allSize ceiling per segment, in 188-byte packets.
OUTPACE_HLS_STARTUP_SEGMENTS6allSegments ready before the first playlist is returned.
OUTPACE_HLS_STARTUP_TIMEOUT_MS45000allHLS startup wait before answering 503.
OUTPACE_HLS_WINDOW_SEGMENTS8allSegments kept in the live playlist.
OUTPACE_LIVE_AUDIO_NORMALIZEfalseallConvert audio once per source, for TS and HLS.
OUTPACE_MANAGED_HLSfalseallRelay HLS-origin descriptors locally instead of redirecting players.
OUTPACE_MAX_ACTIVE_UPSTREAMS4allPeers one stream downloads from at once.
OUTPACE_MAX_INBOUND64allTotal inbound peer connections.
OUTPACE_MAX_INBOUND_PER_STREAM16allInbound connections per stream. 0 means no per-stream cap.
OUTPACE_MAX_PARALLEL_CONNECT12allPeers dialled at once while searching.
OUTPACE_MAX_PIECE_ADVANCE256allPieces scheduled in one forward step.
OUTPACE_MAX_REASM_PIECES_AHEAD512allPieces accepted ahead of the playback cursor.
OUTPACE_MAX_SESSIONS0 (unlimited)allCap on concurrent sources.
OUTPACE_MAX_UNCHOKED8allStable desired unchoke count per stream, plus one rotating optimistic peer. 0 still selects one optimistic peer; this is not an instantaneous wire-visible cap.
OUTPACE_METRICSfalseallServe Prometheus metrics at GET /metrics.
OUTPACE_PEER_LISTEN0.0.0.0:8621allTCP peer listener. Its port is also the announced port.
OUTPACE_PORT_MAP_BACKENDautoallauto, upnp, natpmp or none.
OUTPACE_PORT_MAP_EXTERNAL_PORTthe peer portallExternal port to request from the router.
OUTPACE_PREBUFFER_BYTES128 MiBallCap on the startup buffer.
OUTPACE_PREBUFFER_MS30000allMedia to collect before playback starts. 0 disables it.
OUTPACE_PREBUFFER_TIMEOUT_MS15000allLongest startup wait after the first media byte.
OUTPACE_PREFETCH_PIECESautomaticallPieces behind the live edge to start at.
OUTPACE_PRIVATE_DESCRIPTORSunsetallLocal descriptor files, as an alias-to-path JSON object.
OUTPACE_PRIVATE_PEERSunsetallAllowlist that switches on private peer mode.
OUTPACE_PROXYunset1.2.0SOCKS5 proxy for peer, tracker and catalog connections, socks5://[user:password@]host:port. Treat as a secret when it has credentials.
OUTPACE_PROXY_MODEoff1.2.0off, on or fallback (proxy only after a live start finds no peers).
OUTPACE_REQUEST_CHECK_INTERVAL_MS1000allHow often outstanding piece requests are checked.
OUTPACE_REQUEST_TIMEOUT_MS1500allWait for a piece before asking another peer.
OUTPACE_RTMP_BIND127.0.0.1:1935allRTMP ingest address. The container sets 0.0.0.0:1935.
OUTPACE_SEED_DEBUGunsetallLog every inbound seeding message. Very verbose.
OUTPACE_SEED_RETENTION_SECS45allSeconds of recent pieces kept per live stream.
OUTPACE_SEED_STORE_BYTES128 MiBallCeiling on retained pieces per stream.
OUTPACE_SEED_TTL_SECS300allSafety net that frees seeding data nothing owns.
OUTPACE_SESSION_BUFFER256allPer-viewer fan-out queue depth.
OUTPACE_SRT_BINDunset (off)srt buildSRT ingest address (UDP).
OUTPACE_SRT_LATENCY_MS120srt buildSRT receiver latency, 20–2000 ms.
OUTPACE_SRT_MAX_CONNECTIONS4srt buildSimultaneous SRT connections, 1–16.
OUTPACE_SRT_PASSPHRASE_FILEunsetsrt buildSRT passphrase file. Required with OUTPACE_SRT_BIND.
OUTPACE_STALE_UPSTREAM_TIMEOUT_MS12000allRebuild the peer pool after this long without progress.
OUTPACE_SUPPORT_SOURCESunset (off)allStreams kept running and seeding with no viewer (JSON).
OUTPACE_TRACKER_ALLOW_NON_GLOBALoffallExact 1: allow announcing to trackers on private addresses.
OUTPACE_TRACKERSbuilt-in public trackerallTrackers written into new broadcasts.
OUTPACE_VOD_DISK_RESERVE_BYTES256 MiB1.2.0Free space a disk-cached VOD download must leave.

Variables named OUTPACE_TEST_*, OUTPACE_DHT_COMPARE_* or OUTPACE_RUN_* belong to the test suite. The repository's Compose file also reads OUTPACE_IMAGE, OUTPACE_HTTP_HOST, OUTPACE_HTTP_PORT, OUTPACE_RTMP_HOST and OUTPACE_RTMP_PORT; see Configuration.


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.