update audio transcoding bitrate

This commit is contained in:
Luke Pulverenti 2015-04-25 23:25:07 -04:00
parent 2032762b30
commit 6902732194
9 changed files with 116 additions and 64 deletions

View file

@ -2305,6 +2305,10 @@
});
};
self.getDefaultImageQuality = function (imageType) {
return imageType.toLowerCase() == 'backdrop' ? 80 : 90;
};
function normalizeImageOptions(options) {
var ratio = devicePixelRatio || 1;
@ -2329,7 +2333,7 @@
}
}
options.quality = options.quality || (options.type.toLowerCase() == 'backdrop' ? 80 : 90);
options.quality = options.quality || self.getDefaultImageQuality(options.type);
}
/**