github Helli24/TwitchAdSolutions v68.15.0
vaft v68.15.0

one hour ago

Since Dec 2, Twitch is again rolling out ads on every web backup stream at the ad that plays when a channel is opened (Purple and TTV-AB users report the same). This release adds a backup that was measured clean on exactly that ad, at full quality.

Added

  • site-PS4 backup (sitePs4Backup, default on; ported from ryanbr v68.5.21–v68.5.23, measurement by chardido/twizen-adblock) — on a preroll, vaft first requests the stream as Twitch's PlayStation app sees it (player type site, platform ps4; the usher request carries player_type=site). It was clean at full quality on 41 of 41 channels with an active preroll (twizen) and 2 of 2 locally (ryanbr), while every web player type received the ad. It carries ads on midrolls, so it is not requested there. Twitch often labels the ad right after opening a channel as a midroll (field logs: "midroll" 2–5 s after opening), so an ad within 90 s of the stream session's start (ColdStartWindowMs) counts as the stream-start ad. If site-PS4 carries ads too, the usual order follows (autoplay 360p first). It is never pinned and does not change the fast-autoplay state, and it is not requested in the post-reload minimal-requests window. Logs: site-PS4 probed first — preroll / — ad within 90s of the stream start and site-PS4 backup committed — full quality, clean on a preroll. Opt-out: twitchAdSolutions_sitePs4Backup=false. vaft only

Changed

  • Variant choice for platform backups — the master playlist of a platform-suffixed backup can list renditions of another codec. For those, getStreamUrlForResolution skips variants of a known different codec family (an HEVC rendition fed to an AVC player is Error #4000) and prefers the same VIDEO group (chunked = Source) before the closest resolution; with no variant of the same family it falls back to the old choice. Other backup types are unchanged. vaft only

Tests

  • 667 checks: parseBackupCandidate, the token request's player type and platform, the strict variant choice (codec filter, VIDEO match, fallback), and the real processM3U8 on a preroll (site-PS4 first and committed, player_type=site on usher, never pinned), site-PS4 ad-laden (autoplay next), a midroll (not requested), a midroll within the cold-start window (requested first) and the opt-out. 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.