Separate bitrate control from resolution
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user