-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very frequent Player Error on VAFT #271
Comments
There was a fix for error 1000 a little while ago 644ac7a I haven't been watching Twitch much lately but I've seen a few midrolls without issues. Which browser are you using? |
I have the same problem here and it started recently. Player errors, black screen with infinite loading when trying to start a broadcast and freezing. I tested the userscript and uBlock versions, both with the same problem (I don't know why but the uBlock version has more problems than userscript version). I also tested video-swap and vaft, video-swap is a little more stable than vaft but still has problems. I use Windows 11, Google Chrome and Tampermonkey, both updated to the latest version available. |
It appears Amazon has another new check? This pops up in the console when the error happens |
Are you sure you're using the latest version of the script? That's the same error log as the previous problem. The following is the only place where the m3u8 body is modified now: TwitchAdSolutions/video-swap-new/video-swap-new.user.js Lines 193 to 195 in 39666c7
|
I'm using the VAFT, since it still allows me to see the latency to streamer. |
OK I'll change the title of this issue to VAFT then. The scripts work in slightly different ways. |
I've had put Video Swap? huh, my bad, brain wasn't functioning from half sleeps. |
After the last update userscript versions of vaft and video-swap-new works fine, thanks for the update |
This works. |
so I have been using userscript, anyone else getting constant stream freezes? sound goes on but the video freezes. Also getting constant error 3000 etc. It's been for weeks now. Has twitch changed something or why is the script not working as good as before anymore? |
Error 3000 usually means some sort of player related issue where the userscript is conflicting with something. Do you have both vaft and video-swap-new scripts loaded? Or use the Adguard Extra script(contains a version of vaft)? VPNs or Twitch ad block extensions like TTV LOL Pro can also conflict. Try to use one ad solution at a time and don't mix them. |
I only use Ublock Origin and Tampermonkey with VAFT script. I also use nextdns, not sure if this causes conflicts? |
Just uBlock Origin for general ad blocking right? Not Not seeing any issues with streams atm on my end with |
Problem with Video Swap is that it masks the latency, so you don't know how behind you are in relation to the streamer. One time I was ONE MINUTE behind, didn't figure it until the streamer kept asking me to explain something I had explained 45+ seconds ago. |
@TsukiZero is this player error still happening for you on TwitchAdSolutions/vaft/vaft.user.js Line 242 in 8598024
And check what the last console log was prior to the error |
And now to wait until the error happens again... |
@EleZer0 from what I can see TwitchAdSolutions/vaft/vaft.user.js Line 233 in 8598024
Try changing the following code from: TwitchAdSolutions/vaft/vaft.user.js Lines 232 to 242 in 8598024
To: if (response.status === 200) {
//Here we check the m3u8 for any ads and also try fallback player types if needed.
var responseText = await response.text();
var weaverText = null;
weaverText = await processM3U8(url, responseText, realFetch, PlayerType2);
if (weaverText.includes(AdSignifier)) {
weaverText = await processM3U8(url, responseText, realFetch, PlayerType3);
}
if (weaverText.includes(AdSignifier)) {
weaverText = await processM3U8(url, responseText, realFetch, PlayerType4);
}
console.log(weaverText);
resolve(new Response(weaverText));
} else {
console.log(url + ' failed with error code ' + response.status);
resolve(response);
} This should let the player handle the original error rather than giving it an invalid m3u8. |
it seems to have helped? I'll report back if it seems to frequent again |
@pixeltris That code change seems to have worked. The error still occurs, but is now handled and doesn't interrupt playback. |
How do I access this. Under "my filters" All I have typed is |
this is for the userscript approach. You'd need Greasymonkey or Tampermonkey. |
Now I'm getting this problem where a LONG EXTM3U (or something like that) error causes the stream to get stuck in a long buffer that can crank the latency to 30s |
@TsukiZero that would be a #164 thing. If the error 1000/3000 is fixed by the above code I'll push it and close this issue. |
Might be. If the error happens again we just need to reopen the issue. |
Should be fixed by 055e1ad |
I know not why, but the player keeps getting errors far frequently. Good thing I got a script to reset on error.
The text was updated successfully, but these errors were encountered: