shaka-player 4.2.5 → 4.2.6
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/dist/locales.js +28 -28
- package/dist/shaka-player.compiled.debug.js +151 -150
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +644 -642
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.debug.js +203 -201
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +794 -792
- 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
|
@@ -65,6 +65,7 @@ Prakash <duggaraju@gmail.com>
|
|
|
65
65
|
Robert Colantuoni <rgc@colantuoni.com>
|
|
66
66
|
Robert Galluccio <robertnw5@gmail.com>
|
|
67
67
|
Rodolphe Breton <robloche@gmail.com>
|
|
68
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
68
69
|
Roi Lipman <roilipman@gmail.com>
|
|
69
70
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
70
71
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.2.6](https://github.com/shaka-project/shaka-player/compare/v4.2.5...v4.2.6) (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)) ([50b7c91](https://github.com/shaka-project/shaka-player/commit/50b7c910f8381c035c061c0c58667b6c4be557b8))
|
|
9
|
+
* Fix duplicate updates in StreamingEngine ([#4840](https://github.com/shaka-project/shaka-player/issues/4840)) ([bb25ff8](https://github.com/shaka-project/shaka-player/commit/bb25ff876b4cb48df98d8f7d033a79a9026b2cdf)), 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)) ([e0f513e](https://github.com/shaka-project/shaka-player/commit/e0f513e7fec1c497ad1ef0135f700488dd9a6473)), 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)) ([12cbf96](https://github.com/shaka-project/shaka-player/commit/12cbf96734ba421adb00a5875e96d3a442363cf3)), 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)) ([6d5f112](https://github.com/shaka-project/shaka-player/commit/6d5f1124ad56e74f61aacb68bb9161bfd5bc192a)), closes [#4822](https://github.com/shaka-project/shaka-player/issues/4822)
|
|
13
|
+
|
|
3
14
|
## [4.2.5](https://github.com/shaka-project/shaka-player/compare/v4.2.4...v4.2.5) (2022-12-08)
|
|
4
15
|
|
|
5
16
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -97,6 +97,7 @@ Robert Colantuoni <rgc@colantuoni.com>
|
|
|
97
97
|
Robert Galluccio <robertnw5@gmail.com>
|
|
98
98
|
Rodolphe Breton <robloche@gmail.com>
|
|
99
99
|
Rohit Makasana <rohitbm@google.com>
|
|
100
|
+
Rohan Gupta <rohangupta1528@gmail.com>
|
|
100
101
|
Roi Lipman <roilipman@gmail.com>
|
|
101
102
|
Roksolana Ivanyshyn <roksolana.ivanyshyn.pub@gmail.com>
|
|
102
103
|
Rostislav Hejduk <Ross-cz@users.noreply.github.com>
|
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
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
724
725
|
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
SKIP_AD: 'SKIP_AD',
|
|
726
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
727
|
+
CAST: 'CAST',
|
|
728
|
+
AIRPLAY: 'AIRPLAY',
|
|
729
729
|
ON: 'ON',
|
|
730
|
-
|
|
731
|
-
|
|
730
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
731
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
732
732
|
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
733
|
+
MUTE: 'MUTE',
|
|
733
734
|
AD_DURATION: 'AD_DURATION',
|
|
734
|
-
|
|
735
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
736
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
737
|
+
LOOP: 'LOOP',
|
|
738
|
+
REWIND: 'REWIND',
|
|
739
|
+
SEEK: 'SEEK',
|
|
740
|
+
VOLUME: 'VOLUME',
|
|
735
741
|
STATISTICS: 'STATISTICS',
|
|
742
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
743
|
+
RESOLUTION: 'RESOLUTION',
|
|
744
|
+
LIVE: 'LIVE',
|
|
736
745
|
CAPTIONS: 'CAPTIONS',
|
|
737
|
-
|
|
746
|
+
OFF: 'OFF',
|
|
747
|
+
REPLAY: 'REPLAY',
|
|
748
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
738
749
|
LANGUAGE: 'LANGUAGE',
|
|
739
|
-
AD_TIME: 'AD_TIME',
|
|
740
750
|
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
OFF: 'OFF',
|
|
748
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
749
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
751
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
752
|
+
AD_TIME: 'AD_TIME',
|
|
753
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
754
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
755
|
+
PAUSE: 'PAUSE',
|
|
756
|
+
UNMUTE: 'UNMUTE',
|
|
750
757
|
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
751
|
-
AIRPLAY: 'AIRPLAY',
|
|
752
|
-
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
753
758
|
AD_PROGRESS: 'AD_PROGRESS',
|
|
754
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
755
|
-
CAST: 'CAST',
|
|
756
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
757
759
|
BACK: 'BACK',
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
PAUSE: 'PAUSE',
|
|
760
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
761
|
+
SKIP_AD: 'SKIP_AD',
|
|
762
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
762
763
|
QUALITY: 'QUALITY',
|
|
763
764
|
PLAY: 'PLAY',
|
|
764
|
-
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
765
765
|
};
|