From b262c3fbfcf7cc51c1a088bb6465136577d5b8ca Mon Sep 17 00:00:00 2001 From: boyntoni Date: Mon, 29 Oct 2018 14:04:49 -0400 Subject: [PATCH] v8.6.1 --- docs/api/Api.html | 2 +- docs/api/BackgroundMedia.html | 2 +- docs/api/CaptionsRenderer.html | 2 +- docs/api/InstreamAdapter.html | 2 +- docs/api/ProgramController.html | 2 +- docs/api/Timer.html | 2 +- docs/api/global.html | 2 +- docs/api/index.html | 2 +- docs/api/module-api_Setup-Setup.html | 2 +- docs/api/module-api_Setup.html | 2 +- docs/api/module-api_errors-PlayerError.html | 2 +- docs/api/module-api_errors.html | 2 +- docs/api/module-events_events.html | 2 +- docs/api/module-providers_html5.html | 2 +- .../module-providers_utils_stream-type.html | 447 ++++++++++++++++++ docs/api/module-utils_validator.html | 2 +- package.json | 2 +- 17 files changed, 463 insertions(+), 16 deletions(-) create mode 100644 docs/api/module-providers_utils_stream-type.html diff --git a/docs/api/Api.html b/docs/api/Api.html index 19f2a30182..aac5ecc2dc 100644 --- a/docs/api/Api.html +++ b/docs/api/Api.html @@ -11280,7 +11280,7 @@
Returns:

diff --git a/docs/api/BackgroundMedia.html b/docs/api/BackgroundMedia.html index efca9bf2e2..7158d6a088 100644 --- a/docs/api/BackgroundMedia.html +++ b/docs/api/BackgroundMedia.html @@ -242,7 +242,7 @@
Properties:

diff --git a/docs/api/CaptionsRenderer.html b/docs/api/CaptionsRenderer.html index 57ecfab4e2..6b64dba2ae 100644 --- a/docs/api/CaptionsRenderer.html +++ b/docs/api/CaptionsRenderer.html @@ -328,7 +328,7 @@
Returns:

diff --git a/docs/api/InstreamAdapter.html b/docs/api/InstreamAdapter.html index cef7172071..f5a7b2f60e 100644 --- a/docs/api/InstreamAdapter.html +++ b/docs/api/InstreamAdapter.html @@ -2591,7 +2591,7 @@
Returns:

diff --git a/docs/api/ProgramController.html b/docs/api/ProgramController.html index 7d818d56d0..d0369055de 100644 --- a/docs/api/ProgramController.html +++ b/docs/api/ProgramController.html @@ -2720,7 +2720,7 @@
Returns:

diff --git a/docs/api/Timer.html b/docs/api/Timer.html index b9336afafd..783de1b6e8 100644 --- a/docs/api/Timer.html +++ b/docs/api/Timer.html @@ -1026,7 +1026,7 @@
Returns:

diff --git a/docs/api/global.html b/docs/api/global.html index 768ad55fe1..8b82fbcd38 100644 --- a/docs/api/global.html +++ b/docs/api/global.html @@ -3583,7 +3583,7 @@
Properties:

diff --git a/docs/api/index.html b/docs/api/index.html index 9e93171254..f40ef538df 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -57,7 +57,7 @@


diff --git a/docs/api/module-api_Setup-Setup.html b/docs/api/module-api_Setup-Setup.html index b32b880488..b11f9d27a3 100644 --- a/docs/api/module-api_Setup-Setup.html +++ b/docs/api/module-api_Setup-Setup.html @@ -447,7 +447,7 @@
Returns:

diff --git a/docs/api/module-api_Setup.html b/docs/api/module-api_Setup.html index 56708756f2..5b99b0bb7a 100644 --- a/docs/api/module-api_Setup.html +++ b/docs/api/module-api_Setup.html @@ -371,7 +371,7 @@
Properties:

diff --git a/docs/api/module-api_errors-PlayerError.html b/docs/api/module-api_errors-PlayerError.html index 9e5262dd9a..f443f490a0 100644 --- a/docs/api/module-api_errors-PlayerError.html +++ b/docs/api/module-api_errors-PlayerError.html @@ -274,7 +274,7 @@
Parameters:

diff --git a/docs/api/module-api_errors.html b/docs/api/module-api_errors.html index 0e658b820a..4102e7d807 100644 --- a/docs/api/module-api_errors.html +++ b/docs/api/module-api_errors.html @@ -2052,7 +2052,7 @@
Type:

diff --git a/docs/api/module-events_events.html b/docs/api/module-events_events.html index 2843a3a4a7..84a139ba04 100644 --- a/docs/api/module-events_events.html +++ b/docs/api/module-events_events.html @@ -4589,7 +4589,7 @@

(static, constant) <
diff --git a/docs/api/module-providers_html5.html b/docs/api/module-providers_html5.html index 9d4106767f..fb14e7aa6a 100644 --- a/docs/api/module-providers_html5.html +++ b/docs/api/module-providers_html5.html @@ -350,7 +350,7 @@
Type:

diff --git a/docs/api/module-providers_utils_stream-type.html b/docs/api/module-providers_utils_stream-type.html new file mode 100644 index 0000000000..e1ce5ad0c9 --- /dev/null +++ b/docs/api/module-providers_utils_stream-type.html @@ -0,0 +1,447 @@ + + + + + JSDoc: Module: providers/utils/stream-type + + + + + + + + + + +
+ +

Module: providers/utils/stream-type

+ + + + + + +
+ +
+ + + +
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

(static) isDvr(duration, minDvrWindow) → {boolean}

+ + + + + + +
+

It's DVR if the duration is not Infinity and above the minDvrWindow, Live otherwise.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
duration + + +Number + + + +

The duration or seekable range of a stream in seconds.

minDvrWindow + + +Number + + + +

The duration threshold beyond which a stream should be treated as DVR instead of Live.

+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

DVR or not.

+
+ + + +
+
+ Type +
+
+ +boolean + + +
+
+ + + + + + + + + + + + + +

(static) streamType(duration, minDvrWindow) → {'VOD'|'LIVE'|'DVR'}

+ + + + + + +
+

Determine the adaptive type.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
duration + + +Number + + + +

The duration or seekable range of a stream in seconds. Can be positive or negative. +Positive or non-infinite values will result in a return value of 'VOD'. Infinite values always return 'LIVE'.

minDvrWindow + + +Number + + + +

The duration threshold beyond which a stream should be treated as DVR instead of Live. +minDvrWindow should always be positive.

+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

The stream typeR.

+
+ + + +
+
+ Type +
+
+ +'VOD' +| + +'LIVE' +| + +'DVR' + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/api/module-utils_validator.html b/docs/api/module-utils_validator.html index be0ef5bc97..dff454b17b 100644 --- a/docs/api/module-utils_validator.html +++ b/docs/api/module-utils_validator.html @@ -1009,7 +1009,7 @@
Returns:

diff --git a/package.json b/package.json index 4c91dbfc25..3a0b4cf6ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jwplayer", - "version": "8.6.0", + "version": "8.6.1", "description": "The JW Player is free for non-commerical use. To buy a license for commercial use, please visit \r http://www.jwplayer.com/pricing/", "repository": "git@github.com:jwplayer/jwplayer.git", "homepage": "https://github.com/jwplayer/jwplayer",