update audio transcoding bitrate
This commit is contained in:
parent
2032762b30
commit
6902732194
9 changed files with 116 additions and 64 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue