Set maxMaxBufferLength to avoid bufferAppendError on Chrome 138
``` HLS Error: Type: mediaError Details: bufferAppendError Fatal: true ``` It seems that the default buffer eviction behavior has changed in Chrome 138, so the default maxMaxBufferLength from hls.js don't apply. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user