shaka-player 4.3.12 → 4.3.14
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/ISSUE_TEMPLATE/bug_report.md +1 -1
- package/.github/ISSUE_TEMPLATE/question.md +7 -0
- package/.github/workflows/release-please.yaml +2 -27
- package/AUTHORS +5 -0
- package/CHANGELOG.md +108 -0
- package/CODE_OF_CONDUCT.md +1 -1
- package/CONTRIBUTORS +6 -0
- package/README.md +2 -0
- package/demo/common/asset.js +5 -1
- package/demo/common/assets.js +16 -2
- package/demo/common/message_ids.js +1 -0
- package/demo/custom.js +2 -0
- package/demo/locales/en.json +1 -0
- package/demo/locales/source.json +4 -0
- package/demo/main.js +1 -1
- package/dist/demo.compiled.debug.js +56 -54
- package/dist/demo.compiled.debug.map +3 -3
- package/dist/demo.compiled.js +56 -54
- package/dist/demo.compiled.map +3 -3
- package/dist/deps.js +6 -6
- package/dist/locales.js +31 -31
- package/dist/receiver.compiled.debug.js +24 -22
- package/dist/receiver.compiled.debug.map +3 -3
- package/dist/receiver.compiled.js +24 -22
- package/dist/receiver.compiled.map +3 -3
- package/dist/shaka-player.compiled.d.ts +26 -6
- package/dist/shaka-player.compiled.debug.d.ts +26 -6
- package/dist/shaka-player.compiled.debug.externs.js +79 -49
- package/dist/shaka-player.compiled.debug.js +426 -410
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +79 -49
- package/dist/shaka-player.compiled.js +912 -901
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +38 -7
- package/dist/shaka-player.ui.debug.d.ts +38 -7
- package/dist/shaka-player.ui.debug.externs.js +80 -49
- package/dist/shaka-player.ui.debug.js +460 -442
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +80 -49
- package/dist/shaka-player.ui.js +1060 -1049
- package/dist/shaka-player.ui.map +4 -4
- package/docs/tutorials/ad_monetization.md +54 -0
- package/docs/tutorials/fairplay.md +2 -2
- package/docs/tutorials/index.json +1 -0
- package/docs/tutorials/offline.md +1 -1
- package/docs/tutorials/plugins.md +4 -0
- package/docs/tutorials/text-displayer.md +15 -0
- package/docs/tutorials/ui-customization.md +29 -0
- package/docs/tutorials/ui.md +4 -1
- package/externs/lcevc.js +6 -0
- package/externs/shaka/manifest_parser.js +8 -0
- package/externs/shaka/player.js +1 -1
- package/externs/shaka/text.js +3 -1
- package/lib/abr/simple_abr_manager.js +1 -1
- package/lib/ads/client_side_ad.js +9 -0
- package/lib/ads/client_side_ad_manager.js +7 -2
- package/lib/ads/server_side_ad_manager.js +4 -0
- package/lib/cast/cast_proxy.js +18 -0
- package/lib/cea/cea608_memory.js +1 -1
- package/lib/cea/cea_decoder.js +11 -1
- package/lib/dash/dash_parser.js +79 -42
- package/lib/dash/mpd_utils.js +39 -27
- package/lib/hls/hls_parser.js +148 -49
- package/lib/hls/hls_utils.js +5 -5
- package/lib/media/content_workarounds.js +30 -0
- package/lib/media/drm_engine.js +16 -12
- package/lib/media/media_source_engine.js +4 -2
- package/lib/media/play_rate_controller.js +1 -0
- package/lib/media/presentation_timeline.js +11 -0
- package/lib/media/quality_observer.js +1 -1
- package/lib/media/segment_reference.js +16 -7
- package/lib/media/streaming_engine.js +64 -54
- package/lib/media/transmuxer.js +1 -1
- package/lib/media/video_wrapper.js +4 -3
- package/lib/offline/offline_manifest_parser.js +5 -0
- package/lib/offline/session_deleter.js +0 -8
- package/lib/offline/storage.js +4 -1
- package/lib/player.js +79 -18
- package/lib/polyfill/media_capabilities.js +23 -3
- package/lib/text/mp4_ttml_parser.js +2 -2
- package/lib/text/simple_text_displayer.js +7 -6
- package/lib/text/srt_text_parser.js +2 -2
- package/lib/text/text_engine.js +3 -2
- package/lib/text/ttml_text_parser.js +33 -5
- package/lib/text/ui_text_displayer.js +81 -15
- package/lib/text/vtt_text_parser.js +13 -0
- package/lib/util/buffer_utils.js +26 -4
- package/lib/util/cmcd_manager.js +16 -1
- package/lib/util/fairplay_utils.js +1 -1
- package/lib/util/manifest_parser_utils.js +20 -8
- package/lib/util/object_utils.js +1 -1
- package/lib/util/periods.js +91 -36
- package/lib/util/platform.js +39 -2
- package/lib/util/player_configuration.js +5 -3
- package/lib/util/stream_utils.js +36 -28
- package/lib/util/ts_parser.js +3 -3
- package/lib/util/xml_utils.js +5 -0
- package/package.json +2 -2
- package/test/cea/cea_decoder_unit.js +40 -0
- package/test/dash/dash_parser_live_unit.js +5 -8
- package/test/dash/dash_parser_manifest_unit.js +5 -0
- package/test/dash/dash_parser_segment_base_unit.js +5 -0
- package/test/dash/dash_parser_segment_list_unit.js +21 -17
- package/test/dash/dash_parser_segment_template_unit.js +5 -0
- package/test/hls/hls_live_unit.js +33 -0
- package/test/hls/hls_parser_unit.js +52 -60
- package/test/media/buffering_observer_unit.js +13 -0
- package/test/media/content_workarounds_unit.js +1 -1
- package/test/media/drm_engine_unit.js +30 -3
- package/test/media/media_source_engine_unit.js +1 -1
- package/test/media/transmuxer_integration.js +2 -2
- package/test/offline/storage_integration.js +3 -0
- package/test/player_integration.js +40 -40
- package/test/player_unit.js +31 -0
- package/test/polyfill/media_capabilities_unit.js +12 -6
- package/test/test/util/dash_parser_util.js +16 -7
- package/test/test/util/fake_drm_engine.js +7 -0
- package/test/test/util/layout_tests.js +2 -1
- package/test/test/util/simple_fakes.js +2 -2
- package/test/test/util/test_scheme.js +3 -0
- package/test/test/util/waiter.js +5 -0
- package/test/text/mp4_ttml_parser_unit.js +4 -4
- package/test/text/simple_text_displayer_unit.js +1 -1
- package/test/text/srt_text_parser_unit.js +1 -1
- package/test/text/text_engine_unit.js +6 -0
- package/test/text/ttml_text_parser_unit.js +49 -18
- package/test/text/ui_text_displayer_unit.js +9 -0
- package/test/text/vtt_text_parser_unit.js +2 -17
- package/test/util/buffer_utils_unit.js +1 -1
- package/test/util/periods_unit.js +113 -0
- package/test/util/ts_parser_unit.js +1 -1
- package/third_party/closure-uri/uri.js +1 -1
- package/ui/externs/ui.js +24 -0
- package/ui/language_utils.js +11 -5
- package/ui/play_button.js +20 -0
- package/ui/playback_rate_selection.js +4 -0
- package/ui/presentation_time.js +5 -5
- package/ui/small_play_button.js +2 -2
- package/ui/volume_bar.js +10 -6
- /package/.github/{config.yml → ISSUE_TEMPLATE/config.yml} +0 -0
|
@@ -44,7 +44,7 @@ assignees: ''
|
|
|
44
44
|
|
|
45
45
|
**What are the manifest and license server URIs?**
|
|
46
46
|
<!-- NOTE:
|
|
47
|
-
You can send the URIs to <shaka-player-
|
|
47
|
+
You can send the URIs to <shaka-player-maintainers@googlegroups.com> instead,
|
|
48
48
|
but please use GitHub and the template for the rest.
|
|
49
49
|
A copy of the manifest text or an attached manifest will **not** be
|
|
50
50
|
enough to reproduce your issue, and we **will** ask you to send a
|
|
@@ -20,7 +20,14 @@ assignees: ''
|
|
|
20
20
|
**Have you read the [FAQ](https://bit.ly/ShakaFAQ) and checked for duplicate open issues?**
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
**If the question is related to FairPlay, have you read the tutorial?**
|
|
24
|
+
<!-- NOTE: https://shaka-player-demo.appspot.com/docs/api/tutorial-fairplay.html -->
|
|
25
|
+
|
|
26
|
+
|
|
23
27
|
**What version of Shaka Player are you using?**
|
|
24
28
|
|
|
25
29
|
|
|
30
|
+
**What browser and OS are you using?**
|
|
31
|
+
|
|
32
|
+
|
|
26
33
|
**Please ask your question**
|
|
@@ -23,33 +23,8 @@ jobs:
|
|
|
23
23
|
default-branch: ${{ github.ref_name }}
|
|
24
24
|
# Use a special shaka-bot access token for releases.
|
|
25
25
|
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
# Check out the code, then update the Player version in the PR.
|
|
29
|
-
- uses: actions/checkout@v3
|
|
30
|
-
if: steps.release.outputs.release_created == false
|
|
31
|
-
with:
|
|
32
|
-
# Use a special shaka-bot access token for releases.
|
|
33
|
-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
34
|
-
- name: Custom update Player version
|
|
35
|
-
if: steps.release.outputs.release_created == false
|
|
36
|
-
run: |
|
|
37
|
-
# Check out the branch that release-please created.
|
|
38
|
-
# If it does not exist, FAIL!
|
|
39
|
-
git fetch
|
|
40
|
-
git checkout release-please--branches--${{ github.ref_name }}--components--shaka-player || exit 1
|
|
41
|
-
# If it does exist, update lib/player.js in the PR branch, so that the
|
|
42
|
-
# -uncompiled tag remains in the player version in that context.
|
|
43
|
-
VERSION="v$(jq -r .version package.json)-uncompiled"
|
|
44
|
-
sed -e "s/^\\(shaka.Player.version =\\).*/\\1 '$VERSION';/" \
|
|
45
|
-
-i lib/player.js
|
|
46
|
-
git add lib/player.js
|
|
47
|
-
# Set missing git config for the commit.
|
|
48
|
-
git config user.name "shaka-bot"
|
|
49
|
-
git config user.email "shaka-bot@users.noreply.github.com"
|
|
50
|
-
# Update the PR.
|
|
51
|
-
git commit --amend --no-edit
|
|
52
|
-
git push -f
|
|
26
|
+
# Update these additional files containing version numbers.
|
|
27
|
+
extra-files: lib/player.js
|
|
53
28
|
|
|
54
29
|
# The jobs below are all conditional on a release having been created by
|
|
55
30
|
# someone merging the release PR. They all run in parallel.
|
package/AUTHORS
CHANGED
|
@@ -20,6 +20,7 @@ Alugha GmbH <*@alugha.com>
|
|
|
20
20
|
Alvaro Velad Galvan <ladvan91@hotmail.com>
|
|
21
21
|
Amila Sampath <lucksy@gmail.com>
|
|
22
22
|
Anthony Stansbridge <github@anthonystansbridge.co.uk>
|
|
23
|
+
Antonio Diaz Correa <hello@antoniodiaz.me>
|
|
23
24
|
Benjamin Wallberg <me@bwallberg.com>
|
|
24
25
|
Bonnier Broadcasting <*@bonnierbroadcasting.com>
|
|
25
26
|
Bryan Huh <bhh1988@gmail.com>
|
|
@@ -37,6 +38,7 @@ Gil Gonen <gil.gonen@gmail.com>
|
|
|
37
38
|
Giorgio Gamberoni <giorgio.gamberoni@gmail.com>
|
|
38
39
|
Giuseppe Samela <giuseppe.samela@gmail.com>
|
|
39
40
|
Google Inc. <*@google.com>
|
|
41
|
+
Ivan Kohut <i.kohut@yahoo.com>
|
|
40
42
|
Itay Kinnrot <Itay.Kinnrot@Kaltura.com>
|
|
41
43
|
Jaeseok Lee <devsunb@gmail.com>
|
|
42
44
|
Jason Palmer <jason@jason-palmer.com>
|
|
@@ -46,11 +48,13 @@ Jonas Birmé <jonas.birme@eyevinn.se>
|
|
|
46
48
|
Jozef Chúťka <jozefchutka@gmail.com>
|
|
47
49
|
Jun Hong Chong <chongjunhong@gmail.com>
|
|
48
50
|
Jürgen Kartnaller <kartnaller@lovelysystems.com>
|
|
51
|
+
Justin Swaney <justin.mark.swaney@gmail.com>
|
|
49
52
|
JW Player <*@jwplayer.com>
|
|
50
53
|
Lucas Gabriel Sánchez <unkiwii@gmail.com>
|
|
51
54
|
Martin Stark <martin.stark@eyevinn.se>
|
|
52
55
|
Matthias Van Parijs <matvp91@gmail.com>
|
|
53
56
|
Mattias Wadman <mattias.wadman@gmail.com>
|
|
57
|
+
Mirego <*@mirego.com>
|
|
54
58
|
Mohamed Rashid <ge_rashid@hotmail.co.uk>
|
|
55
59
|
Morten Hansen <mimo@mimo-design.com>
|
|
56
60
|
Nick Desaulniers <nick@mozilla.com>
|
|
@@ -78,6 +82,7 @@ Seongryun Jo <ocipap0531@gmail.com>
|
|
|
78
82
|
Swank Motion Pictures Inc. <*@swankmp.com>
|
|
79
83
|
TalkTalk Plc <*@talktalkplc.com>
|
|
80
84
|
Tatsiana Gelahova <tatsiana.gelahova@gmail.com>
|
|
85
|
+
Thomas Champion <thchampi@gmail.com>
|
|
81
86
|
Tomas Tichy <mr.tichyt@gmail.com>
|
|
82
87
|
Tomohiro Matsuzawa <thmatuza75@hotmail.com>
|
|
83
88
|
Toshihiro Suzuki <t.suzuki326@gmail.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.3.14](https://github.com/shaka-project/shaka-player/compare/v4.3.13...v4.3.14) (2024-02-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ABR:** Fix HLS playback after internet connection is restored ([#5879](https://github.com/shaka-project/shaka-player/issues/5879)) ([65d1157](https://github.com/shaka-project/shaka-player/commit/65d115768f36b4cbfc6c9851518f33ea25d66008))
|
|
9
|
+
* AC-3 audio codec support on Tizen ([#6166](https://github.com/shaka-project/shaka-player/issues/6166)) ([83c57ee](https://github.com/shaka-project/shaka-player/commit/83c57ee4505fd1dc2f2ee9e70acee5f8522a0006))
|
|
10
|
+
* add missing properties to PlayButton type ([#6130](https://github.com/shaka-project/shaka-player/issues/6130)) ([b3ef659](https://github.com/shaka-project/shaka-player/commit/b3ef659d7acf3ac864a3d2ab2258a8f8aa679393))
|
|
11
|
+
* Add Orange platform to requiresEncryptionInfoInAllInitSegments ([#5895](https://github.com/shaka-project/shaka-player/issues/5895)) ([013c54b](https://github.com/shaka-project/shaka-player/commit/013c54b01cf1576ec0dcd38221efb7845ba62e39))
|
|
12
|
+
* **Ads:** Fix VMAP won't play in muted autoplay ([#6046](https://github.com/shaka-project/shaka-player/issues/6046)) ([5201950](https://github.com/shaka-project/shaka-player/commit/520195042860f43e2c2cfc2e4456b41d990c9ba0))
|
|
13
|
+
* Allow by default variants without pssh in the manifest ([#6144](https://github.com/shaka-project/shaka-player/issues/6144)) ([db788a0](https://github.com/shaka-project/shaka-player/commit/db788a0dc14a22cb50d525f3b195f65e0f74d177))
|
|
14
|
+
* Allow parseXmlString when createNodeIterator is not available ([#5805](https://github.com/shaka-project/shaka-player/issues/5805)) ([dd4b36f](https://github.com/shaka-project/shaka-player/commit/dd4b36fa1fc6557a8a2da3437f80ab72172caf7c))
|
|
15
|
+
* APL set-top box wrongly identifies as an Apple device. ([#6026](https://github.com/shaka-project/shaka-player/issues/6026)) ([2e8e2a4](https://github.com/shaka-project/shaka-player/commit/2e8e2a47c537c0e498f959fd56d0ebf4f2878e48))
|
|
16
|
+
* auto cancel trickPlay on live as specified ([#6100](https://github.com/shaka-project/shaka-player/issues/6100)) ([1b08e12](https://github.com/shaka-project/shaka-player/commit/1b08e129b0cfd94add274f287bd0e47709fc175c))
|
|
17
|
+
* avoid uiTextDisplayer.destroy crashing if called more than once ([#6022](https://github.com/shaka-project/shaka-player/issues/6022)) ([8f9fbb2](https://github.com/shaka-project/shaka-player/commit/8f9fbb2aede48b5c6a7243eee1c5c9f6b192a0a2))
|
|
18
|
+
* ban new Uint16Array(buffer) ([#5838](https://github.com/shaka-project/shaka-player/issues/5838)) ([4e314db](https://github.com/shaka-project/shaka-player/commit/4e314db29dd91f05a4536d0e289ca73cf3238d04))
|
|
19
|
+
* CEA decoder should return early if packet is not large enough ([#5893](https://github.com/shaka-project/shaka-player/issues/5893)) ([b866b3c](https://github.com/shaka-project/shaka-player/commit/b866b3ce69e8b2c323b3f45ebea4e3b16a345e98))
|
|
20
|
+
* **CMCD:** Fix CMCD for some mimetypes in src= ([#6178](https://github.com/shaka-project/shaka-player/issues/6178)) ([b6adc09](https://github.com/shaka-project/shaka-player/commit/b6adc0903367ff5c1074d51e3d1f5f868213f42c))
|
|
21
|
+
* **DASH:** Fix false redirect detection ([#5910](https://github.com/shaka-project/shaka-player/issues/5910)) ([92d41dd](https://github.com/shaka-project/shaka-player/commit/92d41dd0feb2a4d80a57460f80461d0c4a8baa40))
|
|
22
|
+
* **DASH:** Fix manifest update time for Live manifests ([#5763](https://github.com/shaka-project/shaka-player/issues/5763)) ([da38819](https://github.com/shaka-project/shaka-player/commit/da38819f422f6d72141e5a2b2599d43e2d5cda3d))
|
|
23
|
+
* **DASH:** Fix manifest update time for LL-DASH ([#5736](https://github.com/shaka-project/shaka-player/issues/5736)) ([ff6a72d](https://github.com/shaka-project/shaka-player/commit/ff6a72d07a48dd08412c70dfe7dd4d498174c3a7))
|
|
24
|
+
* **DASH:** Handle minimumUpdatePeriod=0 with urn:mpeg:dash:event:2012 (EMSG) ([#5823](https://github.com/shaka-project/shaka-player/issues/5823)) ([ad78d09](https://github.com/shaka-project/shaka-player/commit/ad78d09038d2eee3a933e02e189126e25f6f3a75))
|
|
25
|
+
* **DASH:** Update dash manifest when minimumUpdatePeriod = 0 ([#6187](https://github.com/shaka-project/shaka-player/issues/6187)) ([2e2767e](https://github.com/shaka-project/shaka-player/commit/2e2767e6637cb884ef5b01c90182ecaeb50df95b))
|
|
26
|
+
* **DASH:** Use labels to stitch streams across periods ([#6121](https://github.com/shaka-project/shaka-player/issues/6121)) ([76bf5e7](https://github.com/shaka-project/shaka-player/commit/76bf5e707d5f64b4dc7d1d54f80bc6582e89c8bc))
|
|
27
|
+
* **Demo:** Pressing "Edit" button unstores custom asset, but does not update "stored" button ([#5936](https://github.com/shaka-project/shaka-player/issues/5936)) ([30a71f2](https://github.com/shaka-project/shaka-player/commit/30a71f2b0057759effa89cf998adb2af3ed6ad89))
|
|
28
|
+
* do not remove sub-second amounts from source buffer ([267169c](https://github.com/shaka-project/shaka-player/commit/267169c5bcc2bcab7dff54f2a9528ae5f0d6ab2a)), closes [#6240](https://github.com/shaka-project/shaka-player/issues/6240)
|
|
29
|
+
* ENCRYPTED CONTENT WITHOUT DRM INFO on comcast X1 due to safari blocklist ([#6034](https://github.com/shaka-project/shaka-player/issues/6034)) ([daa224d](https://github.com/shaka-project/shaka-player/commit/daa224dd8530b7582d86af2e8b0a0cd2ed2b9797))
|
|
30
|
+
* Fix crash while playing HLS AES 128 streams ([#5830](https://github.com/shaka-project/shaka-player/issues/5830)) ([43b6d48](https://github.com/shaka-project/shaka-player/commit/43b6d48606e713e808d94325d934956864745287))
|
|
31
|
+
* Fix detection of flac support on Safari ([#6250](https://github.com/shaka-project/shaka-player/issues/6250)) ([74fcf51](https://github.com/shaka-project/shaka-player/commit/74fcf516139f52b5e2bf398ba8905dc2ab1bef99))
|
|
32
|
+
* Fix detection of spatial rendering support in Cast ([#6138](https://github.com/shaka-project/shaka-player/issues/6138)) ([579fb9a](https://github.com/shaka-project/shaka-player/commit/579fb9a582d2f53da57afa57965a7eaeb1852390))
|
|
33
|
+
* Fix DRM workaround for Tizen and Xbox with ac-4 boxes ([#5812](https://github.com/shaka-project/shaka-player/issues/5812)) ([4c3c3e2](https://github.com/shaka-project/shaka-player/commit/4c3c3e2a37fff296966a8bc2bd738d026db9a42c))
|
|
34
|
+
* Fix DRM workaround for Xbox with Dolby Vision boxes ([#6201](https://github.com/shaka-project/shaka-player/issues/6201)) ([c068a50](https://github.com/shaka-project/shaka-player/commit/c068a501e61f34b521065adf216faba959efe984))
|
|
35
|
+
* Fix gitpkg.now.sh dependencies ([#6211](https://github.com/shaka-project/shaka-player/issues/6211)) ([d749614](https://github.com/shaka-project/shaka-player/commit/d749614425f3fe29dda0d1ebbe28b0977d866463))
|
|
36
|
+
* fix handling of multiple CC tracks ([#6076](https://github.com/shaka-project/shaka-player/issues/6076)) ([081362d](https://github.com/shaka-project/shaka-player/commit/081362dfddc1ab7dbad96f698e4a3d5cd15f0c39))
|
|
37
|
+
* Fix init segment comparison ([#5920](https://github.com/shaka-project/shaka-player/issues/5920)) ([42d38d5](https://github.com/shaka-project/shaka-player/commit/42d38d5d7792f3e7e1e81d2dbe7a5c5106dfc5cb))
|
|
38
|
+
* Fix language comparison in addTextTrackAsync ([#5904](https://github.com/shaka-project/shaka-player/issues/5904)) ([4438ca1](https://github.com/shaka-project/shaka-player/commit/4438ca122a0e5a78a659a2378672e8bf93f3336f))
|
|
39
|
+
* Fix liveLatency in stats ([#5982](https://github.com/shaka-project/shaka-player/issues/5982)) ([ba45266](https://github.com/shaka-project/shaka-player/commit/ba4526685f346e18c90cebff8561357f01b0dbc8))
|
|
40
|
+
* Fix trackschanged event not fired after a license request is denied for some tracks ([#5962](https://github.com/shaka-project/shaka-player/issues/5962)) ([554f9ed](https://github.com/shaka-project/shaka-player/commit/554f9edf115dcb7be552b4a94027484cd28d2916))
|
|
41
|
+
* **hisense:** set stallSkip to 0 for HiSense devices ([#5833](https://github.com/shaka-project/shaka-player/issues/5833)) ([f78cab4](https://github.com/shaka-project/shaka-player/commit/f78cab4a2ce74bbd1a7571f37087922e9d41d564))
|
|
42
|
+
* **HLS:** Avoid duplicate AES request when using the same info ([#6118](https://github.com/shaka-project/shaka-player/issues/6118)) ([a1084f5](https://github.com/shaka-project/shaka-player/commit/a1084f578268da59a006df2b6021e561d6a16ac3))
|
|
43
|
+
* **HLS:** Fix init segment when EXT-X-MAP is preceded by EXT-X-BYTERANGE ([#5732](https://github.com/shaka-project/shaka-player/issues/5732)) ([931b2f8](https://github.com/shaka-project/shaka-player/commit/931b2f80c4578ea8d2bd32232d8c602f800e81ea))
|
|
44
|
+
* **HLS:** Fix kind detection for 'captions' text tracks ([#5819](https://github.com/shaka-project/shaka-player/issues/5819)) ([a4fa63b](https://github.com/shaka-project/shaka-player/commit/a4fa63b9043e37b77e66fe5ce69b0c707b5b18bb))
|
|
45
|
+
* **HLS:** Fix VVC codec selection in HLS ([#6156](https://github.com/shaka-project/shaka-player/issues/6156)) ([1e73bb2](https://github.com/shaka-project/shaka-player/commit/1e73bb205b5c10851024e9719efaa56fcaad4dd4))
|
|
46
|
+
* **HLS:** getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6059](https://github.com/shaka-project/shaka-player/issues/6059)) ([cb17e24](https://github.com/shaka-project/shaka-player/commit/cb17e2478767aa4e5ea55ab675519c399db19e50))
|
|
47
|
+
* **HLS:** Live recovery after disconnects ([#6048](https://github.com/shaka-project/shaka-player/issues/6048)) ([468425a](https://github.com/shaka-project/shaka-player/commit/468425a65122475d3d8048800d042db8c72762c1))
|
|
48
|
+
* **HLS:** Recognize CEA subtitles when CLOSED-CAPTIONS attribute is missing ([#5916](https://github.com/shaka-project/shaka-player/issues/5916)) ([440d4ab](https://github.com/shaka-project/shaka-player/commit/440d4ab1d87644d0e89b0b7718e627c7ed6c55dc))
|
|
49
|
+
* Install by default shaka.polyfill.PatchedMediaKeysApple when there is no unprefixed EME support ([#6053](https://github.com/shaka-project/shaka-player/issues/6053)) ([caf7a7c](https://github.com/shaka-project/shaka-player/commit/caf7a7c118bc06a1b86d174be4f647c164c1f905))
|
|
50
|
+
* **offline:** Fix server certificate error when trying to delete stored content ([#6080](https://github.com/shaka-project/shaka-player/issues/6080)) ([2bc0c25](https://github.com/shaka-project/shaka-player/commit/2bc0c259e88fc440b30fb8d33870e9e42f3c3e25))
|
|
51
|
+
* **offline:** Fix server certificate error when trying to store content ([#5848](https://github.com/shaka-project/shaka-player/issues/5848)) ([1e907db](https://github.com/shaka-project/shaka-player/commit/1e907db9f959095105ca63891984ee3c4a22e3b9))
|
|
52
|
+
* **offline:** Fix store persistent licenses with drm info in the pssh ([#6143](https://github.com/shaka-project/shaka-player/issues/6143)) ([438e098](https://github.com/shaka-project/shaka-player/commit/438e0980fea4afb1e55e4aeba3d3eb78a3e572b8))
|
|
53
|
+
* Prevent license requests for unplayable variants ([#6204](https://github.com/shaka-project/shaka-player/issues/6204)) ([725391a](https://github.com/shaka-project/shaka-player/commit/725391a1a40d9ee0fdf36671bcd63314ffeac68e))
|
|
54
|
+
* Properly size region anchor from LINE units ([#5941](https://github.com/shaka-project/shaka-player/issues/5941)) ([f0a07bc](https://github.com/shaka-project/shaka-player/commit/f0a07bc3c00a8c446ac1f331dc9efbd34aa54885))
|
|
55
|
+
* Reject Opus encrypted on Firefox Android ([#6115](https://github.com/shaka-project/shaka-player/issues/6115)) ([95cba57](https://github.com/shaka-project/shaka-player/commit/95cba570340159e26d303c8ae983834aa7134899))
|
|
56
|
+
* Reset to default playback rate on release playback rate controller ([#6089](https://github.com/shaka-project/shaka-player/issues/6089)) ([2e390ed](https://github.com/shaka-project/shaka-player/commit/2e390ed674b2095fa250bfec5fce4355dfca9ef7))
|
|
57
|
+
* text roles being combined incorrectly in some multiperiod cases ([#6055](https://github.com/shaka-project/shaka-player/issues/6055)) ([f6fea75](https://github.com/shaka-project/shaka-player/commit/f6fea75827aca70f439f67dc0fa9079c34faea6e))
|
|
58
|
+
* **TTML:** Clip to video when extent is not present ([#6086](https://github.com/shaka-project/shaka-player/issues/6086)) ([44cac01](https://github.com/shaka-project/shaka-player/commit/44cac017708b770570e565898e29dda2f543e72b))
|
|
59
|
+
* **TTML:** Fix support of urls in smpte:backgroundImage ([#5851](https://github.com/shaka-project/shaka-player/issues/5851)) ([b1510ca](https://github.com/shaka-project/shaka-player/commit/b1510caba1c428508198bf8e08cb3ed59ce71c43))
|
|
60
|
+
* **UI:** Correctly display video time and duration for VOD ([#5929](https://github.com/shaka-project/shaka-player/issues/5929)) ([3775daa](https://github.com/shaka-project/shaka-player/commit/3775daaa5e5b49664425b556c19a9b9b5d65a43f))
|
|
61
|
+
* **UI:** Fix keyboard navigation of volume bar on Firefox ([#5981](https://github.com/shaka-project/shaka-player/issues/5981)) ([6ea473f](https://github.com/shaka-project/shaka-player/commit/6ea473fdaee87d3731a27502141a48c4161123ff))
|
|
62
|
+
* **UI:** Fix replay button when the post-roll is running using CS ([#6072](https://github.com/shaka-project/shaka-player/issues/6072)) ([1282575](https://github.com/shaka-project/shaka-player/commit/1282575bb603765de8fd271854e31e9a6d76db90))
|
|
63
|
+
* **UI:** Fix text selector when the trackLabelFormat is set to LABEL ([#5751](https://github.com/shaka-project/shaka-player/issues/5751)) ([da2033e](https://github.com/shaka-project/shaka-player/commit/da2033edff908c687536b4d723bf8e359944034f))
|
|
64
|
+
* UITextDisplayer font-family is overridden by UI's Roboto font ([#5829](https://github.com/shaka-project/shaka-player/issues/5829)) ([d55137b](https://github.com/shaka-project/shaka-player/commit/d55137b2bfe4d42794ebfc651b1544ef9a03d729))
|
|
65
|
+
* **UI:** Update the playbackrate on loaded event ([#6090](https://github.com/shaka-project/shaka-player/issues/6090)) ([2bac3b9](https://github.com/shaka-project/shaka-player/commit/2bac3b9215135b8fd52f53d035a3360a9c1ae673))
|
|
66
|
+
* Unmask errors on LL ([#5908](https://github.com/shaka-project/shaka-player/issues/5908)) ([78564b9](https://github.com/shaka-project/shaka-player/commit/78564b999385b17c9351aa43a59358af39d01f9b))
|
|
67
|
+
* **WebVTT:** Fix support for line vertical alignment ([#5945](https://github.com/shaka-project/shaka-player/issues/5945)) ([1a7d4da](https://github.com/shaka-project/shaka-player/commit/1a7d4da38370684242d7dfa7033a85097d6fb665))
|
|
68
|
+
* **WebVTT:** Fix wrong writing-mode in nested cues ([#5807](https://github.com/shaka-project/shaka-player/issues/5807)) ([f0c2c2d](https://github.com/shaka-project/shaka-player/commit/f0c2c2d5727495f55687d956978ffa16ec3c254c))
|
|
69
|
+
* When disconnecting from chromecast, subtitles are turned off ([#6103](https://github.com/shaka-project/shaka-player/issues/6103)) ([5550836](https://github.com/shaka-project/shaka-player/commit/5550836230d02d9d90f980839b01fff69797bf5b))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Performance Improvements
|
|
73
|
+
|
|
74
|
+
* **dash:** improve readability and reduce number of loops in dash parser ([#5768](https://github.com/shaka-project/shaka-player/issues/5768)) ([2767bc9](https://github.com/shaka-project/shaka-player/commit/2767bc9722f98cc323ee0a03c6c869f35e79afb9))
|
|
75
|
+
* **DASH:** reduce looping and remove chaining awaits in period ([#5774](https://github.com/shaka-project/shaka-player/issues/5774)) ([af79ca4](https://github.com/shaka-project/shaka-player/commit/af79ca4531eb6e54ee12323877cc248db9c9dcc3))
|
|
76
|
+
* **HLS:** do not filter all tags to get the first tag ([#6088](https://github.com/shaka-project/shaka-player/issues/6088)) ([c6794d6](https://github.com/shaka-project/shaka-player/commit/c6794d635e0591b48b1dcead21cd723ea6b2703f))
|
|
77
|
+
* Improve performance of addThumbnailsTrack ([#6067](https://github.com/shaka-project/shaka-player/issues/6067)) ([d8e46ba](https://github.com/shaka-project/shaka-player/commit/d8e46baebed416870be8fded3a49470e4a21ae9d))
|
|
78
|
+
* **manifest:** avoid unnecessary looping in uri resolver ([#5773](https://github.com/shaka-project/shaka-player/issues/5773)) ([b887978](https://github.com/shaka-project/shaka-player/commit/b887978457f82e2b9cf39475a0ba1929a2a2c28d))
|
|
79
|
+
* Optimize init segment reference comparison for common case ([#6014](https://github.com/shaka-project/shaka-player/issues/6014)) ([fb1d167](https://github.com/shaka-project/shaka-player/commit/fb1d167053f87fb1be742a0310ef9db4893ceafb))
|
|
80
|
+
* simplify and improve performance of parsing initData when deduping ([#5775](https://github.com/shaka-project/shaka-player/issues/5775)) ([0350f9d](https://github.com/shaka-project/shaka-player/commit/0350f9da76f12a2cfe4b66ef1a1ca0d9147f23e5))
|
|
81
|
+
* **utils:** use WeakSet to track object references ([#5791](https://github.com/shaka-project/shaka-player/issues/5791)) ([2cab9a2](https://github.com/shaka-project/shaka-player/commit/2cab9a2f518717422402b6de5cf4069a83cbbb58))
|
|
82
|
+
* **WebVTT:** Improve parsing time for unstyled payloads ([#6066](https://github.com/shaka-project/shaka-player/issues/6066)) ([80b66bd](https://github.com/shaka-project/shaka-player/commit/80b66bd2a43c0e034f6055e3e50560c0ea9d9f3a))
|
|
83
|
+
* **Xbox:** drop incompatible variants for XBOX early ([#5777](https://github.com/shaka-project/shaka-player/issues/5777)) ([e471bfc](https://github.com/shaka-project/shaka-player/commit/e471bfc699dc8b9a83cd1037ea7ce9eeac1c9d32))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Reverts
|
|
87
|
+
|
|
88
|
+
* Install by default shaka.polyfill.PatchedMediaKeysApple when there is no unprefixed EME support ([#6068](https://github.com/shaka-project/shaka-player/issues/6068)) ([e62103f](https://github.com/shaka-project/shaka-player/commit/e62103f8722f7d927fe3a9e942b8ac2ee5a05204))
|
|
89
|
+
|
|
90
|
+
## [4.3.13](https://github.com/shaka-project/shaka-player/compare/v4.3.12...v4.3.13) (2023-10-04)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Bug Fixes
|
|
94
|
+
|
|
95
|
+
* Allow PID change in TsParser ([#5681](https://github.com/shaka-project/shaka-player/issues/5681)) ([2fcc812](https://github.com/shaka-project/shaka-player/commit/2fcc8129db517ac41745785c70af3406a725c0b4))
|
|
96
|
+
* **CMCD:** Fix CMCD for some mimetypes in src= ([#5699](https://github.com/shaka-project/shaka-player/issues/5699)) ([28bb5d1](https://github.com/shaka-project/shaka-player/commit/28bb5d139d2bbcfe5bb58b7691d9543868cce0be))
|
|
97
|
+
* **Demo:** Fix url of "Low Latency HLS Live" asset ([#5708](https://github.com/shaka-project/shaka-player/issues/5708)) ([728cbfc](https://github.com/shaka-project/shaka-player/commit/728cbfc7b3b028cd5f9ba958e959c9a40234091b))
|
|
98
|
+
* Fix creation of new Stream object for each manifest request in DASH Live when using CEA ([#5674](https://github.com/shaka-project/shaka-player/issues/5674)) ([d9223ee](https://github.com/shaka-project/shaka-player/commit/d9223eef8255e8ac698f23cd7115ef6a388e613c))
|
|
99
|
+
* **HLS:** Fix audio and video out of sync ([#5658](https://github.com/shaka-project/shaka-player/issues/5658)) ([cb9789e](https://github.com/shaka-project/shaka-player/commit/cb9789e6ab084dd7ba77a232bb90f0fdb1c9bc53))
|
|
100
|
+
* **HLS:** Fix display CEA-708 in HLS ([#5694](https://github.com/shaka-project/shaka-player/issues/5694)) ([b639b55](https://github.com/shaka-project/shaka-player/commit/b639b550b692e466c8513f2801d5a7c36b125643))
|
|
101
|
+
* **HLS:** Fix presentation delay for small live playlists (eg: 3-4 segments) ([#5687](https://github.com/shaka-project/shaka-player/issues/5687)) ([ef827a0](https://github.com/shaka-project/shaka-player/commit/ef827a07abe5c0b6514a89d121294fc562d8c17f))
|
|
102
|
+
* **HLS:** Skip segments without duration and without partial segments ([#5705](https://github.com/shaka-project/shaka-player/issues/5705)) ([96dfcc6](https://github.com/shaka-project/shaka-player/commit/96dfcc609ae40b64d79c27a4f75b34c212fc714d))
|
|
103
|
+
* **HLS:** Support AES-128 in init segment according the RFC ([#5677](https://github.com/shaka-project/shaka-player/issues/5677)) ([d30c571](https://github.com/shaka-project/shaka-player/commit/d30c5719ba3e8ee5d53e02100178fdb8ab34df10))
|
|
104
|
+
* **WebVTT:** Fix text displayed out of picture and with overlapping lines ([#5662](https://github.com/shaka-project/shaka-player/issues/5662)) ([ee898e9](https://github.com/shaka-project/shaka-player/commit/ee898e9eceb5fe6bbc27e72d11318962f7a574eb)), closes [#5661](https://github.com/shaka-project/shaka-player/issues/5661)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Performance Improvements
|
|
108
|
+
|
|
109
|
+
* Optimization to resolve uris ([#5657](https://github.com/shaka-project/shaka-player/issues/5657)) ([0ad925b](https://github.com/shaka-project/shaka-player/commit/0ad925b9eadfe844ce65b341cab5403889786309))
|
|
110
|
+
|
|
3
111
|
## [4.3.12](https://github.com/shaka-project/shaka-player/compare/v4.3.11...v4.3.12) (2023-09-13)
|
|
4
112
|
|
|
5
113
|
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -69,7 +69,7 @@ dispute. If you are unable to resolve the matter for any reason, or if the
|
|
|
69
69
|
behavior is threatening or harassing, report it. We are dedicated to providing
|
|
70
70
|
an environment where participants feel welcome and safe.
|
|
71
71
|
|
|
72
|
-
Reports should be directed to *shaka-player-
|
|
72
|
+
Reports should be directed to *shaka-player-maintainers@googlegroups.com*, the
|
|
73
73
|
Project Steward(s) for *Shaka Player*. It is the Project Steward’s duty to
|
|
74
74
|
receive and address reported violations of the code of conduct. They will then
|
|
75
75
|
work with a committee consisting of representatives from the Open Source
|
package/CONTRIBUTORS
CHANGED
|
@@ -31,6 +31,7 @@ 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>
|
|
34
|
+
Antonio Diaz Correa <hello@antoniodiaz.me>
|
|
34
35
|
Ashutosh Kumar Mukhiya <ashukm4@gmail.com>
|
|
35
36
|
Benjamin Wallberg <benjamin.wallberg@bonnierbroadcasting.com>
|
|
36
37
|
Benjamin Wallberg <me@bwallberg.com>
|
|
@@ -50,11 +51,13 @@ Enson Choy <enson.choy@harmonicinc.com>
|
|
|
50
51
|
Esteban Dosztal <edosztal@gmail.com>
|
|
51
52
|
Fadomire <fadomire@gmail.com>
|
|
52
53
|
François Beaufort <fbeaufort@google.com>
|
|
54
|
+
Gary Katsevman <git@gkatsev.com>
|
|
53
55
|
Gerardo Meola <meola.gerardo@gmail.com>
|
|
54
56
|
Gil Gonen <gil.gonen@gmail.com>
|
|
55
57
|
Giorgio Gamberoni <giorgio.gamberoni@gmail.com>
|
|
56
58
|
Giuseppe Samela <giuseppe.samela@gmail.com>
|
|
57
59
|
Hichem Taoufik <hichem@code-it.fr>
|
|
60
|
+
Ivan Kohut <i.kohut@yahoo.com>
|
|
58
61
|
Itay Kinnrot <itay.kinnrot@kaltura.com>
|
|
59
62
|
Isaac Ramirez <isaac.ramirez.herrera@gmail.com>
|
|
60
63
|
Jacob Trimble <modmaker@google.com>
|
|
@@ -73,11 +76,13 @@ Jozef Chúťka <jozefchutka@gmail.com>
|
|
|
73
76
|
Julian Domingo <juliandomingo@google.com>
|
|
74
77
|
Jun Hong Chong <chongjunhong@gmail.com>
|
|
75
78
|
Jürgen Kartnaller <kartnaller@lovelysystems.com>
|
|
79
|
+
Justin Swaney <justin.mark.swaney@gmail.com>
|
|
76
80
|
Leandro Ribeiro Moreira <leandro.ribeiro.moreira@gmail.com>
|
|
77
81
|
Loïc Raux <loicraux@gmail.com>
|
|
78
82
|
Lucas Gabriel Sánchez <unkiwii@gmail.com>
|
|
79
83
|
Martin Stark <martin.stark@eyevinn.se>
|
|
80
84
|
Matias Russitto <russitto@gmail.com>
|
|
85
|
+
Mathieu Côté <mcote@mirego.com>
|
|
81
86
|
Matthias Van Parijs <matvp91@gmail.com>
|
|
82
87
|
Mattias Wadman <mattias.wadman@gmail.com>
|
|
83
88
|
Michelle Zhuo <michellezhuo@google.com>
|
|
@@ -117,6 +122,7 @@ Theodore Abshire <theodab@google.com>
|
|
|
117
122
|
Thomas Stephens <thomas@ustudio.com>
|
|
118
123
|
Tim Plummer <objelisks@google.com>
|
|
119
124
|
Timothy Drews <tdrews@google.com>
|
|
125
|
+
Thomas Champion <thchampi@gmail.com>
|
|
120
126
|
Tomas Bucher <collapsingtesseract@gmail.com>
|
|
121
127
|
Tomas Tichy <mr.tichyt@gmail.com>
|
|
122
128
|
Tomohiro Matsuzawa <thmatuza75@hotmail.com>
|
package/README.md
CHANGED
|
@@ -251,6 +251,8 @@ attributes.
|
|
|
251
251
|
## Documentation & Important Links ##
|
|
252
252
|
|
|
253
253
|
* [Demo](https://shaka-player-demo.appspot.com)([sources](demo/))
|
|
254
|
+
* [Nightly Demo](https://nightly-dot-shaka-player-demo.appspot.com)
|
|
255
|
+
* [Demo index](https://index-dot-shaka-player-demo.appspot.com)
|
|
254
256
|
* [API documentation](https://shaka-player-demo.appspot.com/docs/api/index.html)
|
|
255
257
|
* [Tutorials](https://shaka-player-demo.appspot.com/docs/api/tutorial-welcome.html)
|
|
256
258
|
* [Hosted builds on Google Hosted Libraries](https://developers.google.com/speed/libraries/#shaka-player)
|
package/demo/common/asset.js
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @fileoverview
|
|
10
|
-
* @suppress {missingRequire}
|
|
11
10
|
*/
|
|
12
11
|
|
|
13
12
|
goog.provide('ShakaDemoAssetInfo');
|
|
@@ -165,6 +164,11 @@ const ShakaDemoAssetInfo = class {
|
|
|
165
164
|
return this.drm.length == 1 && this.drm[0] == shakaAssets.KeySystem.CLEAR;
|
|
166
165
|
}
|
|
167
166
|
|
|
167
|
+
/** @return {boolean} */
|
|
168
|
+
isAes128() {
|
|
169
|
+
return this.drm.length == 1 && this.drm[0] == shakaAssets.KeySystem.AES128;
|
|
170
|
+
}
|
|
171
|
+
|
|
168
172
|
/**
|
|
169
173
|
* @param {string} mediaPlaylistFullMimeType
|
|
170
174
|
* @return {!ShakaDemoAssetInfo}
|
package/demo/common/assets.js
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @fileoverview
|
|
10
|
-
* @suppress {missingRequire}
|
|
11
10
|
*/
|
|
12
11
|
|
|
13
12
|
goog.require('ShakaDemoAssetInfo');
|
|
@@ -50,6 +49,7 @@ shakaAssets.KeySystem = {
|
|
|
50
49
|
FAIRPLAY: shakaDemo.MessageIds.FAIRPLAY,
|
|
51
50
|
PLAYREADY: shakaDemo.MessageIds.PLAYREADY,
|
|
52
51
|
WIDEVINE: shakaDemo.MessageIds.WIDEVINE,
|
|
52
|
+
AES128: shakaDemo.MessageIds.AES128,
|
|
53
53
|
CLEAR: shakaDemo.MessageIds.CLEAR,
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -88,6 +88,7 @@ shakaAssets.identifierForKeySystem = (keySystem) => {
|
|
|
88
88
|
case KeySystem.FAIRPLAY: return 'com.apple.fps';
|
|
89
89
|
case KeySystem.PLAYREADY: return 'com.microsoft.playready';
|
|
90
90
|
case KeySystem.WIDEVINE: return 'com.widevine.alpha';
|
|
91
|
+
case KeySystem.AES128: return 'aes128';
|
|
91
92
|
default: return 'no drm protection';
|
|
92
93
|
}
|
|
93
94
|
};
|
|
@@ -355,6 +356,7 @@ shakaAssets.testAssets = [
|
|
|
355
356
|
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/sintel.png',
|
|
356
357
|
/* manifestUri= */ 'https://storage.googleapis.com/shaka-demo-assets/sintel-ts-aes-key-rotation/master.m3u8',
|
|
357
358
|
/* source= */ shakaAssets.Source.SHAKA)
|
|
359
|
+
.addKeySystem(shakaAssets.KeySystem.AES128)
|
|
358
360
|
.addFeature(shakaAssets.Feature.HLS)
|
|
359
361
|
.addFeature(shakaAssets.Feature.MP2TS)
|
|
360
362
|
.addFeature(shakaAssets.Feature.OFFLINE),
|
|
@@ -363,6 +365,7 @@ shakaAssets.testAssets = [
|
|
|
363
365
|
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/sintel.png',
|
|
364
366
|
/* manifestUri= */ 'https://storage.googleapis.com/shaka-demo-assets/sintel-fmp4-aes/master.m3u8',
|
|
365
367
|
/* source= */ shakaAssets.Source.SHAKA)
|
|
368
|
+
.addKeySystem(shakaAssets.KeySystem.AES128)
|
|
366
369
|
.addFeature(shakaAssets.Feature.HLS)
|
|
367
370
|
.addFeature(shakaAssets.Feature.MP4)
|
|
368
371
|
.addFeature(shakaAssets.Feature.OFFLINE),
|
|
@@ -931,6 +934,7 @@ shakaAssets.testAssets = [
|
|
|
931
934
|
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/art_of_motion.png',
|
|
932
935
|
/* manifestUri= */ 'https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/m3u8s/11331.m3u8',
|
|
933
936
|
/* source= */ shakaAssets.Source.BITCODIN)
|
|
937
|
+
.addKeySystem(shakaAssets.KeySystem.AES128)
|
|
934
938
|
.addFeature(shakaAssets.Feature.HIGH_DEFINITION)
|
|
935
939
|
.addFeature(shakaAssets.Feature.HLS)
|
|
936
940
|
.addFeature(shakaAssets.Feature.MP2TS)
|
|
@@ -1060,6 +1064,16 @@ shakaAssets.testAssets = [
|
|
|
1060
1064
|
kind: 'subtitle',
|
|
1061
1065
|
mime: 'text/vtt',
|
|
1062
1066
|
}),
|
|
1067
|
+
new ShakaDemoAssetInfo(
|
|
1068
|
+
/* name= */ 'Sintel (DASH, AES-128)',
|
|
1069
|
+
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/sintel.png',
|
|
1070
|
+
/* manifestUri= */ 'https://amssamples.streaming.mediaservices.windows.net/49b57c87-f5f3-48b3-ba22-c55cfdffa9cb/Sintel.ism/manifest(format=mpd-time-csf)',
|
|
1071
|
+
/* source= */ shakaAssets.Source.AZURE_MEDIA_SERVICES)
|
|
1072
|
+
.addKeySystem(shakaAssets.KeySystem.AES128)
|
|
1073
|
+
.addFeature(shakaAssets.Feature.DASH)
|
|
1074
|
+
.addFeature(shakaAssets.Feature.MP4)
|
|
1075
|
+
.addFeature(shakaAssets.Feature.HIGH_DEFINITION)
|
|
1076
|
+
.addFeature(shakaAssets.Feature.OFFLINE),
|
|
1063
1077
|
// End Azure Media Services assets }}}
|
|
1064
1078
|
|
|
1065
1079
|
// GPAC assets {{{
|
|
@@ -1227,7 +1241,7 @@ shakaAssets.testAssets = [
|
|
|
1227
1241
|
new ShakaDemoAssetInfo(
|
|
1228
1242
|
/* name= */ 'Low Latency HLS Live',
|
|
1229
1243
|
/* iconUri= */ 'https://storage.googleapis.com/shaka-asset-icons/apple_test_pattern.png',
|
|
1230
|
-
/* manifestUri= */ 'https://ll-hls-test.apple.com/
|
|
1244
|
+
/* manifestUri= */ 'https://ll-hls-test.cdn-apple.com/llhls4/ll-hls-test-04/multi.m3u8',
|
|
1231
1245
|
/* source= */ shakaAssets.Source.APPLE)
|
|
1232
1246
|
.addFeature(shakaAssets.Feature.HLS)
|
|
1233
1247
|
.addFeature(shakaAssets.Feature.LIVE)
|
package/demo/custom.js
CHANGED
|
@@ -868,6 +868,8 @@ shakaDemo.Custom = class {
|
|
|
868
868
|
c.addButton(shakaDemo.MessageIds.EDIT_CUSTOM, async () => {
|
|
869
869
|
if (asset.unstoreCallback) {
|
|
870
870
|
await asset.unstoreCallback();
|
|
871
|
+
this.saveAssetInfos_(this.assets_);
|
|
872
|
+
this.remakeSavedList_();
|
|
871
873
|
}
|
|
872
874
|
this.showAssetDialog_(asset);
|
|
873
875
|
});
|
package/demo/locales/en.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"DEMO_AD_SEARCH": "Filters for assets that have advertisements.",
|
|
6
6
|
"DEMO_AD_TAG_URL": "Ad Tag URL",
|
|
7
7
|
"DEMO_ADS_TAB": "Ads",
|
|
8
|
+
"DEMO_AES128": "AES-128 protection",
|
|
8
9
|
"DEMO_ALL_CONTENT": "ALL CONTENT",
|
|
9
10
|
"DEMO_ALWAYS_STREAM_TEXT": "Always Stream Text",
|
|
10
11
|
"DEMO_ALWAYS_STREAM_TEXT_WARNING": "Text must always be streamed while native controls are enabled, for captions to work.",
|
package/demo/locales/source.json
CHANGED
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"description": "The label on a field that allows users to provide a Ad Tag URL for a custom asset.",
|
|
24
24
|
"message": "Ad Tag URL"
|
|
25
25
|
},
|
|
26
|
+
"DEMO_AES128": {
|
|
27
|
+
"description": "Text that describes an asset that is not protected with any Digital Rights Management system but it is protected with AES-128.",
|
|
28
|
+
"message": "[JARGON:AES-128] protection"
|
|
29
|
+
},
|
|
26
30
|
"DEMO_ALL_CONTENT": {
|
|
27
31
|
"description": "A link in the header, that switches to a page for browsing or searching through the entire content library.",
|
|
28
32
|
"message": "ALL CONTENT"
|
package/demo/main.js
CHANGED
|
@@ -715,7 +715,7 @@ shakaDemo.Main = class {
|
|
|
715
715
|
return shakaDemo.MessageIds.UNSUPPORTED_NO_DOWNLOAD;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
|
-
if (!asset.isClear()) {
|
|
718
|
+
if (!asset.isClear() && !asset.isAes128()) {
|
|
719
719
|
const hasSupportedDRM = asset.drm.some((drm) => {
|
|
720
720
|
return this.support_.drm[shakaAssets.identifierForKeySystem(drm)];
|
|
721
721
|
});
|