shaka-player 3.2.20 → 3.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/selenium-lab-tests.yaml +23 -1
- package/AUTHORS +2 -1
- package/CHANGELOG.md +18 -0
- package/CONTRIBUTORS +4 -1
- package/dist/controls.css +1 -1
- package/dist/locales.js +28 -28
- package/dist/shaka-player.compiled.d.ts +6 -2
- package/dist/shaka-player.compiled.debug.d.ts +6 -2
- package/dist/shaka-player.compiled.debug.js +148 -146
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +264 -263
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +6 -2
- package/dist/shaka-player.ui.debug.d.ts +6 -2
- package/dist/shaka-player.ui.debug.js +87 -85
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +296 -295
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/fairplay.md +2 -2
- package/externs/shaka/net.js +1 -0
- package/externs/shaka/player.js +13 -7
- package/lib/ads/client_side_ad_manager.js +2 -2
- package/lib/media/media_source_engine.js +9 -4
- package/lib/media/streaming_engine.js +8 -3
- package/lib/net/http_fetch_plugin.js +10 -0
- package/lib/net/networking_engine.js +1 -0
- package/lib/player.js +17 -2
- package/lib/polyfill/media_capabilities.js +13 -0
- package/lib/text/mp4_vtt_parser.js +4 -0
- package/lib/text/text_engine.js +1 -0
- package/lib/util/manifest_parser_utils.js +1 -2
- package/lib/util/mime_utils.js +11 -0
- package/lib/util/stream_utils.js +2 -2
- package/maintained-branches.md +3 -4
- package/package.json +1 -1
- package/test/media/content_workarounds_unit.js +43 -0
- package/test/media/drm_engine_integration.js +4 -17
- package/test/media/streaming_engine_unit.js +6 -1
- package/test/net/networking_engine_unit.js +6 -1
- package/test/player_integration.js +39 -0
- package/test/player_unit.js +54 -0
- package/test/polyfill/media_capabilities_unit.js +0 -1
- package/test/test/assets/text-clip-alt.vtt +63 -0
- package/test/test/util/fake_drm_engine.js +3 -0
- package/test/test/util/simple_fakes.js +3 -0
- package/test/test/util/test_scheme.js +9 -14
- package/test/text/mp4_vtt_parser_unit.js +8 -0
- package/test/util/mime_utils_unit.js +10 -0
|
@@ -11,6 +11,9 @@ on:
|
|
|
11
11
|
test_filter:
|
|
12
12
|
description: "A regex filter to run a subset of the tests. If empty, all tests will run."
|
|
13
13
|
required: false
|
|
14
|
+
browser_filter:
|
|
15
|
+
description: "A list of browsers to run the tests. If empty, all browsers will run."
|
|
16
|
+
required: false
|
|
14
17
|
workflow_call:
|
|
15
18
|
# Allows for reuse from other workflows, such as "Update All Screenshots"
|
|
16
19
|
# workflow.
|
|
@@ -23,6 +26,10 @@ on:
|
|
|
23
26
|
description: "A regex filter to run a subset of the tests. If empty, all tests will run."
|
|
24
27
|
required: false
|
|
25
28
|
type: string
|
|
29
|
+
browser_filter:
|
|
30
|
+
description: "A list of browsers to run the tests. If empty, all browsers will run."
|
|
31
|
+
required: false
|
|
32
|
+
type: string
|
|
26
33
|
ignore_test_status:
|
|
27
34
|
description: "If true, ignore test success or failure, never set the commit status, and always upload screenshots."
|
|
28
35
|
required: false
|
|
@@ -79,6 +86,14 @@ jobs:
|
|
|
79
86
|
const yaml = require(
|
|
80
87
|
'${{ github.workspace }}/node_modules/js-yaml/index.js');
|
|
81
88
|
|
|
89
|
+
// Convert the input "browser_filter" into a set of strings. Take
|
|
90
|
+
// care to filter so that the empty string turns into an empty set.
|
|
91
|
+
const browserFilter = new Set( "${{ inputs.browser_filter }}"
|
|
92
|
+
.split(/\s+/)
|
|
93
|
+
.map(x => x.toLowerCase())
|
|
94
|
+
.filter(x => !!x)
|
|
95
|
+
);
|
|
96
|
+
|
|
82
97
|
const gridBrowserYaml =
|
|
83
98
|
fs.readFileSync('build/shaka-lab.yaml', 'utf8');
|
|
84
99
|
const gridBrowserMetadata = yaml.load(gridBrowserYaml);
|
|
@@ -90,7 +105,14 @@ jobs:
|
|
|
90
105
|
// Skip variable defs in the YAML file
|
|
91
106
|
continue;
|
|
92
107
|
}
|
|
93
|
-
|
|
108
|
+
|
|
109
|
+
// A browser is enabled if it's not disabled and (either the browser
|
|
110
|
+
// filter is empty or it contains the browser name).
|
|
111
|
+
const enabled = !gridBrowserMetadata[name].disabled &&
|
|
112
|
+
(browserFilter.size == 0 ||
|
|
113
|
+
browserFilter.has(name.toLowerCase()));
|
|
114
|
+
|
|
115
|
+
if (enabled) {
|
|
94
116
|
include.push({browser: name});
|
|
95
117
|
}
|
|
96
118
|
}
|
package/AUTHORS
CHANGED
|
@@ -17,7 +17,7 @@ AdsWizz <*@adswizz.com>
|
|
|
17
17
|
Adrián Gómez Llorente <adgllorente@gmail.com>
|
|
18
18
|
Alex Jones <alexedwardjones@gmail.com>
|
|
19
19
|
Alugha GmbH <*@alugha.com>
|
|
20
|
-
Alvaro Velad Galvan <
|
|
20
|
+
Alvaro Velad Galvan <ladvan91@hotmail.com>
|
|
21
21
|
Amila Sampath <lucksy@gmail.com>
|
|
22
22
|
Anthony Stansbridge <github@anthonystansbridge.co.uk>
|
|
23
23
|
Benjamin Wallberg <me@bwallberg.com>
|
|
@@ -82,3 +82,4 @@ Vincent Valot <valot.vince@gmail.com>
|
|
|
82
82
|
Wayne Morgan <wayne.morgan.dev@gmail.com>
|
|
83
83
|
Raymond Cheng <raycheng100@gmail.com>
|
|
84
84
|
Blue Billywig <*@bluebillywig.com>
|
|
85
|
+
Xperi <*@xperi.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.2.21](https://github.com/shaka-project/shaka-player/compare/v3.2.20...v3.2.21) (2023-04-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* `config.streaming.preferNativeHls` only applies to HLS streams ([#5167](https://github.com/shaka-project/shaka-player/issues/5167)) ([f3e9dab](https://github.com/shaka-project/shaka-player/commit/f3e9dabb3437c126e172ea97e6e793aa9140d3c7)), closes [#5166](https://github.com/shaka-project/shaka-player/issues/5166)
|
|
9
|
+
* **Ads:** Fix usage of EventManager on CS ([#5084](https://github.com/shaka-project/shaka-player/issues/5084)) ([e97264c](https://github.com/shaka-project/shaka-player/commit/e97264c041ed8b24930df0f660d8d50ee60bf2ca))
|
|
10
|
+
* Fix fetch plugin with old implementations ([#5091](https://github.com/shaka-project/shaka-player/issues/5091)) ([0004ade](https://github.com/shaka-project/shaka-player/commit/0004ade02bc6a6ebb84583f433b5f1130797aaeb))
|
|
11
|
+
* Fix handling of CC when switching between codecs ([#5160](https://github.com/shaka-project/shaka-player/issues/5160)) ([2203087](https://github.com/shaka-project/shaka-player/commit/2203087b1e94c328f1fc095b5e17ff690b31453b))
|
|
12
|
+
* Fix HEAD request exception ([#5194](https://github.com/shaka-project/shaka-player/issues/5194)) ([265829b](https://github.com/shaka-project/shaka-player/commit/265829b074f922b550e51fa10ce7f87dd222ffe9)), closes [#5164](https://github.com/shaka-project/shaka-player/issues/5164)
|
|
13
|
+
* Fix missing originalUri in response filters ([#5114](https://github.com/shaka-project/shaka-player/issues/5114)) ([7dafd2f](https://github.com/shaka-project/shaka-player/commit/7dafd2f782e6edc2d7fcf38b0db3884b28a6fd2c))
|
|
14
|
+
* Fix race that allows multiple text streams to be loaded ([#5129](https://github.com/shaka-project/shaka-player/issues/5129)) ([35832b1](https://github.com/shaka-project/shaka-player/commit/35832b1b9c9c3eb08ff64ba90661a2f8f0f2c3db))
|
|
15
|
+
* Fix selectVariantsByLabel using src= ([#5154](https://github.com/shaka-project/shaka-player/issues/5154)) ([7e3adce](https://github.com/shaka-project/shaka-player/commit/7e3adce4a30063d581f25bbe6aab35d54376e95c))
|
|
16
|
+
* Handle empty media segments for Mp4VttParser ([#5131](https://github.com/shaka-project/shaka-player/issues/5131)) ([bbaffe8](https://github.com/shaka-project/shaka-player/commit/bbaffe8865aed2b4957fe4f5155174f823611cc7)), closes [#4429](https://github.com/shaka-project/shaka-player/issues/4429)
|
|
17
|
+
* **HLS:** Adding support for DTS Express in HLS fMP4 ([#5112](https://github.com/shaka-project/shaka-player/issues/5112)) ([#5117](https://github.com/shaka-project/shaka-player/issues/5117)) ([de90328](https://github.com/shaka-project/shaka-player/commit/de90328cec936d3dba986396aefb5d2d69a9b373))
|
|
18
|
+
* Prevent bad calls to MediaSource.endOfStream ([#5071](https://github.com/shaka-project/shaka-player/issues/5071)) ([c56bea6](https://github.com/shaka-project/shaka-player/commit/c56bea6d3e2f01c964db077219031f1dd068ef91)), closes [#5070](https://github.com/shaka-project/shaka-player/issues/5070)
|
|
19
|
+
* Tizen video error fixed by checking the extended MIME type ([#4973](https://github.com/shaka-project/shaka-player/issues/4973)) ([426816e](https://github.com/shaka-project/shaka-player/commit/426816ed01a708fb82e277b3c2fc5c39a1b65fad)), closes [#4634](https://github.com/shaka-project/shaka-player/issues/4634)
|
|
20
|
+
|
|
3
21
|
## [3.2.20](https://github.com/shaka-project/shaka-player/compare/v3.2.19...v3.2.20) (2023-03-02)
|
|
4
22
|
|
|
5
23
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -27,7 +27,7 @@ Adrián Gómez Llorente <adgllorente@gmail.com>
|
|
|
27
27
|
Agajan Jumakuliyev <agajan.tm@gmail.com>
|
|
28
28
|
Aidan Ridley <aidan.ridley@charter.com>
|
|
29
29
|
Alex Jones <alexedwardjones@gmail.com>
|
|
30
|
-
Alvaro Velad Galvan <
|
|
30
|
+
Alvaro Velad Galvan <ladvan91@hotmail.com>
|
|
31
31
|
Amila Sampath <lucksy@gmail.com>
|
|
32
32
|
Andy Hochhaus <ahochhaus@samegoal.com>
|
|
33
33
|
Anthony Stansbridge <github@anthonystansbridge.co.uk>
|
|
@@ -117,6 +117,9 @@ Vasanth Polipelli <vasanthap@google.com>
|
|
|
117
117
|
Vignesh Venkatasubramanian <vigneshv@google.com>
|
|
118
118
|
Vincent Valot <valot.vince@gmail.com>
|
|
119
119
|
Wayne Morgan <wayne.morgan.dev@gmail.com>
|
|
120
|
+
Wen Ren <renwen0615@gmail.com>
|
|
121
|
+
Will Harris <will.harris@paramount.com>
|
|
120
122
|
Yohann Connell <robinconnell@google.com>
|
|
121
123
|
Raymond Cheng <raycheng100@gmail.com>
|
|
122
124
|
Janroel Koppen <j.koppen@bluebillywig.com>
|
|
125
|
+
Ashley Manners <ashley.manners@xperi.com>
|
package/dist/controls.css
CHANGED
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
28
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
29
|
* SOFTWARE.
|
|
30
|
-
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0 0 0 / 40%);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0 0 0 / 54%)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-captions-on{color:#000}.shaka-captions-off{color:grey}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-ad-controls .shaka-ad-position:not(.shaka-hidden)+.shaka-ad-counter{margin-left:.75em}.shaka-skip-ad-container{position:relative;right:calc((100% - 96%)/ 2 * -1);display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0 0 0 / 70%);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0 0 0 / 30%)}.shaka-skip-ad-counter{padding:5px;background:rgba(0 0 0 / 70%);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/
|
|
30
|
+
*/.shaka-spinner-svg{position:absolute;top:0;left:0;right:0;bottom:0;animation:rotate 2s linear infinite;transform-origin:center center;width:100%;height:100%;margin:0;padding:0}.shaka-spinner-path{stroke:#202124;stroke-dasharray:20,200;stroke-dashoffset:0;animation:dash 1s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.shaka-spacer{cursor:default;flex-shrink:1;flex-grow:1;margin:0}.shaka-overflow-menu,.shaka-settings-menu{overflow-x:hidden;overflow-y:auto;white-space:nowrap;background:#fff;box-shadow:0 1px 9px 0 rgba(0 0 0 / 40%);border-radius:2px;max-height:250px;min-width:180px;opacity:0;transition:opacity cubic-bezier(.4, 0, .6, 1) .6s;display:flex;flex-direction:column;position:absolute;z-index:2;right:15px;bottom:30px}.shaka-controls-container[casting=true] .shaka-overflow-menu,.shaka-controls-container[casting=true] .shaka-settings-menu,.shaka-controls-container[shown=true] .shaka-overflow-menu,.shaka-controls-container[shown=true] .shaka-settings-menu{opacity:1}.shaka-overflow-menu button,.shaka-settings-menu button{font-size:14px;background:0 0;color:#000;border:none;min-height:30px;padding:3.5px 6px;display:flex;align-items:center;cursor:pointer}.shaka-overflow-menu button:hover,.shaka-settings-menu button:hover{background:#e0e0e0}.shaka-overflow-menu button label,.shaka-settings-menu button label{cursor:pointer}.shaka-keyboard-navigation .shaka-overflow-menu button:focus,.shaka-keyboard-navigation .shaka-settings-menu button:focus{background:#e0e0e0}.shaka-overflow-menu i,.shaka-settings-menu i{padding-left:10px;padding-right:10px}.shaka-overflow-menu.shaka-low-position,.shaka-settings-menu.shaka-low-position{bottom:15px}.shaka-overflow-menu span{text-align:left}.shaka-overflow-button-label{position:relative;display:flex;flex-direction:column}.shaka-current-selection-span{color:rgba(0 0 0 / 54%)}.shaka-settings-menu span{margin-left:54px}.shaka-back-to-overflow-button span{margin-left:0}.shaka-back-to-overflow-button i{padding-right:20px}.shaka-auto-span{left:17px}.shaka-captions-on{color:#000}.shaka-captions-off{color:grey}.shaka-controls-container[ad-active=true]{pointer-events:none}.shaka-controls-container[ad-active=true] .shaka-bottom-controls{pointer-events:auto}.shaka-client-side-ad-container,.shaka-server-side-ad-container{position:absolute;left:0;right:0;top:0;bottom:0}.shaka-video-container[shaka-controls=true] .shaka-client-side-ad-container iframe,.shaka-video-container[shaka-controls=true] .shaka-server-side-ad-container iframe{height:90%}.shaka-server-side-ad-container{width:100%;height:100%;flex-shrink:1}.shaka-server-side-ad-container:not([ad-active=true]){pointer-events:none}.shaka-ad-controls{display:flex;flex-direction:row;z-index:1;padding-bottom:1%}.shaka-video-container:not([shaka-controls=true]) .shaka-ad-controls{display:none}.shaka-ad-controls button,.shaka-ad-controls div{color:#fff;font-size:initial}.shaka-ad-controls div:not(.shaka-skip-ad-counter){margin:1px}.shaka-ad-counter,.shaka-ad-position{display:flex;justify-content:flex-end;flex-direction:column;text-shadow:1px 1px 4px #000}.shaka-ad-controls .shaka-ad-position:not(.shaka-hidden)+.shaka-ad-counter{margin-left:.75em}.shaka-skip-ad-container{position:relative;right:calc((100% - 96%)/ 2 * -1);display:flex;flex-direction:row;margin:0}.shaka-skip-ad-button{padding:5px 15px;background:rgba(0 0 0 / 70%);border:none;cursor:pointer}.shaka-skip-ad-button:disabled{background:rgba(0 0 0 / 30%)}.shaka-skip-ad-counter{padding:5px;background:rgba(0 0 0 / 70%);margin:0}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/v108/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmM.otf) format('opentype')}.material-icons-round{font-family:'Material Icons Round';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr}/*# sourceMappingURL=controls.css.map */
|
package/dist/locales.js
CHANGED
|
@@ -719,43 +719,43 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
719
719
|
* @const
|
|
720
720
|
*/
|
|
721
721
|
shaka.ui.Locales.Ids = {
|
|
722
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
723
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
724
|
-
AD_TIME: 'AD_TIME',
|
|
725
722
|
LIVE: 'LIVE',
|
|
723
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
724
|
+
AD_DURATION: 'AD_DURATION',
|
|
726
725
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
727
|
-
|
|
726
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
728
727
|
BACK: 'BACK',
|
|
729
|
-
|
|
730
|
-
ON: 'ON',
|
|
731
|
-
AIRPLAY: 'AIRPLAY',
|
|
728
|
+
RESOLUTION: 'RESOLUTION',
|
|
732
729
|
REPLAY: 'REPLAY',
|
|
730
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
731
|
+
LOOP: 'LOOP',
|
|
732
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
733
|
+
AIRPLAY: 'AIRPLAY',
|
|
734
|
+
CAST: 'CAST',
|
|
733
735
|
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
737
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
736
|
+
REWIND: 'REWIND',
|
|
737
|
+
CAPTIONS: 'CAPTIONS',
|
|
738
738
|
UNMUTE: 'UNMUTE',
|
|
739
|
+
ON: 'ON',
|
|
740
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
741
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
739
742
|
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
740
|
-
SKIP_AD: 'SKIP_AD',
|
|
741
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
742
|
-
REWIND: 'REWIND',
|
|
743
743
|
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
744
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
745
|
-
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
746
744
|
LANGUAGE: 'LANGUAGE',
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
745
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
746
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
747
|
+
AD_TIME: 'AD_TIME',
|
|
748
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
749
|
+
SEEK: 'SEEK',
|
|
750
|
+
OFF: 'OFF',
|
|
751
|
+
SKIP_AD: 'SKIP_AD',
|
|
752
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
753
|
+
PLAY: 'PLAY',
|
|
755
754
|
VOLUME: 'VOLUME',
|
|
756
|
-
|
|
755
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
756
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
757
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
758
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
757
759
|
MUTE: 'MUTE',
|
|
758
|
-
|
|
759
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
760
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
760
|
+
PAUSE: 'PAUSE',
|
|
761
761
|
};
|
|
@@ -3384,7 +3384,7 @@ declare namespace shaka.extern {
|
|
|
3384
3384
|
}
|
|
3385
3385
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
|
|
3386
3386
|
declare namespace shaka.extern {
|
|
3387
|
-
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , timeMs ? : number , uri : string } ;
|
|
3387
|
+
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , timeMs ? : number , uri : string } ;
|
|
3388
3388
|
}
|
|
3389
3389
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
|
|
3390
3390
|
declare namespace shaka.extern {
|
|
@@ -3639,7 +3639,7 @@ declare namespace shaka.extern {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3641
3641
|
declare namespace shaka.extern {
|
|
3642
|
-
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? :
|
|
3642
|
+
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
|
|
3643
3643
|
}
|
|
3644
3644
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3645
3645
|
declare namespace shaka.extern {
|
|
@@ -3658,6 +3658,10 @@ declare namespace shaka.extern {
|
|
|
3658
3658
|
type ID3Metadata = { [ key: string ]: any } ;
|
|
3659
3659
|
}
|
|
3660
3660
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3661
|
+
declare namespace shaka.extern {
|
|
3662
|
+
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
3663
|
+
}
|
|
3664
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3661
3665
|
declare namespace shaka.extern {
|
|
3662
3666
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
3663
3667
|
}
|
|
@@ -3384,7 +3384,7 @@ declare namespace shaka.extern {
|
|
|
3384
3384
|
}
|
|
3385
3385
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
|
|
3386
3386
|
declare namespace shaka.extern {
|
|
3387
|
-
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , timeMs ? : number , uri : string } ;
|
|
3387
|
+
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , timeMs ? : number , uri : string } ;
|
|
3388
3388
|
}
|
|
3389
3389
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
|
|
3390
3390
|
declare namespace shaka.extern {
|
|
@@ -3639,7 +3639,7 @@ declare namespace shaka.extern {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3641
3641
|
declare namespace shaka.extern {
|
|
3642
|
-
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? :
|
|
3642
|
+
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
|
|
3643
3643
|
}
|
|
3644
3644
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3645
3645
|
declare namespace shaka.extern {
|
|
@@ -3658,6 +3658,10 @@ declare namespace shaka.extern {
|
|
|
3658
3658
|
type ID3Metadata = { [ key: string ]: any } ;
|
|
3659
3659
|
}
|
|
3660
3660
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3661
|
+
declare namespace shaka.extern {
|
|
3662
|
+
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
3663
|
+
}
|
|
3664
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
3661
3665
|
declare namespace shaka.extern {
|
|
3662
3666
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
3663
3667
|
}
|