shaka-player 4.3.1 → 4.3.2
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/build-and-test.yaml +13 -0
- package/AUTHORS +1 -0
- package/CHANGELOG.md +11 -0
- package/CONTRIBUTORS +1 -0
- package/README.md +1 -1
- package/dist/locales.js +31 -31
- package/dist/shaka-player.compiled.debug.js +171 -170
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +753 -753
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.debug.js +208 -206
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +812 -811
- package/dist/shaka-player.ui.map +3 -3
- package/lib/ads/ad_manager.js +2 -2
- package/lib/hls/hls_parser.js +12 -4
- package/lib/media/media_source_engine.js +16 -0
- package/lib/media/segment_reference.js +3 -0
- package/lib/media/streaming_engine.js +33 -10
- package/lib/player.js +6 -2
- package/package.json +1 -1
- package/test/player_integration.js +10 -3
- package/test/test/boot.js +29 -11
- package/test/test/util/manifest_parser_util.js +4 -3
- package/test/test/util/test_scheme.js +2 -2
- package/ui/controls.js +5 -1
|
@@ -87,6 +87,19 @@ jobs:
|
|
|
87
87
|
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'Firefox'
|
|
88
88
|
run: sudo apt -y update && sudo apt -y install ffmpeg
|
|
89
89
|
|
|
90
|
+
# Edge 107 fails DRM tests due to an outdated Widevine CDM. Force Edge
|
|
91
|
+
# to update to 108+.
|
|
92
|
+
- name: Upgrade Edge
|
|
93
|
+
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'Edge'
|
|
94
|
+
run: |
|
|
95
|
+
# If it's Edge 107, update it. Otherwise, don't. This way, we don't
|
|
96
|
+
# break something later when Edge 108+ is available by default in
|
|
97
|
+
# GitHub Actions.
|
|
98
|
+
if apt show microsoft-edge-stable | grep -q '^Version: 107'; then
|
|
99
|
+
wget https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_108.0.1462.46-1_amd64.deb
|
|
100
|
+
sudo dpkg -i microsoft-edge-stable_108.0.1462.46-1_amd64.deb
|
|
101
|
+
fi
|
|
102
|
+
|
|
90
103
|
- name: Checkout code
|
|
91
104
|
uses: actions/checkout@v3
|
|
92
105
|
with:
|
package/AUTHORS
CHANGED
|
@@ -66,6 +66,7 @@ Prakash <duggaraju@gmail.com>
|
|
|
66
66
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
67
67
|
Robert Galluccio <robertnw5@gmail.com>
|
|
68
68
|
Rodolphe Breton <robloche@gmail.com>
|
|
69
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
69
70
|
Roi Lipman <roilipman@gmail.com>
|
|
70
71
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
71
72
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.3.2](https://github.com/shaka-project/shaka-player/compare/v4.3.1...v4.3.2) (2022-12-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **chapters:** removed duplicate chapters by id ([#4810](https://github.com/shaka-project/shaka-player/issues/4810)) ([3588d37](https://github.com/shaka-project/shaka-player/commit/3588d3749d1fc3fe65a4428c774b1b5ed8f51652))
|
|
9
|
+
* Fix duplicate updates in StreamingEngine ([#4840](https://github.com/shaka-project/shaka-player/issues/4840)) ([65e188a](https://github.com/shaka-project/shaka-player/commit/65e188aef1f9edc642b563d343aca5de4ddc5caf)), closes [#4831](https://github.com/shaka-project/shaka-player/issues/4831)
|
|
10
|
+
* Fix rare exception after StreamingEngine teardown ([#4830](https://github.com/shaka-project/shaka-player/issues/4830)) ([a0fcb2e](https://github.com/shaka-project/shaka-player/commit/a0fcb2ec671ddc8f7ba5380312898068456d9b1c)), closes [#4813](https://github.com/shaka-project/shaka-player/issues/4813)
|
|
11
|
+
* **HLS:** Fix AV sync over ad boundaries ([#4824](https://github.com/shaka-project/shaka-player/issues/4824)) ([dab9ece](https://github.com/shaka-project/shaka-player/commit/dab9ece2be19e7674b56180413ec00f36500d1dc)), closes [#4589](https://github.com/shaka-project/shaka-player/issues/4589)
|
|
12
|
+
* **UI:** Suppress error log from fullscreen button on desktop ([#4823](https://github.com/shaka-project/shaka-player/issues/4823)) ([656d938](https://github.com/shaka-project/shaka-player/commit/656d938d190699511c3bd600749ce4e6167059d2)), closes [#4822](https://github.com/shaka-project/shaka-player/issues/4822)
|
|
13
|
+
|
|
3
14
|
## [4.3.1](https://github.com/shaka-project/shaka-player/compare/v4.3.0...v4.3.1) (2022-12-08)
|
|
4
15
|
|
|
5
16
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -98,6 +98,7 @@ Robert Colantuoni <rgc@colantuoni.com>
|
|
|
98
98
|
Robert Galluccio <robertnw5@gmail.com>
|
|
99
99
|
Rodolphe Breton <robloche@gmail.com>
|
|
100
100
|
Rohit Makasana <rohitbm@google.com>
|
|
101
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
101
102
|
Roi Lipman <roilipman@gmail.com>
|
|
102
103
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
103
104
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/README.md
CHANGED
|
@@ -135,10 +135,10 @@ HLS features supported:
|
|
|
135
135
|
- CEA-608/708 captions
|
|
136
136
|
- Encrypted content with PlayReady and Widevine
|
|
137
137
|
- Encrypted content with FairPlay (Safari on macOS and iOS 13+ only)
|
|
138
|
+
- Key rotation
|
|
138
139
|
- Raw AAC, MP3, etc (without an MP4 container)
|
|
139
140
|
|
|
140
141
|
HLS features **not** supported:
|
|
141
|
-
- Key rotation: https://github.com/shaka-project/shaka-player/issues/917
|
|
142
142
|
- I-frame-only playlists: https://github.com/shaka-project/shaka-player/issues/742
|
|
143
143
|
- Low-latency streaming with blocking playlist reload
|
|
144
144
|
|
package/dist/locales.js
CHANGED
|
@@ -721,45 +721,45 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
721
721
|
* @const
|
|
722
722
|
*/
|
|
723
723
|
shaka.ui.Locales.Ids = {
|
|
724
|
-
OFF: 'OFF',
|
|
725
724
|
REWIND: 'REWIND',
|
|
726
725
|
AD_DURATION: 'AD_DURATION',
|
|
726
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
727
|
+
VOLUME: 'VOLUME',
|
|
728
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
729
|
+
SKIP_AD: 'SKIP_AD',
|
|
730
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
731
|
+
LANGUAGE: 'LANGUAGE',
|
|
732
|
+
OFF: 'OFF',
|
|
727
733
|
FULL_SCREEN: 'FULL_SCREEN',
|
|
728
|
-
|
|
729
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
730
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
734
|
+
UNMUTE: 'UNMUTE',
|
|
731
735
|
RESOLUTION: 'RESOLUTION',
|
|
732
|
-
|
|
736
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
737
|
+
LIVE: 'LIVE',
|
|
738
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
739
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
740
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
741
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
742
|
+
STATISTICS: 'STATISTICS',
|
|
743
|
+
MUTE: 'MUTE',
|
|
744
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
733
745
|
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
734
|
-
CAST: 'CAST',
|
|
735
|
-
SEEK: 'SEEK',
|
|
736
746
|
BACK: 'BACK',
|
|
737
|
-
|
|
738
|
-
UNMUTE: 'UNMUTE',
|
|
739
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
740
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
747
|
+
CAPTIONS: 'CAPTIONS',
|
|
741
748
|
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
742
|
-
PLAY: 'PLAY',
|
|
743
|
-
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
744
|
-
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
745
749
|
AIRPLAY: 'AIRPLAY',
|
|
746
|
-
LIVE: 'LIVE',
|
|
747
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
748
|
-
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
749
|
-
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
750
|
-
CAPTIONS: 'CAPTIONS',
|
|
751
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
752
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
753
|
-
ON: 'ON',
|
|
754
|
-
VOLUME: 'VOLUME',
|
|
755
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
756
|
-
LANGUAGE: 'LANGUAGE',
|
|
757
|
-
SKIP_AD: 'SKIP_AD',
|
|
758
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
759
750
|
REPLAY: 'REPLAY',
|
|
760
|
-
MUTE: 'MUTE',
|
|
761
|
-
QUALITY: 'QUALITY',
|
|
762
751
|
LOOP: 'LOOP',
|
|
763
|
-
|
|
764
|
-
|
|
752
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
753
|
+
QUALITY: 'QUALITY',
|
|
754
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
755
|
+
PAUSE: 'PAUSE',
|
|
756
|
+
PLAY: 'PLAY',
|
|
757
|
+
CAST: 'CAST',
|
|
758
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
759
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
760
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
761
|
+
SEEK: 'SEEK',
|
|
762
|
+
AD_TIME: 'AD_TIME',
|
|
763
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
764
|
+
ON: 'ON',
|
|
765
765
|
};
|