1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update bitrate detection

This commit is contained in:
Luke Pulverenti 2015-09-05 17:15:36 -04:00
parent 0e6672699e
commit 8c248c229a
10 changed files with 77 additions and 44 deletions

View file

@ -528,7 +528,7 @@
// First try a small amount so that we don't hang up their mobile connection
self.getDownloadSpeed(1000000).done(function (bitrate) {
if (bitrate < 3000000) {
if (bitrate < 1000000) {
deferred.resolveWith(null, [Math.round(bitrate * .8)]);
} else {