forked from Dash-Industry-Forum/dash.js
/
dashjs_config.json
69 lines (69 loc) · 2.64 KB
/
dashjs_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"debug": {
"logLevel": 4
},
"streaming": {
"metricsMaxListDepth": 50,
"abandonLoadTimeout": 10000,
"liveDelayFragmentCount": null,
"liveDelay": null,
"scheduleWhilePaused": true,
"fastSwitchEnabled": true,
"bufferPruningInterval": 10,
"bufferToKeep": 20,
"bufferAheadToKeep": 80,
"jumpGaps": true,
"smallGapLimit": 1.5,
"stableBufferTime": -1,
"bufferTimeAtTopQuality": 30,
"bufferTimeAtTopQualityLongForm": 60,
"longFormContentDurationThreshold": 600,
"wallclockTimeUpdateInterval": 50,
"lowLatencyEnabled": false,
"keepProtectionMediaKeys": false,
"useManifestDateHeaderTimeSource": true,
"useSuggestedPresentationDelay": true,
"manifestUpdateRetryInterval": 100,
"liveCatchUpMinDrift": 0.02,
"liveCatchUpMaxDrift": 0,
"liveCatchUpPlaybackRate": 0.5,
"liveCatchupLatencyThreshold": null,
"lastBitrateCachingInfo": { "enabled": true, "ttl": 360000},
"lastMediaSettingsCachingInfo": { "enabled": true, "ttl": 360000},
"cacheLoadThresholds": {"video": 50, "audio": 5},
"retryIntervals": {
"MPD": 500,
"XLinkExpansion": 500,
"MediaSegment": 1000,
"InitializationSegment": 1000,
"BitstreamSwitchingSegment": 1000,
"IndexSegment": 1000,
"other": 1000
},
"retryAttempts": {
"MPD": 3,
"XLinkExpansion": 1,
"MediaSegment": 3,
"InitializationSegment": 3,
"BitstreamSwitchingSegment": 3,
"IndexSegment": 3,
"other": 3
},
"abr": {
"movingAverageMethod": "slidingWindow",
"ABRStrategy": "abrDynamic",
"bandwidthSafetyFactor": 0.9,
"useDefaultABRRules": true,
"useBufferOccupancyABR": false,
"useDeadTimeLatency": true,
"limitBitrateByPortal": false,
"usePixelRatioInLimitBitrateByPortal": false,
"maxBitrate": { "audio": -1, "video": -1 },
"minBitrate": { "audio": -1, "video": -1 },
"maxRepresentationRatio": { "audio": 1, "video": 1 },
"initialBitrate": { "audio": -1, "video": -1 },
"initialRepresentationRatio": { "audio": -1, "video": -1 },
"autoSwitchBitrate": { "audio": true, "video": true }
}
}
}