add error handling when loading cert

This commit is contained in:
Luke Pulverenti 2016-11-10 17:38:58 -05:00
parent 9f00ca2c0c
commit 6145921372
8 changed files with 33 additions and 23 deletions

View file

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.93", "version": "1.1.94",
"_release": "1.1.93", "_release": "1.1.94",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.93", "tag": "1.1.94",
"commit": "b8af5e03c6181c45ff28070b01a5bab4650a7292" "commit": "dfd0b14c1af141e548fe2cee92a1f86967c50e8f"
}, },
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git", "_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51", "_target": "^1.1.51",

View file

@ -1509,7 +1509,7 @@
var updateDevicePromise; var updateDevicePromise;
// Cache for 3 days // Cache for 3 days
if (params.deviceId && (new Date().getTime() - (regInfo.lastValidDate || 0)) < 259200000) { if (params.deviceId && (new Date().getTime() - (regInfo.lastValidDate || 0)) < 604800000) {
console.log('getRegistrationInfo has cached info'); console.log('getRegistrationInfo has cached info');

View file

@ -14,12 +14,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.4.332", "version": "1.4.333",
"_release": "1.4.332", "_release": "1.4.333",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.4.332", "tag": "1.4.333",
"commit": "d397bbaeb70b8004065b5900594bf9ca6a37e754" "commit": "abb2fe3a9bac2638a815d6b44a8ebfb967d77722"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1", "_target": "^1.2.1",

View file

@ -1,6 +1,6 @@
{ {
"name": "hls.js", "name": "hls.js",
"version": "0.5.51", "version": "0.5.52",
"license": "Apache-2.0", "license": "Apache-2.0",
"description": "Media Source Extension - HLS library, by/for Dailymotion", "description": "Media Source Extension - HLS library, by/for Dailymotion",
"homepage": "https://github.com/dailymotion/hls.js", "homepage": "https://github.com/dailymotion/hls.js",
@ -16,11 +16,11 @@
"test", "test",
"tests" "tests"
], ],
"_release": "0.5.51", "_release": "0.5.52",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v0.5.51", "tag": "v0.5.52",
"commit": "af58679e28308b28a51402a241474c8c60134529" "commit": "2afcbb2bfb0d4a285537adaa60e413df0773e4b2"
}, },
"_source": "git://github.com/dailymotion/hls.js.git", "_source": "git://github.com/dailymotion/hls.js.git",
"_target": "~0.5.7", "_target": "~0.5.7",

View file

@ -174,6 +174,7 @@ configuration parameters could be provided to hls.js upon instantiation of Hls O
capLevelToPlayerSize: false, capLevelToPlayerSize: false,
debug : false, debug : false,
defaultAudioCodec : undefined, defaultAudioCodec : undefined,
initialLiveManifestSize: 1,
maxBufferLength : 30, maxBufferLength : 30,
maxMaxBufferLength : 600, maxMaxBufferLength : 600,
maxBufferSize : 60*1000*1000, maxBufferSize : 60*1000*1000,
@ -254,6 +255,11 @@ a logger object could also be provided for custom logging : ```config.debug=cust
- ```mp4a.40.5``` (HE-AAC) or - ```mp4a.40.5``` (HE-AAC) or
- ```undefined``` (guess based on sampling rate) - ```undefined``` (guess based on sampling rate)
#### ```initialLiveManifestSize```
(default 1)
number of segments needed to start a playback of Live stream.
#### ```maxBufferLength``` #### ```maxBufferLength```
(default 30s) (default 30s)
@ -280,11 +286,15 @@ hls.js will jump over this buffer hole to reach the beginning of this following
```maxSeekHole``` allows to configure this jumpable threshold. ```maxSeekHole``` allows to configure this jumpable threshold.
#### ```maxStarvationDelay``` #### ```maxStarvationDelay```
(default 2s) (default 4s)
ABR algorithm will always try to choose a quality level that should avoid rebuffering. ABR algorithm will always try to choose a quality level that should avoid rebuffering.
In case no quality level with this criteria can be found (lets say for example that buffer length is 1s, but fetching a fragment at lowest quality is predicted to take around 2s ... ie we can forecast around 1s of rebuffering ...) then ABR algorithm will try to find a level that should guarantee less than ```maxStarvationDelay``` of buffering. In case no quality level with this criteria can be found (lets say for example that buffer length is 1s, but fetching a fragment at lowest quality is predicted to take around 2s ... ie we can forecast around 1s of rebuffering ...) then ABR algorithm will try to find a level that should guarantee less than ```maxStarvationDelay``` of buffering.
this max delay is also used in automatic start level selection : in that mode ABR controller will ensure that video loading time (ie the time to fetch the first fragment at lowest quality level + the time to fetch the fragment at the appropriate quality level is less than ```maxStarvationDelay``` )
#### ```maxLoadingDelay```
(default 4s)
max video loading delay used in automatic start level selection : in that mode ABR controller will ensure that video loading time (ie the time to fetch the first fragment at lowest quality level + the time to fetch the fragment at the appropriate quality level is less than ```maxLoadingDelay``` )
#### ```seekHoleNudgeDuration``` #### ```seekHoleNudgeDuration```
(default 0.01s) (default 0.01s)

View file

@ -1,6 +1,6 @@
{ {
"name": "hls.js", "name": "hls.js",
"version": "0.5.51", "version": "0.5.52",
"license": "Apache-2.0", "license": "Apache-2.0",
"description": "Media Source Extension - HLS library, by/for Dailymotion", "description": "Media Source Extension - HLS library, by/for Dailymotion",
"homepage": "https://github.com/dailymotion/hls.js", "homepage": "https://github.com/dailymotion/hls.js",

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{ {
"name": "hls.js", "name": "hls.js",
"version": "0.5.51", "version": "0.5.52",
"license": "Apache-2.0", "license": "Apache-2.0",
"description": "Media Source Extension - HLS library, by/for Dailymotion", "description": "Media Source Extension - HLS library, by/for Dailymotion",
"homepage": "https://github.com/dailymotion/hls.js", "homepage": "https://github.com/dailymotion/hls.js",
@ -35,7 +35,7 @@
"babel": "babel src --out-dir lib" "babel": "babel src --out-dir lib"
}, },
"dependencies": { "dependencies": {
"webworkify": "^1.0.2" "webworkify": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
"babel-preset-es2015": "^6.3.13", "babel-preset-es2015": "^6.3.13",