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 typesite, platformps4; the usher request carriesplayer_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 startandsite-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,
getStreamUrlForResolutionskips variants of a known different codec family (an HEVC rendition fed to an AVC player is Error #4000) and prefers the sameVIDEOgroup (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,VIDEOmatch, fallback), and the realprocessM3U8on a preroll (site-PS4 first and committed,player_type=siteon 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.