github Helli24/TwitchAdSolutions v68.18.0
vaft v68.18.0

latest release: v68.19.0
one hour ago

Fixed

  • No more looping seconds while every stream has ads — field logs (v120, two channels): in a break where every backup type carried ads, vaft replayed the last cached seconds of the stream on every poll (3 segments 19 times, 1 segment 16 times), so the same few seconds looped with sound for up to 30 s. While every backup type carries ads the next live segment is minutes away, so these seconds are no longer replayed: the picture holds and the banner explains why. Log: Not replaying recovery segments — every backup type carries ads … once per break. With a clean backup type somewhere, the short replay works as before. vaft only
  • Ad-laden backup sessions no longer outlive their break — field log (v120): the ad-laden backup sessions of a preroll were kept for 19 minutes and replaced only at the next break (replaced after 1166s of ads). They are dropped at the end of the break, and a session whose ads started before the current break is replaced at once. vaft only
  • Auto quality stays Auto after a reload — ported from ryanbr/TwitchAdSolutions 68.5.103 (ryanbr#342, as TTV-AB does): before a player reload vaft saved the playing rendition so a chosen quality survives it. Under Auto that replaced Auto with whatever Auto had picked, and the stream stayed at that quality (sometimes very low) until changed by hand. The rendition is now saved only when a fixed quality is chosen (isFixedQualityPreference()). vaft only

Changed

  • One fresh backup session every 15 s instead of all of them every 60 s (FreshProbeIntervalMs, part of staggeredBackupSessions) — five field logs (#36, v117–v120): in breaks where every backup type carried ads, a newly requested session was clean at the first replacement after Twitch's ad window ended (61 s, 62 s, 66 s, 180 s), never earlier, while kept sessions stayed ad-laden. Replacing every type at once every 60 s found that moment only in 60 s steps and cost up to 18 token requests in 3 minutes. Past the first 60 s of ads, one session now gets a new token every 15 s, in probe order (site-PS4 first at prerolls), so the stream can come back up to ~45 s sooner with fewer requests. autoplay and picture-by-picture still keep their session for a whole midroll. twitchAdSolutions_staggeredBackupSessions=false restores the old behaviour (every session replaced after 60 s of ads). vaft only

Tests

  • 873 checks: the 15 s rate (kept within it, next type after it, the opt-out), stale sessions from an earlier break, sessions dropped at break end, no replay while every backup carries ads (and the short replay otherwise), and isFixedQualityPreference() plus the reload under Auto and under a fixed quality. Each change was checked by reverting it: every revert fails the suite.

Don't miss a new TwitchAdSolutions release

NewReleases is sending notifications on new releases.