shaka-player 4.6.10 → 4.6.12
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/question.md +7 -0
- package/AUTHORS +2 -0
- package/CHANGELOG.md +24 -0
- package/CONTRIBUTORS +2 -0
- package/demo/config.js +1 -1
- package/dist/demo.compiled.debug.js +1 -1
- package/dist/demo.compiled.js +1 -1
- package/dist/locales.js +32 -32
- 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.externs.js +2 -1
- package/dist/shaka-player.compiled.debug.js +270 -269
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +2 -1
- package/dist/shaka-player.compiled.js +1125 -1120
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +13 -2
- package/dist/shaka-player.ui.debug.d.ts +13 -2
- package/dist/shaka-player.ui.debug.externs.js +3 -1
- package/dist/shaka-player.ui.debug.js +146 -144
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +3 -1
- package/dist/shaka-player.ui.js +1241 -1236
- package/dist/shaka-player.ui.map +3 -3
- package/lib/media/drm_engine.js +9 -0
- package/lib/mss/mss_parser.js +2 -0
- package/lib/offline/storage.js +4 -0
- package/lib/player.js +14 -3
- package/lib/polyfill/media_capabilities.js +23 -3
- package/lib/transmuxer/aac_transmuxer.js +2 -0
- package/lib/transmuxer/ac3_transmuxer.js +2 -0
- package/lib/transmuxer/ec3_transmuxer.js +2 -0
- package/lib/transmuxer/h264.js +28 -1
- package/lib/transmuxer/h265.js +25 -5
- package/lib/transmuxer/mp3_transmuxer.js +2 -0
- package/lib/transmuxer/ts_transmuxer.js +12 -0
- package/lib/util/cmcd_manager.js +13 -0
- package/lib/util/manifest_parser_utils.js +2 -0
- package/lib/util/mp4_generator.js +31 -2
- package/lib/util/stream_utils.js +2 -10
- package/lib/util/ts_parser.js +7 -4
- package/package.json +1 -1
- package/test/polyfill/media_capabilities_unit.js +12 -6
- package/test/test/util/fake_drm_engine.js +7 -0
- package/test/util/stream_utils_unit.js +2 -8
- package/ui/externs/ui.js +24 -0
- package/ui/play_button.js +3 -0
- /package/.github/{config.yml → ISSUE_TEMPLATE/config.yml} +0 -0
|
@@ -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**
|
package/AUTHORS
CHANGED
|
@@ -60,6 +60,7 @@ Lucas Gabriel Sánchez <unkiwii@gmail.com>
|
|
|
60
60
|
Martin Stark <martin.stark@eyevinn.se>
|
|
61
61
|
Matthias Van Parijs <matvp91@gmail.com>
|
|
62
62
|
Mattias Wadman <mattias.wadman@gmail.com>
|
|
63
|
+
Mirego <*@mirego.com>
|
|
63
64
|
Mohamed Rashid <ge_rashid@hotmail.co.uk>
|
|
64
65
|
Morten Hansen <mimo@mimo-design.com>
|
|
65
66
|
Nick Desaulniers <nick@mozilla.com>
|
|
@@ -88,6 +89,7 @@ Swank Motion Pictures Inc. <*@swankmp.com>
|
|
|
88
89
|
TalkTalk Plc <*@talktalkplc.com>
|
|
89
90
|
Tatsiana Gelahova <tatsiana.gelahova@gmail.com>
|
|
90
91
|
Tian Shao <tyrelltle@gmail.com>
|
|
92
|
+
Thomas Champion <thchampi@gmail.com>
|
|
91
93
|
Tomas Tichy <mr.tichyt@gmail.com>
|
|
92
94
|
Tomohiro Matsuzawa <thmatuza75@hotmail.com>
|
|
93
95
|
Toshihiro Suzuki <t.suzuki326@gmail.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.6.12](https://github.com/shaka-project/shaka-player/compare/v4.6.11...v4.6.12) (2024-01-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* AC-3 audio codec support on Tizen ([#6166](https://github.com/shaka-project/shaka-player/issues/6166)) ([77121fa](https://github.com/shaka-project/shaka-player/commit/77121fa033ced17a4e627bd22363c2d4701c2cc3))
|
|
9
|
+
* **Ads:** Fix initial ads configuration ([#6176](https://github.com/shaka-project/shaka-player/issues/6176)) ([4b997a9](https://github.com/shaka-project/shaka-player/commit/4b997a95691a5cd61417f488d155aca32b071c89))
|
|
10
|
+
* **CMCD:** Allow reconfigure session ID ([#6177](https://github.com/shaka-project/shaka-player/issues/6177)) ([a9e7fa5](https://github.com/shaka-project/shaka-player/commit/a9e7fa59f84f3036f4a530ccdf28ee158aa7b029))
|
|
11
|
+
* **CMCD:** Fix CMCD for some mimetypes in src= ([#6178](https://github.com/shaka-project/shaka-player/issues/6178)) ([bbb1ebb](https://github.com/shaka-project/shaka-player/commit/bbb1ebb9e5007820b9a60e5835369150bd5ac369))
|
|
12
|
+
* Fix wrong aspect ratio in transmuxed videos ([#6170](https://github.com/shaka-project/shaka-player/issues/6170)) ([d8e08fb](https://github.com/shaka-project/shaka-player/commit/d8e08fb05e7f796d8180f7999a5d86c5def25eba))
|
|
13
|
+
* **HLS:** Fix VVC codec selection in HLS ([#6156](https://github.com/shaka-project/shaka-player/issues/6156)) ([00b73c8](https://github.com/shaka-project/shaka-player/commit/00b73c8ea2d02d8b29ce9a16cff982e0d19a6bc4))
|
|
14
|
+
* player Dropping Variant (better codec available) when it should not ([#6163](https://github.com/shaka-project/shaka-player/issues/6163)) ([fb1214d](https://github.com/shaka-project/shaka-player/commit/fb1214d50f117a2e6c57674b6d5b368de368b520))
|
|
15
|
+
|
|
16
|
+
## [4.6.11](https://github.com/shaka-project/shaka-player/compare/v4.6.10...v4.6.11) (2024-01-24)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* add missing properties to PlayButton type ([#6130](https://github.com/shaka-project/shaka-player/issues/6130)) ([2ecd8c9](https://github.com/shaka-project/shaka-player/commit/2ecd8c9980b2187697897a79d982a449188b7015))
|
|
22
|
+
* Allow by default variants without pssh in the manifest ([#6144](https://github.com/shaka-project/shaka-player/issues/6144)) ([862809a](https://github.com/shaka-project/shaka-player/commit/862809a0ad14f4f1bba0a0416d16d54d31362f43))
|
|
23
|
+
* Fix detection of spatial rendering support in Cast ([#6138](https://github.com/shaka-project/shaka-player/issues/6138)) ([a0a3103](https://github.com/shaka-project/shaka-player/commit/a0a310326d66d2b5b99478fd77b6e3aa558b7a8a))
|
|
24
|
+
* Fix nalu parsing in TS ([#6137](https://github.com/shaka-project/shaka-player/issues/6137)) ([6183af8](https://github.com/shaka-project/shaka-player/commit/6183af88eaa052721bf8906b98caad7ba339d25d))
|
|
25
|
+
* **offline:** Fix store persistent licenses with drm info in the pssh ([#6143](https://github.com/shaka-project/shaka-player/issues/6143)) ([1fe82fe](https://github.com/shaka-project/shaka-player/commit/1fe82fe0855a0151bf16986529af08b04b990790))
|
|
26
|
+
|
|
3
27
|
## [4.6.10](https://github.com/shaka-project/shaka-player/compare/v4.6.9...v4.6.10) (2024-01-18)
|
|
4
28
|
|
|
5
29
|
|
package/CONTRIBUTORS
CHANGED
|
@@ -88,6 +88,7 @@ Loïc Raux <loicraux@gmail.com>
|
|
|
88
88
|
Lucas Gabriel Sánchez <unkiwii@gmail.com>
|
|
89
89
|
Martin Stark <martin.stark@eyevinn.se>
|
|
90
90
|
Matias Russitto <russitto@gmail.com>
|
|
91
|
+
Mathieu Côté <mcote@mirego.com>
|
|
91
92
|
Matthias Van Parijs <matvp91@gmail.com>
|
|
92
93
|
Mattias Wadman <mattias.wadman@gmail.com>
|
|
93
94
|
Michelle Zhuo <michellezhuo@google.com>
|
|
@@ -128,6 +129,7 @@ Thomas Stephens <thomas@ustudio.com>
|
|
|
128
129
|
Tian Shao <tyrelltle@gmail.com>
|
|
129
130
|
Tim Plummer <objelisks@google.com>
|
|
130
131
|
Timothy Drews <tdrews@google.com>
|
|
132
|
+
Thomas Champion <thchampi@gmail.com>
|
|
131
133
|
Tomas Bucher <collapsingtesseract@gmail.com>
|
|
132
134
|
Tomas Tichy <mr.tichyt@gmail.com>
|
|
133
135
|
Tomohiro Matsuzawa <thmatuza75@hotmail.com>
|
package/demo/config.js
CHANGED
|
@@ -251,7 +251,7 @@ shakaDemo.Config = class {
|
|
|
251
251
|
.addBoolInput_('Enabled', 'abr.enabled')
|
|
252
252
|
.addBoolInput_('Use Network Information API',
|
|
253
253
|
'abr.useNetworkInformation')
|
|
254
|
-
.addNumberInput_('Default Bandwidth
|
|
254
|
+
.addNumberInput_('Default Bandwidth Estimate',
|
|
255
255
|
'abr.defaultBandwidthEstimate')
|
|
256
256
|
.addNumberInput_('Bandwidth Downgrade Target',
|
|
257
257
|
'abr.bandwidthDowngradeTarget',
|
|
@@ -216,7 +216,7 @@ a("Video Robustness","videoRobustness",c);a("Audio Robustness","audioRobustness"
|
|
|
216
216
|
"manifest.hls.defaultAudioCodec").addTextInput_("Default Video Codec","manifest.hls.defaultVideoCodec").addTextInput_("Default media playlist full mime type","manifest.hls.mediaPlaylistFullMimeType").addBoolInput_("Ignore Program Date Time from manifest","manifest.hls.ignoreManifestProgramDateTime").addBoolInput_("Use Safari behavior for live","manifest.hls.useSafariBehaviorForLive").addNumberInput_("Live segments delay","manifest.hls.liveSegmentsDelay").addBoolInput_("Enable HLS sequence mode","manifest.hls.sequenceMode").addBoolInput_("Ignore Manifest Timestamps in Segments Mode",
|
|
217
217
|
"manifest.hls.ignoreManifestTimestampsInSegmentsMode").addBoolInput_("Disable codec guessing","manifest.hls.disableCodecGuessing").addBoolInput_("Allow LL-HLS byterange optimization","manifest.hls.allowLowLatencyByteRangeOptimization").addNumberInput_("Availability Window Override","manifest.availabilityWindowOverride",!0,!1,!0).addTextInput_("Clock Sync URI","manifest.dash.clockSyncUri").addNumberInput_("Default Presentation Delay","manifest.defaultPresentationDelay").addBoolInput_("Enable Audio Groups",
|
|
218
218
|
"manifest.dash.enableAudioGroups").addBoolInput_("Ignore Min Buffer Time","manifest.dash.ignoreMinBufferTime").addNumberInput_("Initial Segment Limit","manifest.dash.initialSegmentLimit",!1,!1,!0).addBoolInput_("Enable DASH sequence mode","manifest.dash.sequenceMode").addBoolInput_("Disable Audio","manifest.disableAudio").addBoolInput_("Disable Video","manifest.disableVideo").addBoolInput_("Disable Text","manifest.disableText").addBoolInput_("Disable Thumbnails","manifest.disableThumbnails").addBoolInput_("Enable segment-relative VTT Timing",
|
|
219
|
-
"manifest.segmentRelativeVttTiming").addBoolInput_("Enable MSS sequence mode","manifest.mss.sequenceMode");this.addRetrySection_("manifest","Manifest Retry Parameters")}addAbrSection_(){const a=this.resolveExternLink_(".AbrConfiguration");this.addSection_("Adaptation",a).addBoolInput_("Enabled","abr.enabled").addBoolInput_("Use Network Information API","abr.useNetworkInformation").addNumberInput_("Default Bandwidth
|
|
219
|
+
"manifest.segmentRelativeVttTiming").addBoolInput_("Enable MSS sequence mode","manifest.mss.sequenceMode");this.addRetrySection_("manifest","Manifest Retry Parameters")}addAbrSection_(){const a=this.resolveExternLink_(".AbrConfiguration");this.addSection_("Adaptation",a).addBoolInput_("Enabled","abr.enabled").addBoolInput_("Use Network Information API","abr.useNetworkInformation").addNumberInput_("Default Bandwidth Estimate","abr.defaultBandwidthEstimate").addNumberInput_("Bandwidth Downgrade Target",
|
|
220
220
|
"abr.bandwidthDowngradeTarget",!0).addNumberInput_("Bandwidth Upgrade Target","abr.bandwidthUpgradeTarget",!0).addNumberInput_("Switch Interval","abr.switchInterval",!0).addNumberInput_("Min total Bytes","abr.advanced.minTotalBytes").addNumberInput_("Min Bytes","abr.advanced.minBytes").addNumberInput_("Fast half life","abr.advanced.fastHalfLife",!0).addNumberInput_("Slow half life","abr.advanced.slowHalfLife",!0).addBoolInput_("Restrict to element size","abr.restrictToElementSize").addBoolInput_("Restrict to screen size",
|
|
221
221
|
"abr.restrictToScreenSize").addBoolInput_("Ignore device pixel ratio","abr.ignoreDevicePixelRatio").addBoolInput_("Clear video buffer on abr rendition switch","abr.clearBufferSwitch").addNumberInput_("Safe margin on abr switch rendition","abr.safeMarginSwitch",!0);this.addRetrictionsSection_("abr","Adaptation Restrictions")}addCmcdSection_(){const a=this.resolveExternLink_(".CmcdConfiguration");this.addSection_("CMCD",a).addBoolInput_("Enabled","cmcd.enabled").addTextInput_("Session ID","cmcd.sessionId").addTextInput_("Content ID",
|
|
222
222
|
"cmcd.contentId").addBoolInput_("Use Headers","cmcd.useHeaders")}addLcevcSection_(){const a=this.resolveExternLink_(".LcevcConfiguration");this.addSection_("MPEG-5 Part-2 LCEVC",a).addBoolInput_("Enabled","lcevc.enabled").addBoolInput_("LCEVC Dynamic Performance scaling","lcevc.dynamicPerformanceScaling").addNumberInput_("LCEVC Log Level","lcevc.logLevel").addBoolInput_("Draw LCEVC Logo","lcevc.drawLogo")}addAdsSection_(){const a=this.resolveExternLink_(".AdsConfiguration");this.addSection_("Ads",
|
package/dist/demo.compiled.js
CHANGED
|
@@ -216,7 +216,7 @@ a("Video Robustness","videoRobustness",c);a("Audio Robustness","audioRobustness"
|
|
|
216
216
|
"manifest.hls.defaultAudioCodec").addTextInput_("Default Video Codec","manifest.hls.defaultVideoCodec").addTextInput_("Default media playlist full mime type","manifest.hls.mediaPlaylistFullMimeType").addBoolInput_("Ignore Program Date Time from manifest","manifest.hls.ignoreManifestProgramDateTime").addBoolInput_("Use Safari behavior for live","manifest.hls.useSafariBehaviorForLive").addNumberInput_("Live segments delay","manifest.hls.liveSegmentsDelay").addBoolInput_("Enable HLS sequence mode","manifest.hls.sequenceMode").addBoolInput_("Ignore Manifest Timestamps in Segments Mode",
|
|
217
217
|
"manifest.hls.ignoreManifestTimestampsInSegmentsMode").addBoolInput_("Disable codec guessing","manifest.hls.disableCodecGuessing").addBoolInput_("Allow LL-HLS byterange optimization","manifest.hls.allowLowLatencyByteRangeOptimization").addNumberInput_("Availability Window Override","manifest.availabilityWindowOverride",!0,!1,!0).addTextInput_("Clock Sync URI","manifest.dash.clockSyncUri").addNumberInput_("Default Presentation Delay","manifest.defaultPresentationDelay").addBoolInput_("Enable Audio Groups",
|
|
218
218
|
"manifest.dash.enableAudioGroups").addBoolInput_("Ignore Min Buffer Time","manifest.dash.ignoreMinBufferTime").addNumberInput_("Initial Segment Limit","manifest.dash.initialSegmentLimit",!1,!1,!0).addBoolInput_("Enable DASH sequence mode","manifest.dash.sequenceMode").addBoolInput_("Disable Audio","manifest.disableAudio").addBoolInput_("Disable Video","manifest.disableVideo").addBoolInput_("Disable Text","manifest.disableText").addBoolInput_("Disable Thumbnails","manifest.disableThumbnails").addBoolInput_("Enable segment-relative VTT Timing",
|
|
219
|
-
"manifest.segmentRelativeVttTiming").addBoolInput_("Enable MSS sequence mode","manifest.mss.sequenceMode");this.addRetrySection_("manifest","Manifest Retry Parameters")}addAbrSection_(){const a=this.resolveExternLink_(".AbrConfiguration");this.addSection_("Adaptation",a).addBoolInput_("Enabled","abr.enabled").addBoolInput_("Use Network Information API","abr.useNetworkInformation").addNumberInput_("Default Bandwidth
|
|
219
|
+
"manifest.segmentRelativeVttTiming").addBoolInput_("Enable MSS sequence mode","manifest.mss.sequenceMode");this.addRetrySection_("manifest","Manifest Retry Parameters")}addAbrSection_(){const a=this.resolveExternLink_(".AbrConfiguration");this.addSection_("Adaptation",a).addBoolInput_("Enabled","abr.enabled").addBoolInput_("Use Network Information API","abr.useNetworkInformation").addNumberInput_("Default Bandwidth Estimate","abr.defaultBandwidthEstimate").addNumberInput_("Bandwidth Downgrade Target",
|
|
220
220
|
"abr.bandwidthDowngradeTarget",!0).addNumberInput_("Bandwidth Upgrade Target","abr.bandwidthUpgradeTarget",!0).addNumberInput_("Switch Interval","abr.switchInterval",!0).addNumberInput_("Min total Bytes","abr.advanced.minTotalBytes").addNumberInput_("Min Bytes","abr.advanced.minBytes").addNumberInput_("Fast half life","abr.advanced.fastHalfLife",!0).addNumberInput_("Slow half life","abr.advanced.slowHalfLife",!0).addBoolInput_("Restrict to element size","abr.restrictToElementSize").addBoolInput_("Restrict to screen size",
|
|
221
221
|
"abr.restrictToScreenSize").addBoolInput_("Ignore device pixel ratio","abr.ignoreDevicePixelRatio").addBoolInput_("Clear video buffer on abr rendition switch","abr.clearBufferSwitch").addNumberInput_("Safe margin on abr switch rendition","abr.safeMarginSwitch",!0);this.addRetrictionsSection_("abr","Adaptation Restrictions")}addCmcdSection_(){const a=this.resolveExternLink_(".CmcdConfiguration");this.addSection_("CMCD",a).addBoolInput_("Enabled","cmcd.enabled").addTextInput_("Session ID","cmcd.sessionId").addTextInput_("Content ID",
|
|
222
222
|
"cmcd.contentId").addBoolInput_("Use Headers","cmcd.useHeaders")}addLcevcSection_(){const a=this.resolveExternLink_(".LcevcConfiguration");this.addSection_("MPEG-5 Part-2 LCEVC",a).addBoolInput_("Enabled","lcevc.enabled").addBoolInput_("LCEVC Dynamic Performance scaling","lcevc.dynamicPerformanceScaling").addNumberInput_("LCEVC Log Level","lcevc.logLevel").addBoolInput_("Draw LCEVC Logo","lcevc.drawLogo")}addAdsSection_(){const a=this.resolveExternLink_(".AdsConfiguration");this.addSection_("Ads",
|
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
|
-
|
|
727
|
+
QUALITY: 'QUALITY',
|
|
728
|
+
SURROUND: 'SURROUND',
|
|
729
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
730
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
731
|
+
LANGUAGE: 'LANGUAGE',
|
|
732
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
733
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
729
734
|
CAST: 'CAST',
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
735
|
+
SKIP_AD: 'SKIP_AD',
|
|
736
|
+
REPLAY: 'REPLAY',
|
|
737
|
+
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
733
738
|
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
RESOLUTION: 'RESOLUTION',
|
|
737
|
-
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
739
|
+
STATISTICS: 'STATISTICS',
|
|
740
|
+
AIRPLAY: 'AIRPLAY',
|
|
738
741
|
BACK: 'BACK',
|
|
739
|
-
|
|
740
|
-
|
|
742
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
743
|
+
OFF: 'OFF',
|
|
744
|
+
LOOP: 'LOOP',
|
|
741
745
|
SEEK: 'SEEK',
|
|
742
|
-
REPLAY: 'REPLAY',
|
|
743
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
744
|
-
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
745
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
746
|
-
VOLUME: 'VOLUME',
|
|
747
|
-
CAPTIONS: 'CAPTIONS',
|
|
748
|
-
SKIP_AD: 'SKIP_AD',
|
|
749
|
-
FAST_FORWARD: 'FAST_FORWARD',
|
|
750
746
|
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
751
|
-
|
|
752
|
-
QUALITY: 'QUALITY',
|
|
753
|
-
SURROUND: 'SURROUND',
|
|
754
|
-
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
755
|
-
AIRPLAY: 'AIRPLAY',
|
|
747
|
+
REWIND: 'REWIND',
|
|
756
748
|
PAUSE: 'PAUSE',
|
|
757
|
-
|
|
758
|
-
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
759
|
-
LIVE: 'LIVE',
|
|
760
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
761
|
-
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
762
|
-
AD_TIME: 'AD_TIME',
|
|
749
|
+
CAPTIONS: 'CAPTIONS',
|
|
763
750
|
ON: 'ON',
|
|
751
|
+
RESOLUTION: 'RESOLUTION',
|
|
752
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
753
|
+
AD_TIME: 'AD_TIME',
|
|
754
|
+
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
755
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
756
|
+
MUTE: 'MUTE',
|
|
757
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
758
|
+
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
764
759
|
AD_DURATION: 'AD_DURATION',
|
|
765
|
-
|
|
760
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
761
|
+
VOLUME: 'VOLUME',
|
|
762
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
766
763
|
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
764
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
765
|
+
UNMUTE: 'UNMUTE',
|
|
767
766
|
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
768
|
-
|
|
767
|
+
PLAY: 'PLAY',
|
|
768
|
+
LIVE: 'LIVE',
|
|
769
769
|
};
|
|
@@ -3568,7 +3568,7 @@ declare namespace shaka.util {
|
|
|
3568
3568
|
* The code is based on hls.js
|
|
3569
3569
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
3570
3570
|
*/
|
|
3571
|
-
parseNalus (pes : shaka.extern.MPEG_PES , lastNalu ? : shaka.extern.VideoNalu | null ) : shaka.extern.VideoNalu [] ;
|
|
3571
|
+
parseNalus (pes : shaka.extern.MPEG_PES , lastNalu ? : shaka.extern.VideoNalu | null , lastState ? : number | null ) : shaka.extern.VideoNalu [] ;
|
|
3572
3572
|
static Timescale : number ;
|
|
3573
3573
|
/**
|
|
3574
3574
|
* Check if the passed data corresponds to an MPEG2-TS
|
|
@@ -3568,7 +3568,7 @@ declare namespace shaka.util {
|
|
|
3568
3568
|
* The code is based on hls.js
|
|
3569
3569
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
3570
3570
|
*/
|
|
3571
|
-
parseNalus (pes : shaka.extern.MPEG_PES , lastNalu ? : shaka.extern.VideoNalu | null ) : shaka.extern.VideoNalu [] ;
|
|
3571
|
+
parseNalus (pes : shaka.extern.MPEG_PES , lastNalu ? : shaka.extern.VideoNalu | null , lastState ? : number | null ) : shaka.extern.VideoNalu [] ;
|
|
3572
3572
|
static Timescale : number ;
|
|
3573
3573
|
/**
|
|
3574
3574
|
* Check if the passed data corresponds to an MPEG2-TS
|
|
@@ -2234,9 +2234,10 @@ shaka.util.TsParser = class {
|
|
|
2234
2234
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
2235
2235
|
* @param {shaka.extern.MPEG_PES} pes
|
|
2236
2236
|
* @param {?shaka.extern.VideoNalu=} lastNalu
|
|
2237
|
+
* @param {?number=} lastState
|
|
2237
2238
|
* @return {!Array.<shaka.extern.VideoNalu>}
|
|
2238
2239
|
*/
|
|
2239
|
-
parseNalus(pes, lastNalu) {}
|
|
2240
|
+
parseNalus(pes, lastNalu, lastState) {}
|
|
2240
2241
|
/**
|
|
2241
2242
|
* Return the ID3 metadata
|
|
2242
2243
|
* @return {!Array.<shaka.extern.ID3Metadata>}
|