pixeltris / TwitchAdSolutions

7.21k stars 424 forks source link

Difference between vaft / video-swap-new #227

Closed ComfortableMilk4454 closed 3 months ago

ComfortableMilk4454 commented 3 months ago

why does it say vaft is "The same as video-swap-new but attempts to get a clean stream faster (may suffer from more freezing / playback issues)." when for me the res of the stream during ads with vaft is far superior to that of video-swap-new's?

zGato commented 3 months ago

When an ad plays and resolution drops, both have the same quality.

video-swap-new Screenshot_174

vaft Screenshot_175

both 360p.

pixeltris commented 3 months ago

When vaft detects an ad it constantly requests multiple different versions of the stream and uses the first clean version it finds. Sometimes this can give a high quality stream faster but it can break sequencing which introduces playback issues.

When video-swap-new detects an ad it forces the player to reload and switches out the m3u8 with low quality version and uses this until the ad finishes. This should be less susceptible to playback issues but there are still reports of issues.