mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix the behavior of HDR remuxing in HLS.js 1.5+
Without this change, HLS.js 1.5+ only allows HDR playback on displays/systems with HDR enabled. When the server provides two streams one HDR and one SDR for fallback, HLS.js will ignore the HDR stream, even if the browser supports client-side tone-mapping. This triggers unnecessary transcoding. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
fa6981cb7f
commit
b5e40f5952
1 changed files with 1 additions and 0 deletions
|
@ -443,6 +443,7 @@ export class HtmlVideoPlayer {
|
|||
startPosition: options.playerStartPositionTicks / 10000000,
|
||||
manifestLoadingTimeOut: 20000,
|
||||
maxBufferLength: maxBufferLength,
|
||||
videoPreference: { preferHDR: true },
|
||||
xhrSetup(xhr) {
|
||||
xhr.withCredentials = includeCorsCredentials;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue