shaka-player 4.7.12 → 4.7.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/AUTHORS +1 -0
- package/CONTRIBUTORS +1 -0
- package/dist/deps.js +3 -3
- package/dist/locales.js +34 -34
- package/dist/shaka-player.compiled.d.ts +3 -2
- package/dist/shaka-player.compiled.debug.d.ts +3 -2
- package/dist/shaka-player.compiled.debug.externs.js +4 -0
- package/dist/shaka-player.compiled.debug.js +265 -257
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +4 -0
- package/dist/shaka-player.compiled.js +1150 -1140
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +3 -2
- package/dist/shaka-player.ui.debug.d.ts +3 -2
- package/dist/shaka-player.ui.debug.externs.js +4 -0
- package/dist/shaka-player.ui.debug.js +394 -386
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +4 -0
- package/dist/shaka-player.ui.js +1306 -1296
- package/dist/shaka-player.ui.map +4 -4
- package/externs/shaka/manifest.js +11 -1
- package/externs/shaka/offline.js +7 -1
- package/lib/ads/client_side_ad_manager.js +4 -2
- package/lib/dash/dash_parser.js +10 -3
- package/lib/dash/segment_base.js +8 -1
- package/lib/dash/segment_list.js +24 -18
- package/lib/dash/segment_template.js +45 -3
- package/lib/hls/hls_parser.js +18 -1
- package/lib/media/drm_engine.js +17 -3
- package/lib/media/media_source_engine.js +87 -27
- package/lib/media/segment_index.js +31 -20
- package/lib/media/segment_reference.js +12 -0
- package/lib/media/streaming_engine.js +10 -28
- package/lib/mss/mss_parser.js +4 -0
- package/lib/offline/indexeddb/v1_storage_cell.js +2 -0
- package/lib/offline/indexeddb/v2_storage_cell.js +2 -0
- package/lib/offline/manifest_converter.js +10 -3
- package/lib/offline/storage.js +2 -0
- package/lib/player.js +57 -17
- package/lib/text/ui_text_displayer.js +10 -1
- package/lib/util/mime_utils.js +10 -5
- package/lib/util/periods.js +5 -37
- package/lib/util/platform.js +31 -9
- package/lib/util/stream_utils.js +340 -273
- package/package.json +1 -1
- package/ui/resolution_selection.js +1 -0
package/AUTHORS
CHANGED
|
@@ -28,6 +28,7 @@ Bonnier Broadcasting <*@bonnierbroadcasting.com>
|
|
|
28
28
|
Bryan Huh <bhh1988@gmail.com>
|
|
29
29
|
Charter Communications Inc <*@charter.com>
|
|
30
30
|
Code It <*@code-it.fr>
|
|
31
|
+
Cristian Atehortua <cristian25a32@gmail.com>
|
|
31
32
|
Damien Deis <developer.deis@gmail.com>
|
|
32
33
|
Dany L'Hébreux <danylhebreux@gmail.com>
|
|
33
34
|
Dave Nicholas <davenicholasuk@gmail.com>
|
package/CONTRIBUTORS
CHANGED
|
@@ -44,6 +44,7 @@ Casey Occhialini <casey.occhialini@gmail.com>
|
|
|
44
44
|
Chad Assareh <assareh@google.com>
|
|
45
45
|
Chris Fillmore <fillmore.chris@gmail.com>
|
|
46
46
|
Costel Madalin Grecu <madalin.grecu@adswizz.com>
|
|
47
|
+
Cristian Atehortua <cristian25a32@gmail.com>
|
|
47
48
|
Damien Deis <developer.deis@gmail.com>
|
|
48
49
|
Dany L'Hébreux <danylhebreux@gmail.com>
|
|
49
50
|
Dave Nicholas <davenicholasuk@gmail.com>
|
package/dist/deps.js
CHANGED
|
@@ -73,7 +73,7 @@ goog.addDependency('../../../../lib/media/drm_engine.js', ['shaka.media.DrmEngin
|
|
|
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.Timer'], {'lang': 'es6'});
|
|
74
74
|
goog.addDependency('../../../../lib/media/manifest_parser.js', ['shaka.media.ManifestParser'], ['shaka.Deprecate', 'shaka.log', 'shaka.util.Error', 'shaka.util.Platform'], {'lang': 'es6'});
|
|
75
75
|
goog.addDependency('../../../../lib/media/media_source_capabilities.js', ['shaka.media.Capabilities'], [], {'lang': 'es6'});
|
|
76
|
-
goog.addDependency('../../../../lib/media/media_source_engine.js', ['shaka.media.MediaSourceEngine'], ['goog.asserts', 'shaka.config.CodecSwitchingStrategy', 'shaka.lcevc.Dec', 'shaka.log', 'shaka.media.Capabilities', 'shaka.media.ClosedCaptionParser', 'shaka.media.ContentWorkarounds', 'shaka.media.IClosedCaptionParser', 'shaka.media.ManifestParser', 'shaka.media.SegmentReference', 'shaka.media.TimeRangesUtils', 'shaka.text.TextEngine', 'shaka.transmuxer.TransmuxerEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.IDestroyable', 'shaka.util.Id3Utils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Mp4BoxParsers', 'shaka.util.Mp4Parser', 'shaka.util.Platform', 'shaka.util.PublicPromise', 'shaka.util.TsParser'], {'lang': 'es8'});
|
|
76
|
+
goog.addDependency('../../../../lib/media/media_source_engine.js', ['shaka.media.MediaSourceEngine'], ['goog.asserts', 'shaka.config.CodecSwitchingStrategy', 'shaka.lcevc.Dec', 'shaka.log', 'shaka.media.Capabilities', 'shaka.media.ClosedCaptionParser', 'shaka.media.ContentWorkarounds', 'shaka.media.IClosedCaptionParser', 'shaka.media.ManifestParser', 'shaka.media.SegmentReference', 'shaka.media.TimeRangesUtils', 'shaka.text.TextEngine', 'shaka.transmuxer.TransmuxerEngine', 'shaka.util.BufferUtils', 'shaka.util.Destroyer', 'shaka.util.Error', 'shaka.util.EventManager', 'shaka.util.Functional', 'shaka.util.IDestroyable', 'shaka.util.Id3Utils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Mp4BoxParsers', 'shaka.util.Mp4Parser', 'shaka.util.Platform', 'shaka.util.PublicPromise', 'shaka.util.StreamUtils', 'shaka.util.TsParser'], {'lang': 'es8'});
|
|
77
77
|
goog.addDependency('../../../../lib/media/mp4_segment_index_parser.js', ['shaka.media.Mp4SegmentIndexParser'], ['goog.asserts', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.SegmentReference', 'shaka.util.Error', 'shaka.util.Mp4Parser'], {'lang': 'es6'});
|
|
78
78
|
goog.addDependency('../../../../lib/media/play_rate_controller.js', ['shaka.media.PlayRateController'], ['shaka.log', 'shaka.util.IReleasable', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
79
79
|
goog.addDependency('../../../../lib/media/playhead.js', ['shaka.media.MediaSourcePlayhead', 'shaka.media.Playhead', 'shaka.media.SrcEqualsPlayhead'], ['goog.asserts', 'shaka.log', 'shaka.media.GapJumpingController', 'shaka.media.StallDetector', 'shaka.media.StallDetector.MediaElementImplementation', 'shaka.media.TimeRangesUtils', 'shaka.media.VideoWrapper', 'shaka.util.EventManager', 'shaka.util.IReleasable', 'shaka.util.MediaReadyState', 'shaka.util.Timer'], {'lang': 'es8'});
|
|
@@ -92,7 +92,7 @@ goog.addDependency('../../../../lib/media/time_ranges_utils.js', ['shaka.media.T
|
|
|
92
92
|
goog.addDependency('../../../../lib/media/video_wrapper.js', ['shaka.media.VideoWrapper', 'shaka.media.VideoWrapper.PlayheadMover'], ['goog.asserts', 'shaka.log', 'shaka.util.EventManager', 'shaka.util.IReleasable', 'shaka.util.MediaReadyState', 'shaka.util.Timer'], {'lang': 'es6'});
|
|
93
93
|
goog.addDependency('../../../../lib/media/webm_segment_index_parser.js', ['shaka.media.WebmSegmentIndexParser'], ['goog.asserts', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.SegmentReference', 'shaka.util.EbmlElement', 'shaka.util.EbmlParser', 'shaka.util.Error'], {'lang': 'es6'});
|
|
94
94
|
goog.addDependency('../../../../lib/mss/content_protection.js', ['shaka.mss.ContentProtection'], ['shaka.log', 'shaka.util.BufferUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.Pssh', 'shaka.util.StringUtils', 'shaka.util.Uint8ArrayUtils', 'shaka.util.XmlUtils'], {'lang': 'es6'});
|
|
95
|
-
goog.addDependency('../../../../lib/mss/mss_parser.js', ['shaka.mss.MssParser'], ['goog.asserts', 'shaka.abr.Ewma', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentReference', 'shaka.mss.ContentProtection', 'shaka.net.NetworkingEngine', 'shaka.util.Error', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.Mp4Generator', 'shaka.util.OperationManager', 'shaka.util.Timer', 'shaka.util.XmlUtils'], {'lang': 'es8'});
|
|
95
|
+
goog.addDependency('../../../../lib/mss/mss_parser.js', ['shaka.mss.MssParser'], ['goog.asserts', 'shaka.abr.Ewma', 'shaka.log', 'shaka.media.InitSegmentReference', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentReference', 'shaka.mss.ContentProtection', 'shaka.net.NetworkingEngine', 'shaka.util.Error', 'shaka.util.LanguageUtils', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils', 'shaka.util.Mp4Generator', 'shaka.util.OperationManager', 'shaka.util.Timer', 'shaka.util.XmlUtils'], {'lang': 'es8'});
|
|
96
96
|
goog.addDependency('../../../../lib/net/backoff.js', ['shaka.net.Backoff'], ['goog.asserts', 'shaka.util.Error', 'shaka.util.Timer'], {'lang': 'es8'});
|
|
97
97
|
goog.addDependency('../../../../lib/net/data_uri_plugin.js', ['shaka.net.DataUriPlugin'], ['shaka.log', 'shaka.net.NetworkingEngine', 'shaka.util.AbortableOperation', 'shaka.util.Error', 'shaka.util.StringUtils', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
|
|
98
98
|
goog.addDependency('../../../../lib/net/http_fetch_plugin.js', ['shaka.net.HttpFetchPlugin'], ['goog.asserts', 'shaka.log', 'shaka.net.HttpPluginUtils', 'shaka.net.NetworkingEngine', 'shaka.util.AbortableOperation', 'shaka.util.Error', 'shaka.util.MapUtils', 'shaka.util.Timer'], {'lang': 'es8'});
|
|
@@ -111,7 +111,7 @@ goog.addDependency('../../../../lib/offline/indexeddb/storage_mechanism.js', ['s
|
|
|
111
111
|
goog.addDependency('../../../../lib/offline/indexeddb/v1_storage_cell.js', ['shaka.offline.indexeddb.V1StorageCell'], ['goog.asserts', 'shaka.log', 'shaka.offline.indexeddb.BaseStorageCell', 'shaka.util.Error', 'shaka.util.ManifestParserUtils', 'shaka.util.PeriodCombiner', 'shaka.util.PublicPromise'], {'lang': 'es8'});
|
|
112
112
|
goog.addDependency('../../../../lib/offline/indexeddb/v2_storage_cell.js', ['shaka.offline.indexeddb.V2StorageCell'], ['shaka.offline.indexeddb.BaseStorageCell', 'shaka.util.PeriodCombiner'], {'lang': 'es8'});
|
|
113
113
|
goog.addDependency('../../../../lib/offline/indexeddb/v5_storage_cell.js', ['shaka.offline.indexeddb.V5StorageCell'], ['shaka.offline.indexeddb.BaseStorageCell'], {'lang': 'es6'});
|
|
114
|
-
goog.addDependency('../../../../lib/offline/manifest_converter.js', ['shaka.offline.ManifestConverter'], ['goog.asserts', 'shaka.media.InitSegmentReference', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentReference', 'shaka.offline.OfflineUri', 'shaka.util.ManifestParserUtils'], {'lang': 'es6'});
|
|
114
|
+
goog.addDependency('../../../../lib/offline/manifest_converter.js', ['shaka.offline.ManifestConverter'], ['goog.asserts', 'shaka.media.InitSegmentReference', 'shaka.media.ManifestParser', 'shaka.media.PresentationTimeline', 'shaka.media.SegmentIndex', 'shaka.media.SegmentReference', 'shaka.offline.OfflineUri', 'shaka.util.ManifestParserUtils', 'shaka.util.MimeUtils'], {'lang': 'es6'});
|
|
115
115
|
goog.addDependency('../../../../lib/offline/offline_manifest_parser.js', ['shaka.offline.OfflineManifestParser'], ['goog.asserts', 'shaka.log', 'shaka.media.ManifestParser', 'shaka.offline.ManifestConverter', 'shaka.offline.OfflineUri', 'shaka.offline.StorageMuxer', 'shaka.util.Error'], {'lang': 'es8'});
|
|
116
116
|
goog.addDependency('../../../../lib/offline/offline_scheme.js', ['shaka.offline.OfflineScheme'], ['goog.asserts', 'shaka.net.NetworkingEngine', 'shaka.offline.OfflineUri', 'shaka.offline.StorageMuxer', 'shaka.util.AbortableOperation', 'shaka.util.Error'], {'lang': 'es6'});
|
|
117
117
|
goog.addDependency('../../../../lib/offline/offline_uri.js', ['shaka.offline.OfflineUri'], [], {'lang': 'es6'});
|
package/dist/locales.js
CHANGED
|
@@ -724,46 +724,46 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
724
724
|
* @const
|
|
725
725
|
*/
|
|
726
726
|
shaka.ui.Locales.Ids = {
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
727
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
728
|
+
MUTE: 'MUTE',
|
|
729
|
+
CAST: 'CAST',
|
|
730
|
+
AIRPLAY: 'AIRPLAY',
|
|
731
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
732
|
+
SEEK: 'SEEK',
|
|
733
733
|
LANGUAGE: 'LANGUAGE',
|
|
734
|
-
LIVE: 'LIVE',
|
|
735
|
-
VOLUME: 'VOLUME',
|
|
736
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
737
|
-
REPLAY: 'REPLAY',
|
|
738
|
-
QUALITY: 'QUALITY',
|
|
739
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
740
|
-
CAPTIONS: 'CAPTIONS',
|
|
741
|
-
ON: 'ON',
|
|
742
|
-
BACK: 'BACK',
|
|
743
|
-
AD_DURATION: 'AD_DURATION',
|
|
744
|
-
REWIND: 'REWIND',
|
|
745
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
746
734
|
FULL_SCREEN: 'FULL_SCREEN',
|
|
735
|
+
AD_TIME: 'AD_TIME',
|
|
747
736
|
UNMUTE: 'UNMUTE',
|
|
737
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
738
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
739
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
740
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
741
|
+
SKIP_AD: 'SKIP_AD',
|
|
748
742
|
STATISTICS: 'STATISTICS',
|
|
749
|
-
|
|
750
|
-
|
|
743
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
744
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
751
745
|
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
752
|
-
|
|
746
|
+
OFF: 'OFF',
|
|
747
|
+
CAPTIONS: 'CAPTIONS',
|
|
748
|
+
PLAY: 'PLAY',
|
|
749
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
750
|
+
AD_DURATION: 'AD_DURATION',
|
|
751
|
+
REWIND: 'REWIND',
|
|
752
|
+
PAUSE: 'PAUSE',
|
|
753
753
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
754
|
-
|
|
754
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
755
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
756
|
+
LOOP: 'LOOP',
|
|
757
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
755
758
|
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
759
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
760
|
-
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
759
|
+
LIVE: 'LIVE',
|
|
760
|
+
ON: 'ON',
|
|
761
761
|
RESOLUTION: 'RESOLUTION',
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
762
|
+
VOLUME: 'VOLUME',
|
|
763
|
+
SURROUND: 'SURROUND',
|
|
764
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
765
|
+
QUALITY: 'QUALITY',
|
|
766
|
+
REPLAY: 'REPLAY',
|
|
767
|
+
BACK: 'BACK',
|
|
768
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
769
769
|
};
|
|
@@ -1052,6 +1052,7 @@ declare namespace shaka.media {
|
|
|
1052
1052
|
evict (time : number ) : any ;
|
|
1053
1053
|
find (time : number ) : number | null ;
|
|
1054
1054
|
fit (windowStart : number , windowEnd : number | null , c ? : boolean ) : any ;
|
|
1055
|
+
forEachTopLevelReference (fn : any ) : any ;
|
|
1055
1056
|
get (position : number ) : shaka.media.SegmentReference | null ;
|
|
1056
1057
|
merge (references : any ) : any ;
|
|
1057
1058
|
mergeAndEvict (references : shaka.media.SegmentReference [] , windowStart : number ) : any ;
|
|
@@ -4615,7 +4616,7 @@ declare namespace shaka.extern {
|
|
|
4615
4616
|
}
|
|
4616
4617
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4617
4618
|
declare namespace shaka.extern {
|
|
4618
|
-
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , fastSwitching : boolean , forced : boolean , frameRate ? : number , groupId : string | null , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , videoLayout ? : string , width ? : number } ;
|
|
4619
|
+
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , fastSwitching : boolean , forced : boolean , frameRate ? : number , fullMimeTypes : Set < string > , groupId : string | null , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , videoLayout ? : string , width ? : number } ;
|
|
4619
4620
|
}
|
|
4620
4621
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4621
4622
|
declare namespace shaka.extern {
|
|
@@ -4806,7 +4807,7 @@ declare namespace shaka.extern {
|
|
|
4806
4807
|
}
|
|
4807
4808
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
|
|
4808
4809
|
declare namespace shaka.extern {
|
|
4809
|
-
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
4810
|
+
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , codecs : string | null , dataKey : number , endTime : number , initSegmentKey : number | null , mimeType : string | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
4810
4811
|
}
|
|
4811
4812
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
|
|
4812
4813
|
declare namespace shaka.extern {
|
|
@@ -1052,6 +1052,7 @@ declare namespace shaka.media {
|
|
|
1052
1052
|
evict (time : number ) : any ;
|
|
1053
1053
|
find (time : number ) : number | null ;
|
|
1054
1054
|
fit (windowStart : number , windowEnd : number | null , c ? : boolean ) : any ;
|
|
1055
|
+
forEachTopLevelReference (fn : any ) : any ;
|
|
1055
1056
|
get (position : number ) : shaka.media.SegmentReference | null ;
|
|
1056
1057
|
merge (references : any ) : any ;
|
|
1057
1058
|
mergeAndEvict (references : shaka.media.SegmentReference [] , windowStart : number ) : any ;
|
|
@@ -4615,7 +4616,7 @@ declare namespace shaka.extern {
|
|
|
4615
4616
|
}
|
|
4616
4617
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4617
4618
|
declare namespace shaka.extern {
|
|
4618
|
-
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , fastSwitching : boolean , forced : boolean , frameRate ? : number , groupId : string | null , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , videoLayout ? : string , width ? : number } ;
|
|
4619
|
+
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , fastSwitching : boolean , forced : boolean , frameRate ? : number , fullMimeTypes : Set < string > , groupId : string | null , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , videoLayout ? : string , width ? : number } ;
|
|
4619
4620
|
}
|
|
4620
4621
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4621
4622
|
declare namespace shaka.extern {
|
|
@@ -4806,7 +4807,7 @@ declare namespace shaka.extern {
|
|
|
4806
4807
|
}
|
|
4807
4808
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
|
|
4808
4809
|
declare namespace shaka.extern {
|
|
4809
|
-
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
4810
|
+
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , codecs : string | null , dataKey : number , endTime : number , initSegmentKey : number | null , mimeType : string | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
4810
4811
|
}
|
|
4811
4812
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
|
|
4812
4813
|
declare namespace shaka.extern {
|