shaka-player 4.9.3 → 4.9.5
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/dist/deps.js +3 -2
- package/dist/locales.js +34 -34
- package/dist/shaka-player.compiled.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.js +50 -50
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +1164 -1163
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +1 -1
- package/dist/shaka-player.ui.debug.d.ts +1 -1
- package/dist/shaka-player.ui.debug.js +53 -53
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +1353 -1353
- package/dist/shaka-player.ui.map +3 -3
- package/externs/polyfill.js +1 -1
- package/lib/media/content_workarounds.js +22 -7
- package/lib/media/drm_engine.js +10 -25
- package/lib/media/media_source_engine.js +31 -14
- package/lib/media/presentation_timeline.js +1 -1
- package/lib/media/time_ranges_utils.js +18 -10
- package/lib/player.js +25 -22
- package/lib/polyfill/patchedmediakeys_apple.js +9 -2
- package/lib/polyfill/patchedmediakeys_nop.js +8 -1
- package/lib/polyfill/patchedmediakeys_webkit.js +12 -2
- package/lib/util/cmcd_manager.js +10 -0
- package/lib/util/drm_utils.js +34 -0
- package/lib/util/manifest_parser_utils.js +1 -1
- package/lib/util/platform.js +12 -7
- package/package.json +1 -1
package/dist/deps.js
CHANGED
|
@@ -69,7 +69,7 @@ goog.addDependency('../../../../lib/media/adaptation_set_criteria.js', ['shaka.m
|
|
|
69
69
|
goog.addDependency('../../../../lib/media/buffering_observer.js', ['shaka.media.BufferingObserver'], [], {'lang': 'es6'});
|
|
70
70
|
goog.addDependency('../../../../lib/media/closed_caption_parser.js', ['shaka.media.ClosedCaptionParser', 'shaka.media.IClosedCaptionParser'], ['shaka.cea.DummyCaptionDecoder', 'shaka.cea.DummyCeaParser', 'shaka.log', 'shaka.util.BufferUtils'], {'lang': 'es6'});
|
|
71
71
|
goog.addDependency('../../../../lib/media/content_workarounds.js', ['shaka.media.ContentWorkarounds'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Error', 'shaka.util.Lazy', 'shaka.util.Mp4Parser', 'shaka.util.Platform', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
|
|
72
|
-
goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngine'], ['goog.asserts', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.transmuxer.TransmuxerEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IDestroyable', 'shaka.util.Iterables', 'shaka.util.Lazy', 'shaka.util.ManifestParserUtils', 'shaka.util.MapUtils', 'shaka.util.MimeUtils', 'shaka.util.ObjectUtils', 'shaka.util.Platform', 'shaka.util.Pssh', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es8'});
|
|
72
|
+
goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngine'], ['goog.asserts', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.transmuxer.TransmuxerEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.DrmUtils', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IDestroyable', 'shaka.util.Iterables', 'shaka.util.Lazy', 'shaka.util.ManifestParserUtils', 'shaka.util.MapUtils', 'shaka.util.MimeUtils', 'shaka.util.ObjectUtils', 'shaka.util.Platform', 'shaka.util.Pssh', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.StringUtils', 'shaka.util.TXml', 'shaka.util.Timer', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es8'});
|
|
73
73
|
goog.addDependency('../../../../lib/media/gap_jumping_controller.js', ['shaka.media.GapJumpingController'], ['shaka.log', 'shaka.media.PresentationTimeline', 'shaka.media.StallDetector', 'shaka.media.TimeRangesUtils', 'shaka.util.EventManager', 'shaka.util.FakeEvent', 'shaka.util.IReleasable', 'shaka.util.Platform', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
74
74
|
goog.addDependency('../../../../lib/media/manifest_filterer.js', ['shaka.media.ManifestFilterer'], ['goog.asserts', 'shaka.media.DrmEngine', 'shaka.util.Error', 'shaka.util.StreamUtils'], {'lang': 'es8'});
|
|
75
75
|
goog.addDependency('../../../../lib/media/manifest_parser.js', ['shaka.media.ManifestParser'], ['shaka.Deprecate', 'shaka.log', 'shaka.util.Error', 'shaka.util.Platform'], {'lang': 'es6'});
|
|
@@ -182,6 +182,7 @@ goog.addDependency('../../../../lib/util/data_view_reader.js', ['shaka.util.Data
|
|
|
182
182
|
goog.addDependency('../../../../lib/util/delayed_tick.js', ['shaka.util.DelayedTick'], [], {'lang': 'es6'});
|
|
183
183
|
goog.addDependency('../../../../lib/util/destroyer.js', ['shaka.util.Destroyer'], ['shaka.util.Error', 'shaka.util.PublicPromise'], {'lang': 'es6'});
|
|
184
184
|
goog.addDependency('../../../../lib/util/dom_utils.js', ['shaka.util.Dom'], ['goog.asserts'], {'lang': 'es6'});
|
|
185
|
+
goog.addDependency('../../../../lib/util/drm_utils.js', ['shaka.util.DrmUtils'], [], {'lang': 'es6'});
|
|
185
186
|
goog.addDependency('../../../../lib/util/ebml_parser.js', ['shaka.util.EbmlElement', 'shaka.util.EbmlParser'], ['goog.asserts', 'shaka.util.BufferUtils', 'shaka.util.DataViewReader', 'shaka.util.Error'], {'lang': 'es6'});
|
|
186
187
|
goog.addDependency('../../../../lib/util/error.js', ['shaka.util.Error'], [], {'lang': 'es6'});
|
|
187
188
|
goog.addDependency('../../../../lib/util/event_manager.js', ['shaka.util.EventManager'], ['goog.asserts', 'shaka.util.IReleasable', 'shaka.util.MultiMap'], {'lang': 'es6'});
|
|
@@ -209,7 +210,7 @@ goog.addDependency('../../../../lib/util/networking.js', ['shaka.util.Networking
|
|
|
209
210
|
goog.addDependency('../../../../lib/util/object_utils.js', ['shaka.util.ObjectUtils'], [], {'lang': 'es6'});
|
|
210
211
|
goog.addDependency('../../../../lib/util/operation_manager.js', ['shaka.util.OperationManager'], ['shaka.util.ArrayUtils', 'shaka.util.IDestroyable'], {'lang': 'es6'});
|
|
211
212
|
goog.addDependency('../../../../lib/util/periods.js', ['shaka.util.PeriodCombiner'], ['goog.asserts', 'shaka.log', 'shaka.media.DrmEngine', 'shaka.media.MetaSegmentIndex', 'shaka.media.SegmentIndex', 'shaka.util.Error', 'shaka.util.IReleasable', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils'], {'lang': 'es8'});
|
|
212
|
-
goog.addDependency('../../../../lib/util/platform.js', ['shaka.util.Platform'], ['shaka.log', 'shaka.util.Timer'], {'lang': 'es8'});
|
|
213
|
+
goog.addDependency('../../../../lib/util/platform.js', ['shaka.util.Platform'], ['shaka.log', 'shaka.util.DrmUtils', 'shaka.util.Timer'], {'lang': 'es8'});
|
|
213
214
|
goog.addDependency('../../../../lib/util/player_configuration.js', ['shaka.util.PlayerConfiguration'], ['goog.asserts', 'shaka.abr.SimpleAbrManager', 'shaka.config.AutoShowText', 'shaka.config.CodecSwitchingStrategy', 'shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.ConfigUtils', 'shaka.util.FairPlayUtils', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.Platform'], {'lang': 'es8'});
|
|
214
215
|
goog.addDependency('../../../../lib/util/pssh.js', ['shaka.util.Pssh'], ['goog.asserts', 'shaka.log', 'shaka.util.BufferUtils', 'shaka.util.Mp4Parser', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
|
|
215
216
|
goog.addDependency('../../../../lib/util/public_promise.js', ['shaka.util.PublicPromise'], [], {'lang': 'es6'});
|
package/dist/locales.js
CHANGED
|
@@ -732,48 +732,48 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
732
732
|
* @const
|
|
733
733
|
*/
|
|
734
734
|
shaka.ui.Locales.Ids = {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
744
|
-
LIVE: 'LIVE',
|
|
735
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
736
|
+
AIRPLAY: 'AIRPLAY',
|
|
737
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
738
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
739
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
740
|
+
AD_DURATION: 'AD_DURATION',
|
|
741
|
+
CAPTIONS: 'CAPTIONS',
|
|
742
|
+
CAST: 'CAST',
|
|
745
743
|
LANGUAGE: 'LANGUAGE',
|
|
744
|
+
UNMUTE: 'UNMUTE',
|
|
745
|
+
QUALITY: 'QUALITY',
|
|
746
746
|
MUTE: 'MUTE',
|
|
747
747
|
OFF: 'OFF',
|
|
748
|
-
|
|
748
|
+
PAUSE: 'PAUSE',
|
|
749
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
750
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
751
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
752
|
+
RESOLUTION: 'RESOLUTION',
|
|
749
753
|
SEEK: 'SEEK',
|
|
750
754
|
FULL_SCREEN: 'FULL_SCREEN',
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
VOLUME: 'VOLUME',
|
|
755
|
-
ON: 'ON',
|
|
755
|
+
PLAY: 'PLAY',
|
|
756
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
757
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
756
758
|
AD_TIME: 'AD_TIME',
|
|
757
|
-
|
|
759
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
760
|
+
REWIND: 'REWIND',
|
|
761
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
758
762
|
REPLAY: 'REPLAY',
|
|
759
|
-
|
|
760
|
-
|
|
763
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
764
|
+
ON: 'ON',
|
|
765
|
+
VOLUME: 'VOLUME',
|
|
766
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
767
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
768
|
+
RECENTER_VR: 'RECENTER_VR',
|
|
769
|
+
BACK: 'BACK',
|
|
770
|
+
LOOP: 'LOOP',
|
|
771
|
+
LIVE: 'LIVE',
|
|
761
772
|
TOGGLE_STEREOSCOPIC: 'TOGGLE_STEREOSCOPIC',
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
765
|
-
CAPTIONS: 'CAPTIONS',
|
|
773
|
+
SKIP_AD: 'SKIP_AD',
|
|
774
|
+
SURROUND: 'SURROUND',
|
|
766
775
|
STATISTICS: 'STATISTICS',
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
776
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
777
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
770
778
|
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
771
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
772
|
-
BACK: 'BACK',
|
|
773
|
-
PAUSE: 'PAUSE',
|
|
774
|
-
AD_DURATION: 'AD_DURATION',
|
|
775
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
776
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
777
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
778
|
-
AIRPLAY: 'AIRPLAY',
|
|
779
779
|
};
|
|
@@ -4333,7 +4333,7 @@ declare namespace msdk.device {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
|
|
4335
4335
|
declare namespace window {
|
|
4336
|
-
let shakaMediaKeysPolyfill :
|
|
4336
|
+
let shakaMediaKeysPolyfill : string ;
|
|
4337
4337
|
}
|
|
4338
4338
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4339
4339
|
declare namespace ಠ_ಠ.clutz {
|
|
@@ -4333,7 +4333,7 @@ declare namespace msdk.device {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
|
|
4335
4335
|
declare namespace window {
|
|
4336
|
-
let shakaMediaKeysPolyfill :
|
|
4336
|
+
let shakaMediaKeysPolyfill : string ;
|
|
4337
4337
|
}
|
|
4338
4338
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4339
4339
|
declare namespace ಠ_ಠ.clutz {
|