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:
parent
b2b7584352
commit
2c841b687f
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
|
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
|
||||||
|
|
||||||
function mediaPlayer() {
|
function mediaPlayer() {
|
||||||
|
|
||||||
|
@ -502,7 +502,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (videoStream.Width >= 720) {
|
else if (videoStream.Width >= 720) {
|
||||||
baseParams.videoBitrate = 420000;
|
baseParams.videoBitrate = 700000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1598,6 +1598,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (maxAllowedWidth >= 480) {
|
if (maxAllowedWidth >= 480) {
|
||||||
|
options.push({ name: '480p+', maxWidth: 720, videoBitrate: 700000 });
|
||||||
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
|
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
|
||||||
}
|
}
|
||||||
if (maxAllowedWidth >= 360) {
|
if (maxAllowedWidth >= 360) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue