Skip to content

v1.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:59
· 12 commits to main since this release
78caa9e

Outpace 1.5.1

For publication status and downloads, see the
GitHub Release.
These notes accompany the reviewed release commit; source documentation can precede publication.

Outpace 1.5.1 is a patch release. It fixes compatibility HLS playback so that a stream stops when
its player stops, instead of downloading for up to six hours afterwards. It adds no settings and
needs no configuration change.

Fixes

  • A stopped HLS player no longer keeps its stream running
    (#686,
    #687). A stream opened through
    /ace/manifest.m3u8 kept its viewer until the client sent command_url?method=stop or six
    hours passed. VLC, most Kodi players and other plain HLS players never send stop, so the
    engine kept downloading, packaging and holding memory for a stream nobody watched. Every new
    play added another such lease, so traffic and memory kept growing on long-running instances.

    Now an HLS lease also ends after 60 seconds with no request for its playlist or segments, no
    read of its stat_url, no timeshift command, and no playlist request still waiting for the
    stream to start. Players reload the playlist every few seconds, so this only affects a player
    that has stopped or stayed paused. The viewer leaves /streams, and the stream stops after the
    usual 30-second idle grace if nobody else is watching. See
    Leases.

    A player paused for more than 60 seconds now gets 404 when it resumes and has to request
    /ace/manifest.m3u8 again, as a native .m3u8 viewer already does after the idle grace. An
    app that wants to keep a paused lease can keep reading stat_url. Direct MPEG-TS playback,
    format=json TS sessions and native /streams/... playback are unchanged.

Dependencies

  • rustls is updated from 0.23.46 to 0.23.47
    (#688), a patch release of the TLS
    library used for outbound HTTPS.

Distribution

Targets, packages, images and signer identity are unchanged from
1.5.0.
Images are published to ghcr.io/outpace-stream/outpace-engine (1.5.1, 1.5.1-minimal,
latest, minimal).

Upgrade and rollback

Upgrading from 1.5.0 needs no configuration change and writes no new data. Restart, then check
/healthz and playback. Keep the 1.5.0 binary or image for rollback; rolling back brings back
the six-hour HLS lease behavior.

Validation and limits

The fix is covered by HTTP tests with a synthetic source. They check that an idle HLS lease
releases its viewer, leaves /streams and lets the stream be torn down; that playlist reloads,
segment fetches and stat_url reads each keep a lease alive; and that a playlist waiting for
startup holds its lease until the request ends. Each check was confirmed to fail with the fix
disabled. A bounded release-mode measurement of compatibility playlist and segment requests
(compat_hls_request_measurement) showed no difference from 1.5.0 beyond run-to-run noise.
No live playback was tested for this release. Preparation checks and candidate CI are recorded
in the release pull request.

What's Changed

  • docs(release): publish Outpace 1.5.0 pins by @jamezrin in #685
  • fix(ace-engine): release idle compatibility HLS leases by @jamezrin in #687
  • chore(deps): update rust crate rustls to v0.23.47 by @renovate[bot] in #688
  • chore(release): prepare Outpace 1.5.1 by @jamezrin in #689

Full Changelog: v1.5.0...v1.5.1