mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #650 from tikuf/master
Add 480p+ with higher bitrate as default
This commit is contained in:
commit
4503fbe6cb
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() {
|
||||
|
||||
|
@ -470,7 +470,7 @@
|
|||
}
|
||||
|
||||
else if (videoStream.Width >= 720) {
|
||||
baseParams.videoBitrate = 420000;
|
||||
baseParams.videoBitrate = 700000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1590,6 +1590,7 @@
|
|||
}
|
||||
|
||||
if (maxAllowedWidth >= 480) {
|
||||
options.push({ name: '480p+', maxWidth: 720, videoBitrate: 700000 });
|
||||
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
|
||||
}
|
||||
if (maxAllowedWidth >= 360) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue