1
0
Fork 0
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:
gnattu 2024-09-14 16:46:02 +08:00
parent 48e45cf52c
commit 4c3095412b
2 changed files with 33 additions and 33 deletions

View file

@ -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
});