mirror of https://bitbucket.org/ausocean/av.git
mjpeg-player: reduced more config variables
This commit is contained in:
parent
179f9cfa03
commit
d10a59631b
|
@ -27,31 +27,7 @@ import XhrLoader from './utils/xhr-loader.js';
|
||||||
// It is cloned whenever a new Hls instance is created, by keeping the config
|
// It is cloned whenever a new Hls instance is created, by keeping the config
|
||||||
// shallow the properties are cloned, and we don't end up manipulating the default
|
// shallow the properties are cloned, and we don't end up manipulating the default
|
||||||
export const hlsDefaultConfig = {
|
export const hlsDefaultConfig = {
|
||||||
autoStartLoad: true, // used by stream-controller
|
|
||||||
startPosition: -1, // used by stream-controller
|
startPosition: -1, // used by stream-controller
|
||||||
defaultAudioCodec: void 0, // used by stream-controller
|
|
||||||
debug: false, // used by logger
|
|
||||||
capLevelOnFPSDrop: false, // used by fps-controller
|
|
||||||
capLevelToPlayerSize: false, // used by cap-level-controller
|
|
||||||
initialLiveManifestSize: 1, // used by stream-controller
|
|
||||||
maxBufferLength: 30, // used by stream-controller
|
|
||||||
maxBufferSize: 60 * 1000 * 1000, // used by stream-controller
|
|
||||||
maxBufferHole: 0.5, // used by stream-controller
|
|
||||||
|
|
||||||
lowBufferWatchdogPeriod: 0.5, // used by stream-controller
|
|
||||||
highBufferWatchdogPeriod: 3, // used by stream-controller
|
|
||||||
nudgeOffset: 0.1, // used by stream-controller
|
|
||||||
nudgeMaxRetry: 3, // used by stream-controller
|
|
||||||
maxFragLookUpTolerance: 0.25, // used by stream-controller
|
|
||||||
liveSyncDurationCount: 3, // used by stream-controller
|
|
||||||
liveMaxLatencyDurationCount: Infinity, // used by stream-controller
|
|
||||||
liveSyncDuration: void 0, // used by stream-controller
|
|
||||||
liveMaxLatencyDuration: void 0, // used by stream-controller
|
|
||||||
liveDurationInfinity: false, // used by buffer-controller
|
|
||||||
liveBackBufferLength: Infinity, // used by buffer-controller
|
|
||||||
maxMaxBufferLength: 600, // used by stream-controller
|
|
||||||
enableWorker: true, // used by demuxer
|
|
||||||
enableSoftwareAES: true, // used by decrypter
|
|
||||||
manifestLoadingTimeOut: 10000, // used by playlist-loader
|
manifestLoadingTimeOut: 10000, // used by playlist-loader
|
||||||
manifestLoadingMaxRetry: 1, // used by playlist-loader
|
manifestLoadingMaxRetry: 1, // used by playlist-loader
|
||||||
manifestLoadingRetryDelay: 1000, // used by playlist-loader
|
manifestLoadingRetryDelay: 1000, // used by playlist-loader
|
||||||
|
@ -65,37 +41,8 @@ export const hlsDefaultConfig = {
|
||||||
fragLoadingMaxRetry: 6, // used by fragment-loader
|
fragLoadingMaxRetry: 6, // used by fragment-loader
|
||||||
fragLoadingRetryDelay: 1000, // used by fragment-loader
|
fragLoadingRetryDelay: 1000, // used by fragment-loader
|
||||||
fragLoadingMaxRetryTimeout: 64000, // used by fragment-loader
|
fragLoadingMaxRetryTimeout: 64000, // used by fragment-loader
|
||||||
startFragPrefetch: false, // used by stream-controller
|
|
||||||
fpsDroppedMonitoringPeriod: 5000, // used by fps-controller
|
|
||||||
fpsDroppedMonitoringThreshold: 0.2, // used by fps-controller
|
|
||||||
appendErrorMaxRetry: 3, // used by buffer-controller
|
|
||||||
loader: XhrLoader,
|
loader: XhrLoader,
|
||||||
// loader: FetchLoader,
|
|
||||||
fLoader: void 0, // used by fragment-loader
|
fLoader: void 0, // used by fragment-loader
|
||||||
pLoader: void 0, // used by playlist-loader
|
pLoader: void 0, // used by playlist-loader
|
||||||
xhrSetup: void 0, // used by xhr-loader
|
xhrSetup: void 0, // used by xhr-loader
|
||||||
licenseXhrSetup: void 0, // used by eme-controller
|
|
||||||
fetchSetup: void 0,
|
|
||||||
// abrController: AbrController,
|
|
||||||
// bufferController: BufferController,
|
|
||||||
// capLevelController: CapLevelController,
|
|
||||||
// fpsController: FPSController,
|
|
||||||
stretchShortVideoTrack: false, // used by mp4-remuxer
|
|
||||||
maxAudioFramesDrift: 1, // used by mp4-remuxer
|
|
||||||
forceKeyFrameOnDiscontinuity: true, // used by ts-demuxer
|
|
||||||
abrEwmaFastLive: 3, // used by abr-controller
|
|
||||||
abrEwmaSlowLive: 9, // used by abr-controller
|
|
||||||
abrEwmaFastVoD: 3, // used by abr-controller
|
|
||||||
abrEwmaSlowVoD: 9, // used by abr-controller
|
|
||||||
abrEwmaDefaultEstimate: 5e5, // 500 kbps // used by abr-controller
|
|
||||||
abrBandWidthFactor: 0.95, // used by abr-controller
|
|
||||||
abrBandWidthUpFactor: 0.7, // used by abr-controller
|
|
||||||
abrMaxWithRealBitrate: false, // used by abr-controller
|
|
||||||
maxStarvationDelay: 4, // used by abr-controller
|
|
||||||
maxLoadingDelay: 4, // used by abr-controller
|
|
||||||
minAutoBitrate: 0, // used by hls
|
|
||||||
emeEnabled: false, // used by eme-controller
|
|
||||||
widevineLicenseUrl: void 0, // used by eme-controller
|
|
||||||
// requestMediaKeySystemAccessFunc: requestMediaKeySystemAccess, // used by eme-controller
|
|
||||||
|
|
||||||
};
|
};
|
Loading…
Reference in New Issue