shaka-player 3.3.18 → 3.3.19

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.
Files changed (50) hide show
  1. package/.github/workflows/selenium-lab-tests.yaml +23 -1
  2. package/AUTHORS +2 -1
  3. package/CHANGELOG.md +22 -0
  4. package/CONTRIBUTORS +4 -1
  5. package/dist/controls.css +1 -1
  6. package/dist/locales.js +29 -29
  7. package/dist/shaka-player.compiled.d.ts +6 -2
  8. package/dist/shaka-player.compiled.debug.d.ts +6 -2
  9. package/dist/shaka-player.compiled.debug.js +132 -130
  10. package/dist/shaka-player.compiled.debug.map +3 -3
  11. package/dist/shaka-player.compiled.js +299 -297
  12. package/dist/shaka-player.compiled.map +3 -3
  13. package/dist/shaka-player.ui.d.ts +6 -2
  14. package/dist/shaka-player.ui.debug.d.ts +6 -2
  15. package/dist/shaka-player.ui.debug.js +196 -194
  16. package/dist/shaka-player.ui.debug.map +3 -3
  17. package/dist/shaka-player.ui.js +482 -480
  18. package/dist/shaka-player.ui.map +3 -3
  19. package/docs/tutorials/fairplay.md +2 -2
  20. package/externs/shaka/net.js +1 -0
  21. package/externs/shaka/player.js +13 -7
  22. package/lib/ads/client_side_ad_manager.js +6 -3
  23. package/lib/dash/dash_parser.js +49 -48
  24. package/lib/media/media_source_engine.js +9 -4
  25. package/lib/media/streaming_engine.js +8 -3
  26. package/lib/net/http_fetch_plugin.js +79 -57
  27. package/lib/net/networking_engine.js +1 -0
  28. package/lib/player.js +17 -2
  29. package/lib/polyfill/media_capabilities.js +13 -0
  30. package/lib/text/mp4_vtt_parser.js +4 -0
  31. package/lib/text/text_engine.js +1 -0
  32. package/lib/util/manifest_parser_utils.js +1 -2
  33. package/lib/util/mime_utils.js +11 -0
  34. package/lib/util/periods.js +5 -5
  35. package/lib/util/stream_utils.js +2 -2
  36. package/maintained-branches.md +3 -4
  37. package/package.json +1 -1
  38. package/test/media/content_workarounds_unit.js +43 -0
  39. package/test/media/drm_engine_integration.js +4 -17
  40. package/test/media/streaming_engine_unit.js +6 -1
  41. package/test/net/networking_engine_unit.js +6 -1
  42. package/test/player_integration.js +39 -0
  43. package/test/player_unit.js +54 -0
  44. package/test/polyfill/media_capabilities_unit.js +0 -1
  45. package/test/test/assets/text-clip-alt.vtt +63 -0
  46. package/test/test/util/fake_drm_engine.js +3 -0
  47. package/test/test/util/simple_fakes.js +3 -0
  48. package/test/test/util/test_scheme.js +9 -14
  49. package/test/text/mp4_vtt_parser_unit.js +8 -0
  50. package/test/util/mime_utils_unit.js +10 -0
@@ -11,6 +11,9 @@ on:
11
11
  test_filter:
12
12
  description: "A regex filter to run a subset of the tests. If empty, all tests will run."
13
13
  required: false
14
+ browser_filter:
15
+ description: "A list of browsers to run the tests. If empty, all browsers will run."
16
+ required: false
14
17
  workflow_call:
15
18
  # Allows for reuse from other workflows, such as "Update All Screenshots"
16
19
  # workflow.
@@ -23,6 +26,10 @@ on:
23
26
  description: "A regex filter to run a subset of the tests. If empty, all tests will run."
24
27
  required: false
25
28
  type: string
29
+ browser_filter:
30
+ description: "A list of browsers to run the tests. If empty, all browsers will run."
31
+ required: false
32
+ type: string
26
33
  ignore_test_status:
27
34
  description: "If true, ignore test success or failure, never set the commit status, and always upload screenshots."
28
35
  required: false
@@ -79,6 +86,14 @@ jobs:
79
86
  const yaml = require(
80
87
  '${{ github.workspace }}/node_modules/js-yaml/index.js');
81
88
 
89
+ // Convert the input "browser_filter" into a set of strings. Take
90
+ // care to filter so that the empty string turns into an empty set.
91
+ const browserFilter = new Set( "${{ inputs.browser_filter }}"
92
+ .split(/\s+/)
93
+ .map(x => x.toLowerCase())
94
+ .filter(x => !!x)
95
+ );
96
+
82
97
  const gridBrowserYaml =
83
98
  fs.readFileSync('build/shaka-lab.yaml', 'utf8');
84
99
  const gridBrowserMetadata = yaml.load(gridBrowserYaml);
@@ -90,7 +105,14 @@ jobs:
90
105
  // Skip variable defs in the YAML file
91
106
  continue;
92
107
  }
93
- if (!gridBrowserMetadata[name].disabled) {
108
+
109
+ // A browser is enabled if it's not disabled and (either the browser
110
+ // filter is empty or it contains the browser name).
111
+ const enabled = !gridBrowserMetadata[name].disabled &&
112
+ (browserFilter.size == 0 ||
113
+ browserFilter.has(name.toLowerCase()));
114
+
115
+ if (enabled) {
94
116
  include.push({browser: name});
95
117
  }
96
118
  }
package/AUTHORS CHANGED
@@ -17,7 +17,7 @@ Adrián Gómez Llorente <adgllorente@gmail.com>
17
17
  AdsWizz <*@adswizz.com>
18
18
  Alex Jones <alexedwardjones@gmail.com>
19
19
  Alugha GmbH <*@alugha.com>
20
- Alvaro Velad Galvan <alvaro.velad@mirada.tv>
20
+ Alvaro Velad Galvan <ladvan91@hotmail.com>
21
21
  Amila Sampath <lucksy@gmail.com>
22
22
  Anthony Stansbridge <github@anthonystansbridge.co.uk>
23
23
  Benjamin Wallberg <me@bwallberg.com>
@@ -85,3 +85,4 @@ Vincent Valot <valot.vince@gmail.com>
85
85
  Wayne Morgan <wayne.morgan.dev@gmail.com>
86
86
  Raymond Cheng <raycheng100@gmail.com>
87
87
  Blue Billywig <*@bluebillywig.com>
88
+ Xperi <*@xperi.com>
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.3.19](https://github.com/shaka-project/shaka-player/compare/v3.3.18...v3.3.19) (2023-04-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * `config.streaming.preferNativeHls` only applies to HLS streams ([#5167](https://github.com/shaka-project/shaka-player/issues/5167)) ([1dacefc](https://github.com/shaka-project/shaka-player/commit/1dacefc93c4bab4e1200c85f085dba09b0ff09c7)), closes [#5166](https://github.com/shaka-project/shaka-player/issues/5166)
9
+ * **ads:** Fix ads starting muted behavior ([#5153](https://github.com/shaka-project/shaka-player/issues/5153)) ([cbfaa70](https://github.com/shaka-project/shaka-player/commit/cbfaa7074316e00ddd072b107dccd27ef926072d)), closes [#5125](https://github.com/shaka-project/shaka-player/issues/5125)
10
+ * **Ads:** Fix usage of EventManager on CS ([#5084](https://github.com/shaka-project/shaka-player/issues/5084)) ([d412b08](https://github.com/shaka-project/shaka-player/commit/d412b08a83b865a358f46d851ea48825d4125950))
11
+ * **DASH:** Fix seeking on multiperiod content after variant change ([#5110](https://github.com/shaka-project/shaka-player/issues/5110)) ([2ee97e2](https://github.com/shaka-project/shaka-player/commit/2ee97e2873f87968c9403718f55e1b4f85e48668))
12
+ * Fix fetch plugin with old implementations ([#5091](https://github.com/shaka-project/shaka-player/issues/5091)) ([8ddc98e](https://github.com/shaka-project/shaka-player/commit/8ddc98e3d0db4d6582c8814423ef0a38ce829d86))
13
+ * Fix handling of CC when switching between codecs ([#5160](https://github.com/shaka-project/shaka-player/issues/5160)) ([3ea3fb4](https://github.com/shaka-project/shaka-player/commit/3ea3fb4abc8cfc9d52447dab67aa5a8dd3152dc0))
14
+ * Fix HEAD request exception ([#5194](https://github.com/shaka-project/shaka-player/issues/5194)) ([29d6b4c](https://github.com/shaka-project/shaka-player/commit/29d6b4ce7fd9383ab213039e59bfee86e495c00b)), closes [#5164](https://github.com/shaka-project/shaka-player/issues/5164)
15
+ * Fix missing originalUri in response filters ([#5114](https://github.com/shaka-project/shaka-player/issues/5114)) ([626ef1f](https://github.com/shaka-project/shaka-player/commit/626ef1f9c117cc98795c5974b3522f6f35fe3867))
16
+ * Fix race that allows multiple text streams to be loaded ([#5129](https://github.com/shaka-project/shaka-player/issues/5129)) ([1942d1d](https://github.com/shaka-project/shaka-player/commit/1942d1d1ca491c47d6f39cbd60e647a19c84c044))
17
+ * Fix selectVariantsByLabel using src= ([#5154](https://github.com/shaka-project/shaka-player/issues/5154)) ([68c6e7a](https://github.com/shaka-project/shaka-player/commit/68c6e7a299d8feadd6f981d172f81b0b35fa12a9))
18
+ * Handle empty media segments for Mp4VttParser ([#5131](https://github.com/shaka-project/shaka-player/issues/5131)) ([29b7a30](https://github.com/shaka-project/shaka-player/commit/29b7a30b13cc5fea1d9aa79b15eb0ac42cc4e85c)), closes [#4429](https://github.com/shaka-project/shaka-player/issues/4429)
19
+ * **HLS:** Adding support for DTS Express in HLS fMP4 ([#5112](https://github.com/shaka-project/shaka-player/issues/5112)) ([#5117](https://github.com/shaka-project/shaka-player/issues/5117)) ([07e1737](https://github.com/shaka-project/shaka-player/commit/07e173720d1aa098ae3f3d2ea3731205feb39e6f))
20
+ * **net:** Fix HEAD requests in new Chromium ([#5180](https://github.com/shaka-project/shaka-player/issues/5180)) ([ec301e6](https://github.com/shaka-project/shaka-player/commit/ec301e637d1314643f0b2fdfe4c8bcd68ec27f3b)), closes [#5164](https://github.com/shaka-project/shaka-player/issues/5164)
21
+ * PERIOD_FLATTENING_FAILED error with shaka 3.3.x that did not occur with shaka 3.1.2 ([#5188](https://github.com/shaka-project/shaka-player/issues/5188)) ([2cefcf4](https://github.com/shaka-project/shaka-player/commit/2cefcf434dcd729469df94a20673ab9fe7d8d72b)), closes [#5183](https://github.com/shaka-project/shaka-player/issues/5183)
22
+ * Prevent bad calls to MediaSource.endOfStream ([#5071](https://github.com/shaka-project/shaka-player/issues/5071)) ([9824474](https://github.com/shaka-project/shaka-player/commit/98244742ec6add0a7514966b214e0411648e53a9)), closes [#5070](https://github.com/shaka-project/shaka-player/issues/5070)
23
+ * Tizen video error fixed by checking the extended MIME type ([#4973](https://github.com/shaka-project/shaka-player/issues/4973)) ([b663e99](https://github.com/shaka-project/shaka-player/commit/b663e99b9447c5f65746876b4e58ec7e04ee7b7f)), closes [#4634](https://github.com/shaka-project/shaka-player/issues/4634)
24
+
3
25
  ## [3.3.18](https://github.com/shaka-project/shaka-player/compare/v3.3.17...v3.3.18) (2023-03-01)
4
26
 
5
27
 
package/CONTRIBUTORS CHANGED
@@ -27,7 +27,7 @@ Adrián Gómez Llorente <adgllorente@gmail.com>
27
27
  Agajan Jumakuliyev <agajan.tm@gmail.com>
28
28
  Aidan Ridley <aidan.ridley@charter.com>
29
29
  Alex Jones <alexedwardjones@gmail.com>
30
- Alvaro Velad Galvan <alvaro.velad@mirada.tv>
30
+ Alvaro Velad Galvan <ladvan91@hotmail.com>
31
31
  Amila Sampath <lucksy@gmail.com>
32
32
  Andy Hochhaus <ahochhaus@samegoal.com>
33
33
  Anthony Stansbridge <github@anthonystansbridge.co.uk>
@@ -120,6 +120,9 @@ Vasanth Polipelli <vasanthap@google.com>
120
120
  Vignesh Venkatasubramanian <vigneshv@google.com>
121
121
  Vincent Valot <valot.vince@gmail.com>
122
122
  Wayne Morgan <wayne.morgan.dev@gmail.com>
123
+ Wen Ren <renwen0615@gmail.com>
124
+ Will Harris <will.harris@paramount.com>
123
125
  Yohann Connell <robinconnell@google.com>
124
126
  Raymond Cheng <raycheng100@gmail.com>
125
127
  Janroel Koppen <j.koppen@bluebillywig.com>
128
+ Ashley Manners <ashley.manners@xperi.com>
package/dist/controls.css CHANGED
@@ -51,4 +51,4 @@
51
51
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52
52
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53
53
  * SOFTWARE.
54
- */.shaka-tooltips-on{overflow:visible}.shaka-tooltips-on>[class*=shaka-tooltip]{position:relative}.shaka-tooltips-on>[class*=shaka-tooltip]:active:after,.shaka-tooltips-on>[class*=shaka-tooltip]:focus-visible:after,.shaka-tooltips-on>[class*=shaka-tooltip]:hover:after{content:attr(aria-label);font-family:Roboto-Regular,Roboto,sans-serif;line-height:calc(32px / 2);white-space:nowrap;font-size:13px;background:rgba(35 35 35 / 90%);color:#fff;border-radius:3px;padding:5px 10px;position:absolute;bottom:calc(32px + 5px);left:calc(32px / 2);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.shaka-tooltips-on>.shaka-tooltip-status:active:after,.shaka-tooltips-on>.shaka-tooltip-status:focus-visible:after,.shaka-tooltips-on>.shaka-tooltip-status:hover:after{content:attr(aria-label) " (" attr(shaka-status) ")"}.shaka-tooltips-on button:first-child:active:after,.shaka-tooltips-on button:first-child:focus-visible:after,.shaka-tooltips-on button:first-child:hover:after{left:0;-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shaka-tooltips-on button:last-child:active:after,.shaka-tooltips-on button:last-child:focus-visible:after,.shaka-tooltips-on button:last-child:hover:after{left:32px;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%)}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/v107/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmM.otf) format('opentype')}.material-icons-round{font-family:'Material Icons Round';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr}/*# sourceMappingURL=controls.css.map */
54
+ */.shaka-tooltips-on{overflow:visible}.shaka-tooltips-on>[class*=shaka-tooltip]{position:relative}.shaka-tooltips-on>[class*=shaka-tooltip]:active:after,.shaka-tooltips-on>[class*=shaka-tooltip]:focus-visible:after,.shaka-tooltips-on>[class*=shaka-tooltip]:hover:after{content:attr(aria-label);font-family:Roboto-Regular,Roboto,sans-serif;line-height:calc(32px / 2);white-space:nowrap;font-size:13px;background:rgba(35 35 35 / 90%);color:#fff;border-radius:3px;padding:5px 10px;position:absolute;bottom:calc(32px + 5px);left:calc(32px / 2);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.shaka-tooltips-on>.shaka-tooltip-status:active:after,.shaka-tooltips-on>.shaka-tooltip-status:focus-visible:after,.shaka-tooltips-on>.shaka-tooltip-status:hover:after{content:attr(aria-label) " (" attr(shaka-status) ")"}.shaka-tooltips-on button:first-child:active:after,.shaka-tooltips-on button:first-child:focus-visible:after,.shaka-tooltips-on button:first-child:hover:after{left:0;-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shaka-tooltips-on button:last-child:active:after,.shaka-tooltips-on button:last-child:focus-visible:after,.shaka-tooltips-on button:last-child:hover:after{left:32px;-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-o-transform:translateX(-100%);transform:translateX(-100%)}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Material Icons Round';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsround/v108/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmM.otf) format('opentype')}.material-icons-round{font-family:'Material Icons Round';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr}/*# sourceMappingURL=controls.css.map */
package/dist/locales.js CHANGED
@@ -720,44 +720,44 @@ shaka.ui.Locales.addTo = function(localization) {
720
720
  * @const
721
721
  */
722
722
  shaka.ui.Locales.Ids = {
723
- EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
723
+ CAPTIONS: 'CAPTIONS',
724
+ SEEK: 'SEEK',
725
+ UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
724
726
  CAST: 'CAST',
725
- VOLUME: 'VOLUME',
726
- STATISTICS: 'STATISTICS',
727
727
  ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
728
- EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
729
- PAUSE: 'PAUSE',
730
- LANGUAGE: 'LANGUAGE',
731
- EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
732
728
  RESOLUTION: 'RESOLUTION',
733
- PLAY: 'PLAY',
734
- ON: 'ON',
735
- SEEK: 'SEEK',
736
- AD_PROGRESS: 'AD_PROGRESS',
737
- SKIP_TO_LIVE: 'SKIP_TO_LIVE',
738
- UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
739
- AD_TIME: 'AD_TIME',
740
- CAPTIONS: 'CAPTIONS',
741
- MUTE: 'MUTE',
742
- NOT_APPLICABLE: 'NOT_APPLICABLE',
743
- FULL_SCREEN: 'FULL_SCREEN',
744
- UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
745
729
  AIRPLAY: 'AIRPLAY',
746
- AUTO_QUALITY: 'AUTO_QUALITY',
730
+ MORE_SETTINGS: 'MORE_SETTINGS',
731
+ FAST_FORWARD: 'FAST_FORWARD',
732
+ FULL_SCREEN: 'FULL_SCREEN',
733
+ REPLAY: 'REPLAY',
734
+ EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
747
735
  UNMUTE: 'UNMUTE',
736
+ AD_DURATION: 'AD_DURATION',
737
+ ON: 'ON',
748
738
  SUBTITLE_FORCED: 'SUBTITLE_FORCED',
749
- REPLAY: 'REPLAY',
750
- SKIP_AD: 'SKIP_AD',
751
- PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
739
+ LOOP: 'LOOP',
752
740
  MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
741
+ LIVE: 'LIVE',
742
+ SKIP_AD: 'SKIP_AD',
743
+ EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
744
+ AUTO_QUALITY: 'AUTO_QUALITY',
753
745
  OFF: 'OFF',
746
+ MUTE: 'MUTE',
747
+ LANGUAGE: 'LANGUAGE',
748
+ VOLUME: 'VOLUME',
749
+ EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
750
+ AD_TIME: 'AD_TIME',
751
+ AD_PROGRESS: 'AD_PROGRESS',
752
+ PAUSE: 'PAUSE',
754
753
  REWIND: 'REWIND',
755
- LIVE: 'LIVE',
756
754
  ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
757
- PLAYBACK_RATE: 'PLAYBACK_RATE',
758
- MORE_SETTINGS: 'MORE_SETTINGS',
759
755
  BACK: 'BACK',
760
- AD_DURATION: 'AD_DURATION',
761
- LOOP: 'LOOP',
762
- FAST_FORWARD: 'FAST_FORWARD',
756
+ PLAY: 'PLAY',
757
+ PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
758
+ NOT_APPLICABLE: 'NOT_APPLICABLE',
759
+ PLAYBACK_RATE: 'PLAYBACK_RATE',
760
+ STATISTICS: 'STATISTICS',
761
+ UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
762
+ SKIP_TO_LIVE: 'SKIP_TO_LIVE',
763
763
  };
@@ -3564,7 +3564,7 @@ declare namespace shaka.extern {
3564
3564
  }
3565
3565
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3566
3566
  declare namespace shaka.extern {
3567
- type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , status ? : number , timeMs ? : number , uri : string } ;
3567
+ type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
3568
3568
  }
3569
3569
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3570
3570
  declare namespace shaka.extern {
@@ -3831,7 +3831,7 @@ declare namespace shaka.extern {
3831
3831
  }
3832
3832
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3833
3833
  declare namespace shaka.extern {
3834
- type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3834
+ type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3835
3835
  }
3836
3836
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3837
3837
  declare namespace shaka.extern {
@@ -3850,6 +3850,10 @@ declare namespace shaka.extern {
3850
3850
  type ID3Metadata = { [ key: string ]: any } ;
3851
3851
  }
3852
3852
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3853
+ declare namespace shaka.extern {
3854
+ type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
3855
+ }
3856
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3853
3857
  declare namespace shaka.extern {
3854
3858
  type LanguageRole = { label : string | null , language : string , role : string } ;
3855
3859
  }
@@ -3564,7 +3564,7 @@ declare namespace shaka.extern {
3564
3564
  }
3565
3565
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3566
3566
  declare namespace shaka.extern {
3567
- type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , status ? : number , timeMs ? : number , uri : string } ;
3567
+ type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
3568
3568
  }
3569
3569
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3570
3570
  declare namespace shaka.extern {
@@ -3831,7 +3831,7 @@ declare namespace shaka.extern {
3831
3831
  }
3832
3832
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3833
3833
  declare namespace shaka.extern {
3834
- type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3834
+ type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3835
3835
  }
3836
3836
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3837
3837
  declare namespace shaka.extern {
@@ -3850,6 +3850,10 @@ declare namespace shaka.extern {
3850
3850
  type ID3Metadata = { [ key: string ]: any } ;
3851
3851
  }
3852
3852
  // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3853
+ declare namespace shaka.extern {
3854
+ type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
3855
+ }
3856
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3853
3857
  declare namespace shaka.extern {
3854
3858
  type LanguageRole = { label : string | null , language : string , role : string } ;
3855
3859
  }