n-ce / ytify

Audio Streaming Web App for YouTube. Stop watching, Listen. Save data & 🌎.
https://ytify.netlify.app
GNU General Public License v3.0
153 stars 48 forks source link

Laggy Buffering #83

Closed n-ce closed 1 year ago

n-ce commented 1 year ago

Observation

Expectation

Points

n-ce commented 1 year ago

@firemasterk I lost my matrix session where i have texted you about this. Hence mentioning you here.

n-ce commented 1 year ago

Added old piped instance which was last updated on 28th feb and it seems to work but will have to continue testing. commit deploy-devBranch edit : nope the issue still persists

FireMasterK commented 1 year ago

I'll copy my message from matrix:

I believe its a YouTube change, YouTube started throttling streams not using DASH / the Range header

You might want to implement something like: https://github.com/TeamPiped/Piped/blob/master/src/utils/DashUtils.js Along with a library, like dash.js for example

This should fix most issues, but there's a new kind of throttling affecting even this (likely an A/B test), I'm working on coming up with a solution for this, along with a few other people for this.

n-ce commented 1 year ago

What has youtube been cooking lately 🤔 After exhaustive testing today, It seems to be working fine now with zero lags. If this issue starts to reoccur i'll be sure to implement dash support.