-
Notifications
You must be signed in to change notification settings - Fork 461
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
vaft issues (freezing / paused / playback problems) #164
Comments
I can confirm this. im currently watching a live LaynaLazar stream right now at the time of this comment, and i can confirm random frame freezes, on top of a video quality issue and a total video freeze |
This issue still persists in the new build. |
Correct. I'm not working on fixes for the freezing issues. |
No idea on solutions either? |
Any updates? |
No fix yet, no one looking into it apparently. |
This has something to do with bad connection when ads start. It does not happen if your connection is stable and have low latency I have tested this while an ad is playing, dropping my connection in and out and it will always swap to source > 360p > source > Freeze My testing on #222 so.. is there a way to change the alt player/m3u8 when ads are showing to 720p or source quality or another solution? |
Under TwitchAdSolutions/vaft/vaft.user.js Lines 293 to 296 in 7a8fa99
Replace with: weaverText = await processM3U8(url, responseText, realFetch, 'site');
if (weaverText.includes(AdSignifier)) {
weaverText = await processM3U8(url, responseText, realFetch, PlayerType2);
}
if (weaverText.includes(AdSignifier)) {
weaverText = await processM3U8(url, responseText, realFetch, PlayerType3);
} This requests the main 'site' player type twice but the second one will get a new access token which can sometimes get you a clean stream faster. This constant swapping of the active m3u8 is the reason for that player pause/play / Also see If this isn't good enough then you are looking for a proxy solution. See |
I tested this for 4~ hrs with midrolls every 30-60 mins and this works way better The only time I have seen it pause/play is at the start of a midroll but it's instant and always finds clean segments at source quality ty pixeltris |
So, the bug is back, that patch does nothing. |
I had video buffering issues and decided to look into code (I know nothing about js, just curiosity) and found this part: TwitchAdSolutions/vaft/vaft-ublock-origin.js Lines 93 to 98 in 8598024
It says "This is used to fix the bug where the video would freeze." but then it 'returns' immediately after doing nothing in result. Just checking if that is intentional or mistake in commenting out that 'if'? |
uncommenting that causes the player settings to constantly be on screen, closing it only reopens it seconds after. |
I also have the loading/buffering issue during ads with vaft. When u start watching a stream it works, but then after a while (sometimes hours, sometimes 40mins, seems like it scales up with the amount of ads played by the streamer) the buffering/loading transition to the lower resolution when skipping the ad increases more and more until it becomes an endless buffering/loading. Only solution at that point is to manually pause/unpause the stream. |
both VAFT and Video-Swap-New are now halting COMPLETELY when a midroll starts, not even player reset resumes it, only full refresh does |
Let's try to keep this a vaft focused discussion in this issue, and can get to video-swap-new later if this case is reproducible. To be clear, do you have just vaft script enabled/loaded? Using multiple scripts/twitch adblock solutions at once can cause playback to halt consistently. What is your extension/vaft setup? Not seeing that behavior where it requires a full refresh on my end, but maybe I can recreate yours. |
Only one of them for sure. It was happening all the time yesterday, had to switch on the VPN to mitigate the issue. |
They might be tied to ads, but sometimes the video freeze and the audio keeps going, when this happens the quality changes from whatever it was to 360p for a moment or until the player is reset.
With "Video Swap New" it causes the quality to change completely from whatever to 360p but the frames stops freezing.
The text was updated successfully, but these errors were encountered: