mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
adjust 360p bitrate
This commit is contained in:
parent
6beb7121a9
commit
5f7f1f0258
2 changed files with 4 additions and 6 deletions
|
@ -493,7 +493,7 @@
|
|||
}
|
||||
|
||||
else if (videoStream.Width >= 720) {
|
||||
baseParams.videoBitrate = 400000;
|
||||
baseParams.videoBitrate = 420000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -840,8 +840,6 @@
|
|||
|
||||
self.playlist = items;
|
||||
currentPlaylistIndex = 0;
|
||||
|
||||
var nowPlayingBar = $('#nowPlayingBar');
|
||||
};
|
||||
|
||||
self.playInternal = function (item, startPosition, user) {
|
||||
|
@ -1541,7 +1539,7 @@
|
|||
// We have media info
|
||||
if (videoStream && videoStream.Width) {
|
||||
|
||||
maxAllowedWidth = Math.min(videoStream.Width, maxAllowedWidth);
|
||||
maxAllowedWidth = videoStream.Width;
|
||||
}
|
||||
|
||||
// Some 1080- videos are reported as 1912?
|
||||
|
@ -1556,7 +1554,7 @@
|
|||
}
|
||||
|
||||
if (maxAllowedWidth >= 480) {
|
||||
options.push({ name: '480p', maxWidth: 720, videoBitrate: 400000 });
|
||||
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
|
||||
}
|
||||
if (maxAllowedWidth >= 360) {
|
||||
options.push({ name: '360p', maxWidth: 640, videoBitrate: 400000 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue