mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Separate bitrate control from resolution
This commit is contained in:
parent
48e45cf52c
commit
4c3095412b
2 changed files with 33 additions and 33 deletions
|
@ -10,12 +10,14 @@ function showQualityMenu(player, btn) {
|
|||
})[0];
|
||||
const videoWidth = videoStream ? videoStream.Width : null;
|
||||
const videoHeight = videoStream ? videoStream.Height : null;
|
||||
const videoBitRate = videoStream ? videoStream.BitRate : null;
|
||||
|
||||
const options = qualityoptions.getVideoQualityOptions({
|
||||
currentMaxBitrate: playbackManager.getMaxStreamingBitrate(player),
|
||||
isAutomaticBitrateEnabled: playbackManager.enableAutomaticBitrateDetection(player),
|
||||
videoWidth: videoWidth,
|
||||
videoHeight: videoHeight,
|
||||
videoBitRate,
|
||||
enableAuto: true
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue