Open sreejithr opened 8 years ago
Changing the thresholds doesn't affect the averaging math. Keep in mind that the averages are very noisy, so your thresholds should be at least a factor of ~3.5 apart; for instance 30, 100, 350. You should go ahead and change them to whatever makes sense for your app.
@zlern2k But since the connection class speeds are hard-coded into constants, I can't change them without taking a fork. Shouldn't this be easier?
Any intention yet to remove them from the hard-coded part and make it configurable in the future? I'd like to make that configurable for a react-native bridge. Or should we continue with a fork?
In our app, user bandwidth would never cross 150kbps since most of our users are in 2g and rarely in 3g. Consequently, the connection class is always in POOR.