Merge pull request #6985 from nyanmisaka/fix-hlsjs-chrome138

Set maxMaxBufferLength to avoid bufferAppendError on Chrome 138
This commit is contained in:
Bill Thornton
2025-06-27 10:37:41 -04:00
committed by GitHub

View File

@@ -453,6 +453,7 @@ export class HtmlVideoPlayer {
startPosition: options.playerStartPositionTicks / 10000000,
manifestLoadingTimeOut: 20000,
maxBufferLength: maxBufferLength,
maxMaxBufferLength: maxBufferLength,
videoPreference: { preferHDR: true },
xhrSetup(xhr) {
xhr.withCredentials = includeCorsCredentials;