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

Add 480p+ with higher bitrate as default

This commit is contained in:
tikuf 2013-12-18 07:19:23 +11:00
parent b2b7584352
commit 2c841b687f

View file

@ -1,4 +1,4 @@
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
function mediaPlayer() {
@ -502,7 +502,7 @@
}
else if (videoStream.Width >= 720) {
baseParams.videoBitrate = 420000;
baseParams.videoBitrate = 700000;
}
}
@ -1598,6 +1598,7 @@
}
if (maxAllowedWidth >= 480) {
options.push({ name: '480p+', maxWidth: 720, videoBitrate: 700000 });
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
}
if (maxAllowedWidth >= 360) {