Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var hlsConfig_maxStable = {
- autoStartLoad: true,
- startPosition: -1, //start at the beginning (takes liveSyncDurationCount into account)
- capLevelToPlayerSize: false,
- debug: false,
- initialLiveManifestSize: 1, //start stream as soon as a playlist is found with at least 1 package
- maxBufferLength: 40, //will attempt to buffer at least 40 seconds / 5 packages in advance to avoid stream buffering (default 3)
- maxMaxBufferLength: 60, //will never buffer more than 60 seconds / 45 packages max (default 90)
- maxBufferSize: 60 * 1000 * 1000, //60 MB max buffer pro stream, 1080p60 twitch stream takes roughly 3.12 MB in 4 seconds (enough for ~40 seconds) (default 60)
- maxBufferHole: 0.5,
- maxLoadingDelay: 5, //attempt to load the player as quickly as possible even with lower quality at first if neccesary (default 3)
- lowBufferWatchdogPeriod: 0.5,
- highBufferWatchdogPeriod: 3,
- nudgeOffset: 0.1,
- maxFragLookUpTolerance: 0.2,
- liveSyncDurationCount: undefined,
- liveMaxLatencyDurationCount: undefined,
- liveSyncDuration: 20, //buffer 20 seconds before starting the stream, less buffering risk, higher delay
- liveMaxLatencyDuration: 26, //flush the buffer and jump back to the live point if latency exceeds 26 seconds
- enableWorker: true,
- enableSoftwareAES: false,
- startLevel: undefined,
- startFragPrefetch: true,
- appendErrorMaxRetry: 3,
- enableWebVTT: false,
- enableCEA708Captions: false,
- stretchShortVideoTrack: false,
- maxAudioFramesDrift: 1,
- forceKeyFrameOnDiscontinuity: true,
- abrEwmaFastLive: 5.0,
- abrEwmaSlowLive: 9.0,
- abrEwmaDefaultEstimate: 500000,
- abrBandWidthFactor: 0.95,
- abrBandWidthUpFactor: 0.7,
- minAutoBitrate: 0,
- loader: hlsCustomLoader,
- manifestLoadingMaxRetry: 6,
- fragLoadingMaxRetry: 6,
- manifestLoadingTimeOut: 20000,
- fragLoadingTimeOut: 20000,
- nudgeMaxRetry: 6
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement