shaka-player 4.4.1 → 4.4.3

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 (84) hide show
  1. package/.github/workflows/deflake.yaml +8 -5
  2. package/.github/workflows/release-please.yaml +47 -7
  3. package/.github/workflows/shaka-bot-commands/command-test.sh +1 -1
  4. package/CHANGELOG.md +43 -0
  5. package/CONTRIBUTORS +1 -0
  6. package/demo/common/asset.js +5 -0
  7. package/demo/common/assets.js +20 -5
  8. package/demo/common/message_ids.js +1 -1
  9. package/demo/custom.js +5 -5
  10. package/demo/locales/en.json +2 -1
  11. package/demo/locales/source.json +5 -1
  12. package/demo/main.js +1 -1
  13. package/demo/search.js +3 -3
  14. package/dist/demo.compiled.debug.js +75 -73
  15. package/dist/demo.compiled.debug.map +3 -3
  16. package/dist/demo.compiled.js +75 -73
  17. package/dist/demo.compiled.map +3 -3
  18. package/dist/deps.js +2 -2
  19. package/dist/locales.js +31 -31
  20. package/dist/receiver.compiled.debug.js +38 -36
  21. package/dist/receiver.compiled.debug.map +3 -3
  22. package/dist/receiver.compiled.js +38 -36
  23. package/dist/receiver.compiled.map +3 -3
  24. package/dist/shaka-player.compiled.d.ts +533 -296
  25. package/dist/shaka-player.compiled.debug.d.ts +533 -296
  26. package/dist/shaka-player.compiled.debug.externs.js +308 -1
  27. package/dist/shaka-player.compiled.debug.js +280 -265
  28. package/dist/shaka-player.compiled.debug.map +3 -3
  29. package/dist/shaka-player.compiled.externs.js +308 -1
  30. package/dist/shaka-player.compiled.js +1037 -1027
  31. package/dist/shaka-player.compiled.map +4 -4
  32. package/dist/shaka-player.ui.d.ts +577 -340
  33. package/dist/shaka-player.ui.debug.d.ts +577 -340
  34. package/dist/shaka-player.ui.debug.externs.js +308 -1
  35. package/dist/shaka-player.ui.debug.js +341 -326
  36. package/dist/shaka-player.ui.debug.map +3 -3
  37. package/dist/shaka-player.ui.externs.js +308 -1
  38. package/dist/shaka-player.ui.js +1149 -1141
  39. package/dist/shaka-player.ui.map +4 -4
  40. package/docs/tutorials/fairplay.md +8 -0
  41. package/docs/tutorials/faq.md +1 -1
  42. package/docs/tutorials/offline.md +1 -1
  43. package/externs/shaka/text.js +7 -0
  44. package/lib/dash/dash_parser.js +4 -1
  45. package/lib/dash/segment_template.js +3 -0
  46. package/lib/hls/hls_parser.js +68 -28
  47. package/lib/media/media_source_engine.js +1 -1
  48. package/lib/media/segment_index.js +4 -4
  49. package/lib/media/segment_reference.js +6 -1
  50. package/lib/media/streaming_engine.js +14 -24
  51. package/lib/player.js +8 -57
  52. package/lib/text/cue.js +47 -47
  53. package/lib/text/lrc_text_parser.js +8 -0
  54. package/lib/text/mp4_ttml_parser.js +8 -0
  55. package/lib/text/mp4_vtt_parser.js +8 -0
  56. package/lib/text/sbv_text_parser.js +8 -0
  57. package/lib/text/srt_text_parser.js +8 -0
  58. package/lib/text/ssa_text_parser.js +8 -0
  59. package/lib/text/text_engine.js +8 -1
  60. package/lib/text/ttml_text_parser.js +10 -1
  61. package/lib/text/ui_text_displayer.js +49 -3
  62. package/lib/text/vtt_text_parser.js +19 -3
  63. package/lib/transmuxer/ts_transmuxer.js +44 -43
  64. package/lib/util/cmcd_manager.js +6 -1
  65. package/lib/util/error.js +16 -10
  66. package/lib/util/manifest_parser_utils.js +10 -4
  67. package/lib/util/platform.js +14 -0
  68. package/lib/util/player_configuration.js +2 -2
  69. package/lib/util/stream_utils.js +13 -11
  70. package/lib/util/ts_parser.js +73 -16
  71. package/package.json +2 -2
  72. package/test/dash/dash_parser_manifest_unit.js +5 -0
  73. package/test/dash/dash_parser_segment_base_unit.js +5 -0
  74. package/test/dash/dash_parser_segment_list_unit.js +21 -17
  75. package/test/dash/dash_parser_segment_template_unit.js +47 -0
  76. package/test/hls/hls_live_unit.js +33 -0
  77. package/test/hls/hls_parser_unit.js +2 -57
  78. package/test/test/util/dash_parser_util.js +16 -7
  79. package/test/text/text_engine_unit.js +4 -2
  80. package/test/text/ttml_text_parser_unit.js +3 -4
  81. package/test/text/web_vtt_layout_integration.js +0 -1
  82. package/test/transmuxer/transmuxer_integration.js +4 -4
  83. package/test/util/ts_parser_unit.js +1 -1
  84. package/ui/language_utils.js +0 -15
@@ -7,7 +7,7 @@
7
7
  declare class GlobalError extends Error {}
8
8
 
9
9
  //!! generated by clutz.
10
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
10
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
11
11
  declare namespace shaka {
12
12
  class Player extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
13
13
  private noStructuralTyping_shaka_Player : any;
@@ -446,7 +446,7 @@ declare namespace shaka {
446
446
  static version : string ;
447
447
  }
448
448
  }
449
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
449
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
450
450
  declare namespace shaka.Player {
451
451
  /**
452
452
  * In order to know what method of loading the player used for some content, we
@@ -475,7 +475,7 @@ declare namespace shaka.Player {
475
475
  SRC_EQUALS = 3.0 ,
476
476
  }
477
477
  }
478
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
478
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
479
479
  declare namespace shaka.abr {
480
480
  class SimpleAbrManager implements shaka.extern.AbrManager , shaka.util.IReleasable {
481
481
  private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
@@ -493,7 +493,7 @@ declare namespace shaka.abr {
493
493
  stop ( ) : any ;
494
494
  }
495
495
  }
496
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
496
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
497
497
  declare namespace shaka.ads {
498
498
  /**
499
499
  * A class responsible for ad-related interactions.
@@ -646,7 +646,7 @@ declare namespace shaka.ads {
646
646
  static IMA_STREAM_MANAGER_LOADED : string ;
647
647
  }
648
648
  }
649
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
649
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
650
650
  declare namespace shaka.ads {
651
651
  class ClientSideAd implements shaka.extern.IAd {
652
652
  private noStructuralTyping_shaka_ads_ClientSideAd : any;
@@ -683,7 +683,7 @@ declare namespace shaka.ads {
683
683
  skip ( ) : any ;
684
684
  }
685
685
  }
686
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
686
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
687
687
  declare namespace shaka.ads {
688
688
  class ServerSideAd implements shaka.extern.IAd {
689
689
  private noStructuralTyping_shaka_ads_ServerSideAd : any;
@@ -720,7 +720,7 @@ declare namespace shaka.ads {
720
720
  skip ( ) : any ;
721
721
  }
722
722
  }
723
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
723
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
724
724
  declare namespace shaka.cast {
725
725
  class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
726
726
  private noStructuralTyping_shaka_cast_CastProxy : any;
@@ -760,7 +760,7 @@ declare namespace shaka.cast {
760
760
  suggestDisconnect ( ) : any ;
761
761
  }
762
762
  }
763
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
763
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
764
764
  declare namespace shaka.cast {
765
765
  /**
766
766
  * A receiver to communicate between the Chromecast-hosted player and the
@@ -812,7 +812,7 @@ declare namespace shaka.cast {
812
812
  setContentTitle (title : string ) : any ;
813
813
  }
814
814
  }
815
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
815
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
816
816
  declare namespace shaka.cea {
817
817
  /**
818
818
  * CEA-X08 captions decoder.
@@ -824,7 +824,7 @@ declare namespace shaka.cea {
824
824
  extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
825
825
  }
826
826
  }
827
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
827
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
828
828
  declare namespace shaka.cea {
829
829
  /**
830
830
  * MPEG4 stream parser used for extracting 708 closed captions data.
@@ -835,7 +835,7 @@ declare namespace shaka.cea {
835
835
  parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
836
836
  }
837
837
  }
838
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
838
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
839
839
  declare namespace shaka.cea {
840
840
  /**
841
841
  * MPEG TS CEA parser.
@@ -846,7 +846,7 @@ declare namespace shaka.cea {
846
846
  parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
847
847
  }
848
848
  }
849
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
849
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
850
850
  declare namespace shaka.config {
851
851
  enum AutoShowText {
852
852
  ALWAYS = 1.0 ,
@@ -855,7 +855,7 @@ declare namespace shaka.config {
855
855
  NEVER = 0.0 ,
856
856
  }
857
857
  }
858
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
858
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
859
859
  declare namespace shaka.dash {
860
860
  /**
861
861
  * Creates a new DASH parser.
@@ -869,7 +869,7 @@ declare namespace shaka.dash {
869
869
  update ( ) : any ;
870
870
  }
871
871
  }
872
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
872
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
873
873
  declare namespace shaka {
874
874
  class dependencies {
875
875
  private noStructuralTyping_shaka_dependencies : any;
@@ -886,14 +886,14 @@ declare namespace shaka {
886
886
  static has (key : shaka.dependencies.Allowed ) : boolean ;
887
887
  }
888
888
  }
889
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
889
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
890
890
  declare namespace shaka.dependencies {
891
891
  enum Allowed {
892
892
  ISOBoxer = 'ISOBoxer' ,
893
893
  muxjs = 'muxjs' ,
894
894
  }
895
895
  }
896
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
896
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
897
897
  declare namespace shaka.hls {
898
898
  /**
899
899
  * HLS parser.
@@ -907,7 +907,7 @@ declare namespace shaka.hls {
907
907
  update ( ) : any ;
908
908
  }
909
909
  }
910
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
910
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
911
911
  declare namespace shaka.lcevc {
912
912
  class Dil implements shaka.util.IReleasable {
913
913
  private noStructuralTyping_shaka_lcevc_Dil : any;
@@ -918,7 +918,7 @@ declare namespace shaka.lcevc {
918
918
  release ( ) : any ;
919
919
  }
920
920
  }
921
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
921
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
922
922
  declare namespace shaka.media {
923
923
  /**
924
924
  * Closed Caption Parser provides all operations for parsing the closed captions
@@ -939,7 +939,7 @@ declare namespace shaka.media {
939
939
  static unregisterParser (mimeType : string ) : any ;
940
940
  }
941
941
  }
942
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
942
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
943
943
  declare namespace shaka.media {
944
944
  /**
945
945
  * The IClosedCaptionParser defines the interface to provide all operations for
@@ -950,7 +950,7 @@ declare namespace shaka.media {
950
950
  interface IClosedCaptionParser {
951
951
  }
952
952
  }
953
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
953
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
954
954
  declare namespace shaka.media {
955
955
  /**
956
956
  * Creates an InitSegmentReference, which provides the location to an
@@ -958,7 +958,7 @@ declare namespace shaka.media {
958
958
  */
959
959
  class InitSegmentReference {
960
960
  private noStructuralTyping_shaka_media_InitSegmentReference : any;
961
- constructor (uris : ( ) => string [] , startByte : number , endByte : number | null , mediaQuality ? : null | shaka.extern.MediaQualityInfo , timescale ? : null | number , segmentData ? : null | ArrayBuffer | ArrayBufferView ) ;
961
+ constructor (uris : ( ) => string [] , startByte : number , endByte : number | null , mediaQuality ? : null | shaka.extern.MediaQualityInfo , timescale ? : null | number , segmentData ? : null | ArrayBuffer | ArrayBufferView , aes128Key ? : shaka.extern.HlsAes128Key | null ) ;
962
962
  /**
963
963
  * Returns the offset from the start of the resource to the end of the
964
964
  * segment, inclusive. A value of null indicates that the segment extends
@@ -972,7 +972,7 @@ declare namespace shaka.media {
972
972
  getStartByte ( ) : number ;
973
973
  }
974
974
  }
975
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
975
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
976
976
  declare namespace shaka.media {
977
977
  class ManifestParser {
978
978
  private noStructuralTyping_shaka_media_ManifestParser : any;
@@ -995,14 +995,14 @@ declare namespace shaka.media {
995
995
  static unregisterParserByMime (mimeType : string ) : any ;
996
996
  }
997
997
  }
998
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
998
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
999
999
  declare namespace shaka.media.ManifestParser {
1000
1000
  enum AccessibilityPurpose {
1001
1001
  HARD_OF_HEARING = 'hard of hearing' ,
1002
1002
  VISUALLY_IMPAIRED = 'visually impaired' ,
1003
1003
  }
1004
1004
  }
1005
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1005
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1006
1006
  declare namespace shaka.media {
1007
1007
  /**
1008
1008
  * A meta-SegmentIndex composed of multiple other SegmentIndexes.
@@ -1028,7 +1028,7 @@ declare namespace shaka.media {
1028
1028
  updateEvery (interval : number , updateCallback : ( ) => ( shaka.media.SegmentReference | null ) [] | null ) : any ;
1029
1029
  }
1030
1030
  }
1031
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1031
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1032
1032
  declare namespace shaka.media {
1033
1033
  /**
1034
1034
  * PresentationTimeline.
@@ -1165,11 +1165,11 @@ declare namespace shaka.media {
1165
1165
  usingPresentationStartTime ( ) : boolean ;
1166
1166
  }
1167
1167
  }
1168
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1168
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1169
1169
  declare namespace shaka.media.PresentationTimeline {
1170
1170
  type TimeRange = { end : number , start : number , unscaledStart : number } ;
1171
1171
  }
1172
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1172
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1173
1173
  declare namespace shaka.media {
1174
1174
  /**
1175
1175
  * SegmentIndex.
@@ -1257,7 +1257,7 @@ declare namespace shaka.media {
1257
1257
  static forSingleSegment (startTime : number , duration : number , uris : string [] ) : shaka.media.SegmentIndex ;
1258
1258
  }
1259
1259
  }
1260
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1260
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1261
1261
  declare namespace shaka.media {
1262
1262
  /**
1263
1263
  * An iterator over a SegmentIndex's references.
@@ -1273,11 +1273,11 @@ declare namespace shaka.media {
1273
1273
  next ( ) : any ;
1274
1274
  }
1275
1275
  }
1276
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1276
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1277
1277
  declare namespace shaka.media.SegmentPrefetch {
1278
1278
  type FetchDispatcher = (a : shaka.media.InitSegmentReference | shaka.media.SegmentReference , b : shaka.extern.Stream , c ? : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null ) => shaka.net.NetworkingEngine.PendingRequest ;
1279
1279
  }
1280
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1280
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1281
1281
  declare namespace shaka.media {
1282
1282
  /**
1283
1283
  * SegmentReference provides the start time, end time, and location to a media
@@ -1372,7 +1372,7 @@ declare namespace shaka.media {
1372
1372
  syncAgainst (lowestSyncTime : number ) : any ;
1373
1373
  }
1374
1374
  }
1375
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1375
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1376
1376
  declare namespace shaka.media.SegmentReference {
1377
1377
  /**
1378
1378
  * Rather than using booleans to communicate what the state of the reference,
@@ -1388,11 +1388,11 @@ declare namespace shaka.media.SegmentReference {
1388
1388
  UNAVAILABLE = 1.0 ,
1389
1389
  }
1390
1390
  }
1391
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1391
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1392
1392
  declare namespace shaka.media.SegmentReference {
1393
1393
  type ThumbnailSprite = { height : number , positionX : number , positionY : number , width : number } ;
1394
1394
  }
1395
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1395
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1396
1396
  declare namespace shaka.mss {
1397
1397
  /**
1398
1398
  * Creates a new MSS parser.
@@ -1406,14 +1406,14 @@ declare namespace shaka.mss {
1406
1406
  update ( ) : any ;
1407
1407
  }
1408
1408
  }
1409
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1409
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1410
1410
  declare namespace shaka.net {
1411
1411
  class DataUriPlugin {
1412
1412
  private noStructuralTyping_shaka_net_DataUriPlugin : any;
1413
1413
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
1414
1414
  }
1415
1415
  }
1416
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1416
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1417
1417
  declare namespace shaka.net {
1418
1418
  class HttpFetchPlugin {
1419
1419
  private noStructuralTyping_shaka_net_HttpFetchPlugin : any;
@@ -1426,14 +1426,14 @@ declare namespace shaka.net {
1426
1426
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
1427
1427
  }
1428
1428
  }
1429
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1429
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1430
1430
  declare namespace shaka.net {
1431
1431
  class HttpXHRPlugin {
1432
1432
  private noStructuralTyping_shaka_net_HttpXHRPlugin : any;
1433
1433
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
1434
1434
  }
1435
1435
  }
1436
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1436
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1437
1437
  declare namespace shaka.net {
1438
1438
  /**
1439
1439
  * NetworkingEngine wraps all networking operations. This accepts plugins that
@@ -1502,7 +1502,7 @@ declare namespace shaka.net {
1502
1502
  static unregisterScheme (scheme : string ) : any ;
1503
1503
  }
1504
1504
  }
1505
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1505
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1506
1506
  declare namespace shaka.net.NetworkingEngine {
1507
1507
  /**
1508
1508
  * A more advanced form of the RequestType structure, meant to describe
@@ -1527,7 +1527,7 @@ declare namespace shaka.net.NetworkingEngine {
1527
1527
  MSS = 5.0 ,
1528
1528
  }
1529
1529
  }
1530
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1530
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1531
1531
  declare namespace shaka.net.NetworkingEngine {
1532
1532
  /**
1533
1533
  * A wrapper class for the number of bytes remaining to be downloaded for the
@@ -1540,19 +1540,19 @@ declare namespace shaka.net.NetworkingEngine {
1540
1540
  private noStructuralTyping_shaka_net_NetworkingEngine_NumBytesRemainingClass : any;
1541
1541
  }
1542
1542
  }
1543
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1543
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1544
1544
  declare namespace shaka.net.NetworkingEngine {
1545
1545
  type OnDownloadFailed = (a : shaka.extern.Request , b : shaka.util.Error | null , c : number , d : boolean ) => any ;
1546
1546
  }
1547
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1547
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1548
1548
  declare namespace shaka.net.NetworkingEngine {
1549
1549
  type OnHeadersReceived = (a : { [ key: string ]: string } , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType ) => any ;
1550
1550
  }
1551
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1551
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1552
1552
  declare namespace shaka.net.NetworkingEngine {
1553
1553
  type OnRequest = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c : shaka.extern.RequestContext | undefined ) => any ;
1554
1554
  }
1555
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1555
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1556
1556
  declare namespace shaka.net.NetworkingEngine {
1557
1557
  /**
1558
1558
  * A pending network request. This can track the current progress of the
@@ -1567,7 +1567,7 @@ declare namespace shaka.net.NetworkingEngine {
1567
1567
  constructor (promise : Promise < any > , onAbort : shaka.extern.CreateSegmentIndexFunction , numBytesRemainingObj : shaka.net.NetworkingEngine.NumBytesRemainingClass | null ) ;
1568
1568
  }
1569
1569
  }
1570
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1570
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1571
1571
  declare namespace shaka.net.NetworkingEngine {
1572
1572
  /**
1573
1573
  * Priority level for network scheme plugins.
@@ -1585,7 +1585,7 @@ declare namespace shaka.net.NetworkingEngine {
1585
1585
  PREFERRED = 2.0 ,
1586
1586
  }
1587
1587
  }
1588
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1588
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1589
1589
  declare namespace shaka.net.NetworkingEngine {
1590
1590
  /**
1591
1591
  * Request types. Allows a filter to decide which requests to read/alter.
@@ -1603,14 +1603,14 @@ declare namespace shaka.net.NetworkingEngine {
1603
1603
  TIMING = 4.0 ,
1604
1604
  }
1605
1605
  }
1606
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1606
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1607
1607
  declare namespace shaka.offline {
1608
1608
  class OfflineScheme {
1609
1609
  private noStructuralTyping_shaka_offline_OfflineScheme : any;
1610
1610
  static plugin (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
1611
1611
  }
1612
1612
  }
1613
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1613
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1614
1614
  declare namespace shaka.offline {
1615
1615
  class Storage implements shaka.util.IDestroyable {
1616
1616
  private noStructuralTyping_shaka_offline_Storage : any;
@@ -1681,7 +1681,7 @@ declare namespace shaka.offline {
1681
1681
  static support ( ) : boolean ;
1682
1682
  }
1683
1683
  }
1684
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1684
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1685
1685
  declare namespace shaka.offline {
1686
1686
  /**
1687
1687
  * StorageMuxer is responsible for managing StorageMechanisms and addressing
@@ -1714,7 +1714,7 @@ declare namespace shaka.offline {
1714
1714
  static unregister (name : string ) : any ;
1715
1715
  }
1716
1716
  }
1717
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1717
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1718
1718
  declare namespace shaka {
1719
1719
  class polyfill {
1720
1720
  private noStructuralTyping_shaka_polyfill : any;
@@ -1729,7 +1729,7 @@ declare namespace shaka {
1729
1729
  static register (polyfill : ( ) => any , priority ? : number ) : any ;
1730
1730
  }
1731
1731
  }
1732
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1732
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1733
1733
  declare namespace shaka.polyfill {
1734
1734
  class AbortController extends AbortController {
1735
1735
  private noStructuralTyping_shaka_polyfill_AbortController : any;
@@ -1739,7 +1739,7 @@ declare namespace shaka.polyfill {
1739
1739
  static install ( ) : any ;
1740
1740
  }
1741
1741
  }
1742
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1742
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1743
1743
  declare namespace shaka.polyfill {
1744
1744
  class Aria {
1745
1745
  private noStructuralTyping_shaka_polyfill_Aria : any;
@@ -1749,7 +1749,7 @@ declare namespace shaka.polyfill {
1749
1749
  static install ( ) : any ;
1750
1750
  }
1751
1751
  }
1752
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1752
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1753
1753
  declare namespace shaka.polyfill {
1754
1754
  class EncryptionScheme {
1755
1755
  private noStructuralTyping_shaka_polyfill_EncryptionScheme : any;
@@ -1759,7 +1759,7 @@ declare namespace shaka.polyfill {
1759
1759
  static install ( ) : any ;
1760
1760
  }
1761
1761
  }
1762
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1762
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1763
1763
  declare namespace shaka.polyfill {
1764
1764
  class Fullscreen {
1765
1765
  private noStructuralTyping_shaka_polyfill_Fullscreen : any;
@@ -1769,7 +1769,7 @@ declare namespace shaka.polyfill {
1769
1769
  static install ( ) : any ;
1770
1770
  }
1771
1771
  }
1772
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1772
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1773
1773
  declare namespace shaka.polyfill {
1774
1774
  class MediaCapabilities {
1775
1775
  private noStructuralTyping_shaka_polyfill_MediaCapabilities : any;
@@ -1785,7 +1785,7 @@ declare namespace shaka.polyfill {
1785
1785
  static originalMcap : any | null ;
1786
1786
  }
1787
1787
  }
1788
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1788
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1789
1789
  declare namespace shaka.polyfill {
1790
1790
  class MediaSource {
1791
1791
  private noStructuralTyping_shaka_polyfill_MediaSource : any;
@@ -1795,7 +1795,7 @@ declare namespace shaka.polyfill {
1795
1795
  static install ( ) : any ;
1796
1796
  }
1797
1797
  }
1798
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1798
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1799
1799
  declare namespace shaka.polyfill {
1800
1800
  class Orientation {
1801
1801
  private noStructuralTyping_shaka_polyfill_Orientation : any;
@@ -1805,7 +1805,7 @@ declare namespace shaka.polyfill {
1805
1805
  static install ( ) : any ;
1806
1806
  }
1807
1807
  }
1808
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1808
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1809
1809
  declare namespace shaka.polyfill {
1810
1810
  class PatchedMediaKeysApple {
1811
1811
  private noStructuralTyping_shaka_polyfill_PatchedMediaKeysApple : any;
@@ -1820,7 +1820,7 @@ declare namespace shaka.polyfill {
1820
1820
  static uninstall ( ) : any ;
1821
1821
  }
1822
1822
  }
1823
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1823
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1824
1824
  declare namespace shaka.polyfill {
1825
1825
  class PatchedMediaKeysNop {
1826
1826
  private noStructuralTyping_shaka_polyfill_PatchedMediaKeysNop : any;
@@ -1830,7 +1830,7 @@ declare namespace shaka.polyfill {
1830
1830
  static install ( ) : any ;
1831
1831
  }
1832
1832
  }
1833
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1833
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1834
1834
  declare namespace shaka.polyfill {
1835
1835
  class PatchedMediaKeysWebkit {
1836
1836
  private noStructuralTyping_shaka_polyfill_PatchedMediaKeysWebkit : any;
@@ -1840,7 +1840,7 @@ declare namespace shaka.polyfill {
1840
1840
  static install ( ) : any ;
1841
1841
  }
1842
1842
  }
1843
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1843
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1844
1844
  declare namespace shaka.polyfill {
1845
1845
  class PiPWebkit {
1846
1846
  private noStructuralTyping_shaka_polyfill_PiPWebkit : any;
@@ -1850,7 +1850,7 @@ declare namespace shaka.polyfill {
1850
1850
  static install ( ) : any ;
1851
1851
  }
1852
1852
  }
1853
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1853
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1854
1854
  declare namespace shaka.polyfill {
1855
1855
  class RandomUUID {
1856
1856
  private noStructuralTyping_shaka_polyfill_RandomUUID : any;
@@ -1860,7 +1860,7 @@ declare namespace shaka.polyfill {
1860
1860
  static install ( ) : any ;
1861
1861
  }
1862
1862
  }
1863
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1863
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1864
1864
  declare namespace shaka.polyfill {
1865
1865
  class StorageEstimate {
1866
1866
  private noStructuralTyping_shaka_polyfill_StorageEstimate : any;
@@ -1870,7 +1870,7 @@ declare namespace shaka.polyfill {
1870
1870
  static install ( ) : any ;
1871
1871
  }
1872
1872
  }
1873
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1873
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1874
1874
  declare namespace shaka.polyfill {
1875
1875
  class Symbol {
1876
1876
  private noStructuralTyping_shaka_polyfill_Symbol : any;
@@ -1880,7 +1880,7 @@ declare namespace shaka.polyfill {
1880
1880
  static install ( ) : any ;
1881
1881
  }
1882
1882
  }
1883
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1883
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1884
1884
  declare namespace shaka.polyfill {
1885
1885
  class VTTCue {
1886
1886
  private noStructuralTyping_shaka_polyfill_VTTCue : any;
@@ -1890,7 +1890,7 @@ declare namespace shaka.polyfill {
1890
1890
  static install ( ) : any ;
1891
1891
  }
1892
1892
  }
1893
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1893
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1894
1894
  declare namespace shaka.polyfill {
1895
1895
  class VideoPlayPromise {
1896
1896
  private noStructuralTyping_shaka_polyfill_VideoPlayPromise : any;
@@ -1900,7 +1900,7 @@ declare namespace shaka.polyfill {
1900
1900
  static install ( ) : any ;
1901
1901
  }
1902
1902
  }
1903
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1903
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1904
1904
  declare namespace shaka.polyfill {
1905
1905
  class VideoPlaybackQuality {
1906
1906
  private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
@@ -1910,14 +1910,184 @@ declare namespace shaka.polyfill {
1910
1910
  static install ( ) : any ;
1911
1911
  }
1912
1912
  }
1913
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
1913
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1914
1914
  declare namespace shaka.text {
1915
1915
  class Cue {
1916
1916
  private noStructuralTyping_shaka_text_Cue : any;
1917
1917
  constructor (startTime : number , endTime : number , payload : string ) ;
1918
+ /**
1919
+ * Text background color as a CSS color, e.g. "#FFFFFF" or "white".
1920
+ */
1921
+ backgroundColor : string ;
1922
+ /**
1923
+ * The URL of the background image, e.g. "data:[mime type];base64,[data]".
1924
+ */
1925
+ backgroundImage : string ;
1926
+ /**
1927
+ * The border around this cue as a CSS border.
1928
+ */
1929
+ border : string ;
1930
+ /**
1931
+ * The number of horizontal and vertical cells into which the Root Container
1932
+ * Region area is divided.
1933
+ */
1934
+ cellResolution : { columns : number , rows : number } ;
1935
+ /**
1936
+ * Text color as a CSS color, e.g. "#FFFFFF" or "white".
1937
+ */
1938
+ color : string ;
1939
+ /**
1940
+ * Text direction of the cue.
1941
+ */
1942
+ direction : shaka.text.Cue.direction ;
1943
+ /**
1944
+ * Vertical alignments of the cues within their extents.
1945
+ * 'BEFORE' means displaying the captions at the top of the text display
1946
+ * container box, 'CENTER' means in the middle, 'AFTER' means at the bottom.
1947
+ */
1948
+ displayAlign : shaka.text.Cue.displayAlign ;
1949
+ /**
1950
+ * The end time of the cue in seconds, relative to the start of the
1951
+ * presentation.
1952
+ */
1953
+ endTime : number ;
1954
+ /**
1955
+ * Text font family.
1956
+ */
1957
+ fontFamily : string ;
1958
+ /**
1959
+ * Text font size in px or em (e.g. '100px'/'100em').
1960
+ */
1961
+ fontSize : string ;
1962
+ /**
1963
+ * Text font style. Normal, italic or oblique.
1964
+ */
1965
+ fontStyle : shaka.text.Cue.fontStyle ;
1966
+ /**
1967
+ * Text font weight. Either normal or bold.
1968
+ */
1969
+ fontWeight : shaka.text.Cue.fontWeight ;
1970
+ /**
1971
+ * Id of the cue.
1972
+ */
1973
+ id : string ;
1974
+ /**
1975
+ * If true, this represents a container element that is "above" the main
1976
+ * cues. For example, the <body> and <div> tags that contain the <p> tags
1977
+ * in a TTML file. This controls the flow of the final cues; any nested cues
1978
+ * within an "isContainer" cue will be laid out as separate lines.
1979
+ */
1980
+ isContainer : boolean ;
1981
+ /**
1982
+ * Text letter spacing as a CSS letter-spacing value.
1983
+ */
1984
+ letterSpacing : string ;
1985
+ /**
1986
+ * The offset from the display box in either number of lines or
1987
+ * percentage depending on the value of lineInterpretation.
1988
+ */
1989
+ line : number | null ;
1990
+ /**
1991
+ * Line alignment of the cue box.
1992
+ * Start alignment means the cue box’s top side (for horizontal cues), left
1993
+ * side (for vertical growing right), or right side (for vertical growing
1994
+ * left) is aligned at the line.
1995
+ * Center alignment means the cue box is centered at the line.
1996
+ * End alignment The cue box’s bottom side (for horizontal cues), right side
1997
+ * (for vertical growing right), or left side (for vertical growing left) is
1998
+ * aligned at the line.
1999
+ */
2000
+ lineAlign : shaka.text.Cue.lineAlign ;
2001
+ /**
2002
+ * Whether or not the cue only acts as a line break between two nested cues.
2003
+ * Should only appear in nested cues.
2004
+ */
2005
+ lineBreak : boolean ;
2006
+ /**
2007
+ * Separation between line areas inside the cue box in px or em
2008
+ * (e.g. '100px'/'100em'). If not specified, this should be no less than
2009
+ * the largest font size applied to the text in the cue.
2010
+ */
2011
+ lineHeight : string ;
2012
+ /**
2013
+ * The way to interpret line field. (Either as an integer line number or
2014
+ * percentage from the display box).
2015
+ */
2016
+ lineInterpretation : shaka.text.Cue.lineInterpretation ;
2017
+ /**
2018
+ * Text line padding as a CSS line-padding value.
2019
+ */
2020
+ linePadding : string ;
2021
+ /**
2022
+ * Nested cues, which should be laid out horizontally in one block.
2023
+ * Top-level cues are blocks, and nested cues are inline elements.
2024
+ * Cues can be nested arbitrarily deeply.
2025
+ */
2026
+ nestedCues : shaka.text.Cue [] ;
2027
+ /**
2028
+ * Opacity of the cue element, from 0-1.
2029
+ */
2030
+ opacity : number ;
2031
+ /**
2032
+ * The text payload of the cue. If nestedCues is non-empty, this should be
2033
+ * empty. Top-level block containers should have no payload of their own.
2034
+ */
2035
+ payload : string ;
2036
+ /**
2037
+ * The indent (in percent) of the cue box in the direction defined by the
2038
+ * writing direction.
2039
+ */
2040
+ position : number | null ;
2041
+ /**
2042
+ * Position alignment of the cue.
2043
+ */
2044
+ positionAlign : shaka.text.Cue.positionAlign ;
2045
+ /**
2046
+ * The region to render the cue into. Only supported on top-level cues,
2047
+ * because nested cues are inline elements.
2048
+ */
2049
+ region : shaka.text.CueRegion | null ;
2050
+ /**
2051
+ * Size of the cue box (in percents), where 0 means "auto".
2052
+ */
2053
+ size : number ;
2054
+ /**
2055
+ * The start time of the cue in seconds, relative to the start of the
2056
+ * presentation.
2057
+ */
2058
+ startTime : number ;
2059
+ /**
2060
+ * Alignment of the text inside the cue box.
2061
+ */
2062
+ textAlign : shaka.text.Cue.textAlign ;
2063
+ /**
2064
+ * Text decoration. A combination of underline, overline
2065
+ * and line through. Empty array means no decoration.
2066
+ */
2067
+ textDecoration : shaka.text.Cue.textDecoration [] ;
2068
+ /**
2069
+ * Text shadow color as a CSS text-shadow value.
2070
+ */
2071
+ textShadow : string ;
2072
+ /**
2073
+ * Text stroke color as a CSS color, e.g. "#FFFFFF" or "white".
2074
+ */
2075
+ textStrokeColor : string ;
2076
+ /**
2077
+ * Text stroke width as a CSS stroke-width value.
2078
+ */
2079
+ textStrokeWidth : string ;
2080
+ /**
2081
+ * Whether or not line wrapping should be applied to the cue.
2082
+ */
2083
+ wrapLine : boolean ;
2084
+ /**
2085
+ * Text writing mode of the cue.
2086
+ */
2087
+ writingMode : shaka.text.Cue.writingMode ;
1918
2088
  }
1919
2089
  }
1920
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2090
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1921
2091
  declare namespace shaka.text.Cue {
1922
2092
  /**
1923
2093
  * Default text background color according to
@@ -1938,7 +2108,7 @@ declare namespace shaka.text.Cue {
1938
2108
  bg_yellow = 'yellow' ,
1939
2109
  }
1940
2110
  }
1941
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2111
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1942
2112
  declare namespace shaka.text.Cue {
1943
2113
  /**
1944
2114
  * Default text color according to
@@ -1959,14 +2129,14 @@ declare namespace shaka.text.Cue {
1959
2129
  yellow = 'yellow' ,
1960
2130
  }
1961
2131
  }
1962
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2132
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1963
2133
  declare namespace shaka.text.Cue {
1964
2134
  enum direction {
1965
2135
  HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
1966
2136
  HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
1967
2137
  }
1968
2138
  }
1969
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2139
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1970
2140
  declare namespace shaka.text.Cue {
1971
2141
  /**
1972
2142
  * Vertical alignments of the cues within their extents.
@@ -1984,7 +2154,7 @@ declare namespace shaka.text.Cue {
1984
2154
  CENTER = 'center' ,
1985
2155
  }
1986
2156
  }
1987
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2157
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1988
2158
  declare namespace shaka.text.Cue {
1989
2159
  enum fontStyle {
1990
2160
  ITALIC = 'italic' ,
@@ -1992,7 +2162,7 @@ declare namespace shaka.text.Cue {
1992
2162
  OBLIQUE = 'oblique' ,
1993
2163
  }
1994
2164
  }
1995
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2165
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
1996
2166
  declare namespace shaka.text.Cue {
1997
2167
  /**
1998
2168
  * In CSS font weight can be a number, where 400 is normal and 700 is bold.
@@ -2007,7 +2177,7 @@ declare namespace shaka.text.Cue {
2007
2177
  NORMAL = 400.0 ,
2008
2178
  }
2009
2179
  }
2010
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2180
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2011
2181
  declare namespace shaka.text.Cue {
2012
2182
  enum lineAlign {
2013
2183
  CENTER = 'center' ,
@@ -2015,14 +2185,14 @@ declare namespace shaka.text.Cue {
2015
2185
  START = 'start' ,
2016
2186
  }
2017
2187
  }
2018
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2188
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2019
2189
  declare namespace shaka.text.Cue {
2020
2190
  enum lineInterpretation {
2021
2191
  LINE_NUMBER = 0.0 ,
2022
2192
  PERCENTAGE = 1.0 ,
2023
2193
  }
2024
2194
  }
2025
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2195
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2026
2196
  declare namespace shaka.text.Cue {
2027
2197
  enum positionAlign {
2028
2198
  AUTO = 'auto' ,
@@ -2031,7 +2201,7 @@ declare namespace shaka.text.Cue {
2031
2201
  RIGHT = 'line-right' ,
2032
2202
  }
2033
2203
  }
2034
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2204
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2035
2205
  declare namespace shaka.text.Cue {
2036
2206
  enum textAlign {
2037
2207
  CENTER = 'center' ,
@@ -2041,7 +2211,7 @@ declare namespace shaka.text.Cue {
2041
2211
  START = 'start' ,
2042
2212
  }
2043
2213
  }
2044
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2214
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2045
2215
  declare namespace shaka.text.Cue {
2046
2216
  enum textDecoration {
2047
2217
  LINE_THROUGH = 'lineThrough' ,
@@ -2049,7 +2219,7 @@ declare namespace shaka.text.Cue {
2049
2219
  UNDERLINE = 'underline' ,
2050
2220
  }
2051
2221
  }
2052
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2222
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2053
2223
  declare namespace shaka.text.Cue {
2054
2224
  enum writingMode {
2055
2225
  HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
@@ -2057,20 +2227,71 @@ declare namespace shaka.text.Cue {
2057
2227
  VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
2058
2228
  }
2059
2229
  }
2060
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2230
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2061
2231
  declare namespace shaka.text {
2062
2232
  class CueRegion {
2063
2233
  private noStructuralTyping_shaka_text_CueRegion : any;
2234
+ /**
2235
+ * The width of the rendering area in heightUnits.
2236
+ */
2237
+ height : number ;
2238
+ /**
2239
+ * The units (percentage, pixels or lines) the region height is in.
2240
+ */
2241
+ heightUnits : shaka.text.CueRegion.units ;
2242
+ /**
2243
+ * Region identifier.
2244
+ */
2245
+ id : string ;
2246
+ /**
2247
+ * The X offset to start the rendering area in percentage (0-100) of this
2248
+ * region width.
2249
+ */
2250
+ regionAnchorX : number ;
2251
+ /**
2252
+ * The Y offset to start the rendering area in percentage (0-100) of the
2253
+ * region height.
2254
+ */
2255
+ regionAnchorY : number ;
2256
+ /**
2257
+ * If scroll=UP, it means that cues in the region will be added to the
2258
+ * bottom of the region and will push any already displayed cues in the
2259
+ * region up. Otherwise (scroll=NONE) cues will stay fixed at the location
2260
+ * they were first painted in.
2261
+ */
2262
+ scroll : shaka.text.CueRegion.scrollMode ;
2263
+ /**
2264
+ * The units (percentage or pixels) the region viewportAnchors are in.
2265
+ */
2266
+ viewportAnchorUnits : shaka.text.CueRegion.units ;
2267
+ /**
2268
+ * The X offset to start the rendering area in viewportAnchorUnits of the
2269
+ * video width.
2270
+ */
2271
+ viewportAnchorX : number ;
2272
+ /**
2273
+ * The X offset to start the rendering area in viewportAnchorUnits of the
2274
+ * video height.
2275
+ */
2276
+ viewportAnchorY : number ;
2277
+ /**
2278
+ * The width of the rendering area in widthUnits.
2279
+ */
2280
+ width : number ;
2281
+ /**
2282
+ * The units (percentage or pixels) the region width is in.
2283
+ */
2284
+ widthUnits : shaka.text.CueRegion.units ;
2064
2285
  }
2065
2286
  }
2066
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2287
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2067
2288
  declare namespace shaka.text.CueRegion {
2068
2289
  enum scrollMode {
2069
2290
  NONE = '' ,
2070
2291
  UP = 'up' ,
2071
2292
  }
2072
2293
  }
2073
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2294
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2074
2295
  declare namespace shaka.text.CueRegion {
2075
2296
  enum units {
2076
2297
  LINES = 2.0 ,
@@ -2078,7 +2299,7 @@ declare namespace shaka.text.CueRegion {
2078
2299
  PX = 0.0 ,
2079
2300
  }
2080
2301
  }
2081
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2302
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2082
2303
  declare namespace shaka.text {
2083
2304
  /**
2084
2305
  * LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
@@ -2087,37 +2308,41 @@ declare namespace shaka.text {
2087
2308
  private noStructuralTyping_shaka_text_LrcTextParser : any;
2088
2309
  parseInit (data : any ) : any ;
2089
2310
  parseMedia (data : any , time : any ) : any ;
2311
+ setManifestType (manifestType : any ) : any ;
2090
2312
  setSequenceMode (sequenceMode : any ) : any ;
2091
2313
  }
2092
2314
  }
2093
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2315
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2094
2316
  declare namespace shaka.text {
2095
2317
  class Mp4TtmlParser implements shaka.extern.TextParser {
2096
2318
  private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
2097
2319
  parseInit (data : any ) : any ;
2098
2320
  parseMedia (data : any , time : any ) : any ;
2321
+ setManifestType (manifestType : any ) : any ;
2099
2322
  setSequenceMode (sequenceMode : any ) : any ;
2100
2323
  }
2101
2324
  }
2102
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2325
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2103
2326
  declare namespace shaka.text {
2104
2327
  class Mp4VttParser implements shaka.extern.TextParser {
2105
2328
  private noStructuralTyping_shaka_text_Mp4VttParser : any;
2106
2329
  parseInit (data : any ) : any ;
2107
2330
  parseMedia (data : any , time : any ) : any ;
2331
+ setManifestType (manifestType : any ) : any ;
2108
2332
  setSequenceMode (sequenceMode : any ) : any ;
2109
2333
  }
2110
2334
  }
2111
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2335
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2112
2336
  declare namespace shaka.text {
2113
2337
  class SbvTextParser implements shaka.extern.TextParser {
2114
2338
  private noStructuralTyping_shaka_text_SbvTextParser : any;
2115
2339
  parseInit (data : any ) : any ;
2116
2340
  parseMedia (data : any , time : any ) : any ;
2341
+ setManifestType (manifestType : any ) : any ;
2117
2342
  setSequenceMode (sequenceMode : any ) : any ;
2118
2343
  }
2119
2344
  }
2120
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2345
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2121
2346
  declare namespace shaka.text {
2122
2347
  /**
2123
2348
  * A text displayer plugin using the browser's native VTTCue interface.
@@ -2135,12 +2360,13 @@ declare namespace shaka.text {
2135
2360
  setTextVisibility (on : any ) : any ;
2136
2361
  }
2137
2362
  }
2138
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2363
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2139
2364
  declare namespace shaka.text {
2140
2365
  class SrtTextParser implements shaka.extern.TextParser {
2141
2366
  private noStructuralTyping_shaka_text_SrtTextParser : any;
2142
2367
  parseInit (data : any ) : any ;
2143
2368
  parseMedia (data : any , time : any ) : any ;
2369
+ setManifestType (manifestType : any ) : any ;
2144
2370
  setSequenceMode (sequenceMode : any ) : any ;
2145
2371
  /**
2146
2372
  * Convert a SRT format to WebVTT
@@ -2148,7 +2374,7 @@ declare namespace shaka.text {
2148
2374
  static srt2webvtt (data : string ) : string ;
2149
2375
  }
2150
2376
  }
2151
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2377
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2152
2378
  declare namespace shaka.text {
2153
2379
  /**
2154
2380
  * Documentation: http://moodub.free.fr/video/ass-specs.doc
@@ -2158,10 +2384,11 @@ declare namespace shaka.text {
2158
2384
  private noStructuralTyping_shaka_text_SsaTextParser : any;
2159
2385
  parseInit (data : any ) : any ;
2160
2386
  parseMedia (data : any , time : any ) : any ;
2387
+ setManifestType (manifestType : any ) : any ;
2161
2388
  setSequenceMode (sequenceMode : any ) : any ;
2162
2389
  }
2163
2390
  }
2164
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2391
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2165
2392
  declare namespace shaka.text {
2166
2393
  class TextEngine implements shaka.util.IDestroyable {
2167
2394
  private noStructuralTyping_shaka_text_TextEngine : any;
@@ -2172,16 +2399,17 @@ declare namespace shaka.text {
2172
2399
  static unregisterParser (mimeType : string ) : any ;
2173
2400
  }
2174
2401
  }
2175
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2402
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2176
2403
  declare namespace shaka.text {
2177
2404
  class TtmlTextParser implements shaka.extern.TextParser {
2178
2405
  private noStructuralTyping_shaka_text_TtmlTextParser : any;
2179
2406
  parseInit (data : any ) : any ;
2180
2407
  parseMedia (data : any , time : any ) : any ;
2408
+ setManifestType (manifestType : any ) : any ;
2181
2409
  setSequenceMode (sequenceMode : any ) : any ;
2182
2410
  }
2183
2411
  }
2184
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2412
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2185
2413
  declare namespace shaka.text {
2186
2414
  /**
2187
2415
  * The text displayer plugin for the Shaka Player UI. Can also be used directly
@@ -2201,22 +2429,23 @@ declare namespace shaka.text {
2201
2429
  setTextVisibility (on : any ) : any ;
2202
2430
  }
2203
2431
  }
2204
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2432
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2205
2433
  declare namespace shaka.text {
2206
2434
  class VttTextParser implements shaka.extern.TextParser {
2207
2435
  private noStructuralTyping_shaka_text_VttTextParser : any;
2208
2436
  parseInit (data : any ) : any ;
2209
2437
  parseMedia (data : any , time : any ) : any ;
2438
+ setManifestType (manifestType : any ) : any ;
2210
2439
  setSequenceMode (sequenceMode : any ) : any ;
2211
2440
  }
2212
2441
  }
2213
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2442
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2214
2443
  declare namespace shaka.text {
2215
2444
  class WebVttGenerator {
2216
2445
  private noStructuralTyping_shaka_text_WebVttGenerator : any;
2217
2446
  }
2218
2447
  }
2219
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2448
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2220
2449
  declare namespace shaka.transmuxer {
2221
2450
  class AacTransmuxer implements shaka.extern.Transmuxer {
2222
2451
  private noStructuralTyping_shaka_transmuxer_AacTransmuxer : any;
@@ -2231,7 +2460,7 @@ declare namespace shaka.transmuxer {
2231
2460
  transmux (data : any , stream : any , reference : any , duration : any ) : any ;
2232
2461
  }
2233
2462
  }
2234
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2463
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2235
2464
  declare namespace shaka.transmuxer {
2236
2465
  class Ac3Transmuxer implements shaka.extern.Transmuxer {
2237
2466
  private noStructuralTyping_shaka_transmuxer_Ac3Transmuxer : any;
@@ -2246,7 +2475,7 @@ declare namespace shaka.transmuxer {
2246
2475
  transmux (data : any , stream : any , reference : any , duration : any ) : any ;
2247
2476
  }
2248
2477
  }
2249
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2478
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2250
2479
  declare namespace shaka.transmuxer {
2251
2480
  class Ec3Transmuxer implements shaka.extern.Transmuxer {
2252
2481
  private noStructuralTyping_shaka_transmuxer_Ec3Transmuxer : any;
@@ -2261,7 +2490,7 @@ declare namespace shaka.transmuxer {
2261
2490
  transmux (data : any , stream : any , reference : any , duration : any ) : any ;
2262
2491
  }
2263
2492
  }
2264
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2493
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2265
2494
  declare namespace shaka.transmuxer {
2266
2495
  class Mp3Transmuxer implements shaka.extern.Transmuxer {
2267
2496
  private noStructuralTyping_shaka_transmuxer_Mp3Transmuxer : any;
@@ -2276,7 +2505,7 @@ declare namespace shaka.transmuxer {
2276
2505
  transmux (data : any , stream : any , reference : any , duration : any ) : any ;
2277
2506
  }
2278
2507
  }
2279
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2508
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2280
2509
  declare namespace shaka.transmuxer {
2281
2510
  class MpegTsTransmuxer implements shaka.extern.Transmuxer {
2282
2511
  private noStructuralTyping_shaka_transmuxer_MpegTsTransmuxer : any;
@@ -2291,7 +2520,7 @@ declare namespace shaka.transmuxer {
2291
2520
  transmux (data : any ) : any ;
2292
2521
  }
2293
2522
  }
2294
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2523
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2295
2524
  declare namespace shaka.transmuxer {
2296
2525
  class MssTransmuxer implements shaka.extern.Transmuxer {
2297
2526
  private noStructuralTyping_shaka_transmuxer_MssTransmuxer : any;
@@ -2306,7 +2535,7 @@ declare namespace shaka.transmuxer {
2306
2535
  transmux (data : any , stream : any , reference : any ) : any ;
2307
2536
  }
2308
2537
  }
2309
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2538
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2310
2539
  declare namespace shaka.transmuxer {
2311
2540
  class MuxjsTransmuxer implements shaka.extern.Transmuxer {
2312
2541
  private noStructuralTyping_shaka_transmuxer_MuxjsTransmuxer : any;
@@ -2321,7 +2550,7 @@ declare namespace shaka.transmuxer {
2321
2550
  transmux (data : any ) : any ;
2322
2551
  }
2323
2552
  }
2324
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2553
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2325
2554
  declare namespace shaka.transmuxer {
2326
2555
  class TransmuxerEngine implements shaka.util.IDestroyable {
2327
2556
  private noStructuralTyping_shaka_transmuxer_TransmuxerEngine : any;
@@ -2331,7 +2560,7 @@ declare namespace shaka.transmuxer {
2331
2560
  static unregisterTransmuxer (mimeType : string , priority : number ) : any ;
2332
2561
  }
2333
2562
  }
2334
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2563
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2335
2564
  declare namespace shaka.transmuxer.TransmuxerEngine {
2336
2565
  /**
2337
2566
  * Priority level for transmuxer plugins.
@@ -2350,7 +2579,7 @@ declare namespace shaka.transmuxer.TransmuxerEngine {
2350
2579
  PREFERRED_SECONDARY = 2.0 ,
2351
2580
  }
2352
2581
  }
2353
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2582
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2354
2583
  declare namespace shaka.transmuxer {
2355
2584
  class TsTransmuxer implements shaka.extern.Transmuxer {
2356
2585
  private noStructuralTyping_shaka_transmuxer_TsTransmuxer : any;
@@ -2365,7 +2594,7 @@ declare namespace shaka.transmuxer {
2365
2594
  transmux (data : any , stream : any , reference : any , duration : any , contentType : any ) : any ;
2366
2595
  }
2367
2596
  }
2368
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2597
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2369
2598
  declare namespace shaka.util {
2370
2599
  /**
2371
2600
  * A utility to wrap abortable operations. Note that these are not cancelable.
@@ -2391,7 +2620,7 @@ declare namespace shaka.util {
2391
2620
  static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
2392
2621
  }
2393
2622
  }
2394
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2623
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2395
2624
  declare namespace shaka.util {
2396
2625
  class BufferUtils {
2397
2626
  private noStructuralTyping_shaka_util_BufferUtils : any;
@@ -2421,7 +2650,7 @@ declare namespace shaka.util {
2421
2650
  static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
2422
2651
  }
2423
2652
  }
2424
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2653
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2425
2654
  declare namespace shaka.util.CmcdManager {
2426
2655
  enum StreamingFormat {
2427
2656
  DASH = 'd' ,
@@ -2430,7 +2659,7 @@ declare namespace shaka.util.CmcdManager {
2430
2659
  SMOOTH = 's' ,
2431
2660
  }
2432
2661
  }
2433
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2662
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2434
2663
  declare namespace shaka.util {
2435
2664
  class ConfigUtils {
2436
2665
  private noStructuralTyping_shaka_util_ConfigUtils : any;
@@ -2443,7 +2672,7 @@ declare namespace shaka.util {
2443
2672
  static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
2444
2673
  }
2445
2674
  }
2446
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2675
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2447
2676
  declare namespace shaka.util {
2448
2677
  class DataViewReader {
2449
2678
  private noStructuralTyping_shaka_util_DataViewReader : any;
@@ -2504,7 +2733,7 @@ declare namespace shaka.util {
2504
2733
  skip (bytes : number ) : any ;
2505
2734
  }
2506
2735
  }
2507
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2736
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2508
2737
  declare namespace shaka.util.DataViewReader {
2509
2738
  /**
2510
2739
  * Endianness.
@@ -2517,7 +2746,7 @@ declare namespace shaka.util.DataViewReader {
2517
2746
  LITTLE_ENDIAN = 1.0 ,
2518
2747
  }
2519
2748
  }
2520
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2749
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2521
2750
  declare namespace shaka.util {
2522
2751
  class Dom {
2523
2752
  private noStructuralTyping_shaka_util_Dom : any;
@@ -2527,7 +2756,7 @@ declare namespace shaka.util {
2527
2756
  static removeAllChildren (element : Element ) : any ;
2528
2757
  }
2529
2758
  }
2530
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2759
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2531
2760
  declare namespace shaka.util {
2532
2761
  class Error extends GlobalError implements shaka.extern.Error {
2533
2762
  private noStructuralTyping_shaka_util_Error : any;
@@ -2539,7 +2768,7 @@ declare namespace shaka.util {
2539
2768
  severity : any ;
2540
2769
  }
2541
2770
  }
2542
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2771
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2543
2772
  declare namespace shaka.util.Error {
2544
2773
  enum Category {
2545
2774
  ADS = 10.0 ,
@@ -2554,7 +2783,7 @@ declare namespace shaka.util.Error {
2554
2783
  TEXT = 2.0 ,
2555
2784
  }
2556
2785
  }
2557
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2786
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2558
2787
  declare namespace shaka.util.Error {
2559
2788
  enum Code {
2560
2789
  ALREADY_CASTING = 8002.0 ,
@@ -2697,14 +2926,14 @@ declare namespace shaka.util.Error {
2697
2926
  WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
2698
2927
  }
2699
2928
  }
2700
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2929
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2701
2930
  declare namespace shaka.util.Error {
2702
2931
  enum Severity {
2703
2932
  CRITICAL = 2.0 ,
2704
2933
  RECOVERABLE = 1.0 ,
2705
2934
  }
2706
2935
  }
2707
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2936
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2708
2937
  declare namespace shaka.util {
2709
2938
  class EventManager implements shaka.util.IReleasable {
2710
2939
  private noStructuralTyping_shaka_util_EventManager : any;
@@ -2742,18 +2971,18 @@ declare namespace shaka.util {
2742
2971
  unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
2743
2972
  }
2744
2973
  }
2745
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2974
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2746
2975
  declare namespace shaka.util.EventManager {
2747
2976
  type ListenerType = (a : Event ) => any ;
2748
2977
  }
2749
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2978
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2750
2979
  declare namespace shaka.util {
2751
2980
  class ExpGolomb {
2752
2981
  private noStructuralTyping_shaka_util_ExpGolomb : any;
2753
2982
  constructor (data : Uint8Array ) ;
2754
2983
  }
2755
2984
  }
2756
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
2985
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2757
2986
  declare namespace shaka.util {
2758
2987
  class FairPlayUtils {
2759
2988
  private noStructuralTyping_shaka_util_FairPlayUtils : any;
@@ -2817,14 +3046,14 @@ declare namespace shaka.util {
2817
3046
  static verimatrixInitDataTransform (initData : Uint8Array , initDataType : string , drmInfo : shaka.extern.DrmInfo | null ) : any ;
2818
3047
  }
2819
3048
  }
2820
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3049
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2821
3050
  declare namespace shaka.util {
2822
3051
  class FakeEvent extends Event {
2823
3052
  private noStructuralTyping_shaka_util_FakeEvent : any;
2824
3053
  constructor (type : string , dict ? : Map < string , object | null > | null ) ;
2825
3054
  }
2826
3055
  }
2827
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3056
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2828
3057
  declare namespace shaka.util {
2829
3058
  class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
2830
3059
  private noStructuralTyping_shaka_util_FakeEventTarget : any;
@@ -2856,14 +3085,14 @@ declare namespace shaka.util {
2856
3085
  removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
2857
3086
  }
2858
3087
  }
2859
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3088
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2860
3089
  declare namespace shaka.util.FakeEventTarget {
2861
3090
  /**
2862
3091
  * These are the listener types defined in the closure extern for EventTarget.
2863
3092
  */
2864
3093
  type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
2865
3094
  }
2866
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3095
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2867
3096
  declare namespace shaka.util {
2868
3097
  /**
2869
3098
  * An interface to standardize how objects are destroyed.
@@ -2877,7 +3106,7 @@ declare namespace shaka.util {
2877
3106
  destroy ( ) : Promise < any > ;
2878
3107
  }
2879
3108
  }
2880
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3109
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2881
3110
  declare namespace shaka.util {
2882
3111
  /**
2883
3112
  * An interface to standardize how objects release internal references
@@ -2891,7 +3120,7 @@ declare namespace shaka.util {
2891
3120
  release ( ) : any ;
2892
3121
  }
2893
3122
  }
2894
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3123
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2895
3124
  declare namespace shaka.util {
2896
3125
  class Id3Utils {
2897
3126
  private noStructuralTyping_shaka_util_Id3Utils : any;
@@ -2909,7 +3138,7 @@ declare namespace shaka.util {
2909
3138
  static getID3Frames (id3Data : Uint8Array | null ) : shaka.extern.MetadataFrame [] ;
2910
3139
  }
2911
3140
  }
2912
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3141
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
2913
3142
  declare namespace shaka.util {
2914
3143
  class LanguageUtils {
2915
3144
  private noStructuralTyping_shaka_util_LanguageUtils : any;
@@ -3023,7 +3252,7 @@ declare namespace shaka.util {
3023
3252
  static relatedness (target : string , candidate : string ) : number ;
3024
3253
  }
3025
3254
  }
3026
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3255
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3027
3256
  declare namespace shaka.util {
3028
3257
  class MimeUtils {
3029
3258
  private noStructuralTyping_shaka_util_MimeUtils : any;
@@ -3039,7 +3268,7 @@ declare namespace shaka.util {
3039
3268
  static getFullTypeWithAllCodecs (mimeType : string , codecs ? : string ) : string ;
3040
3269
  }
3041
3270
  }
3042
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3271
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3043
3272
  declare namespace shaka.util {
3044
3273
  class Mp4Parser {
3045
3274
  private noStructuralTyping_shaka_util_Mp4Parser : any;
@@ -3106,11 +3335,11 @@ declare namespace shaka.util {
3106
3335
  static visualSampleEntry (box : shaka.extern.ParsedBox ) : any ;
3107
3336
  }
3108
3337
  }
3109
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3338
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3110
3339
  declare namespace shaka.util.Mp4Parser {
3111
3340
  type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
3112
3341
  }
3113
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3342
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3114
3343
  declare namespace shaka.util {
3115
3344
  /**
3116
3345
  * A utility to combine streams across periods.
@@ -3124,7 +3353,7 @@ declare namespace shaka.util {
3124
3353
  release ( ) : any ;
3125
3354
  }
3126
3355
  }
3127
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3356
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3128
3357
  declare namespace shaka.util {
3129
3358
  class PlayerConfiguration {
3130
3359
  private noStructuralTyping_shaka_util_PlayerConfiguration : any;
@@ -3136,14 +3365,14 @@ declare namespace shaka.util {
3136
3365
  static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
3137
3366
  }
3138
3367
  }
3139
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3368
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3140
3369
  declare namespace shaka.util {
3141
3370
  class StreamUtils {
3142
3371
  private noStructuralTyping_shaka_util_StreamUtils : any;
3143
3372
  static meetsRestrictions (variant : shaka.extern.Variant , restrictions : shaka.extern.Restrictions , maxHwRes : { height : number , width : number } ) : boolean ;
3144
3373
  }
3145
3374
  }
3146
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3375
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3147
3376
  declare namespace shaka.util {
3148
3377
  class StringUtils {
3149
3378
  private noStructuralTyping_shaka_util_StringUtils : any;
@@ -3177,7 +3406,7 @@ declare namespace shaka.util {
3177
3406
  static toUTF8 (str : string ) : ArrayBuffer ;
3178
3407
  }
3179
3408
  }
3180
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3409
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3181
3410
  declare namespace shaka.util {
3182
3411
  /**
3183
3412
  * A timer allows a single function to be executed at a later time or at
@@ -3206,7 +3435,7 @@ declare namespace shaka.util {
3206
3435
  tickNow ( ) : shaka.util.Timer ;
3207
3436
  }
3208
3437
  }
3209
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3438
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3210
3439
  declare namespace shaka.util {
3211
3440
  class TsParser {
3212
3441
  private noStructuralTyping_shaka_util_TsParser : any;
@@ -3234,6 +3463,10 @@ declare namespace shaka.util {
3234
3463
  * Return the audio data
3235
3464
  */
3236
3465
  getVideoData ( ) : shaka.extern.MPEG_PES [] ;
3466
+ /**
3467
+ * Return the video information
3468
+ */
3469
+ getVideoInfo ( ) : { codec : string | null , height : string | null , width : string | null } ;
3237
3470
  /**
3238
3471
  * Return the video data
3239
3472
  */
@@ -3263,7 +3496,7 @@ declare namespace shaka.util {
3263
3496
  static syncOffset (data : Uint8Array | null ) : number ;
3264
3497
  }
3265
3498
  }
3266
- // Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
3499
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.debug.externs.js
3267
3500
  declare namespace shaka.util {
3268
3501
  class Uint8ArrayUtils {
3269
3502
  private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
@@ -3297,7 +3530,7 @@ declare namespace shaka.util {
3297
3530
  static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
3298
3531
  }
3299
3532
  }
3300
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/airplay.js
3533
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/airplay.js
3301
3534
  declare namespace ಠ_ಠ.clutz {
3302
3535
  class AirPlayEvent extends Event {
3303
3536
  private noStructuralTyping_AirPlayEvent : any;
@@ -3305,7 +3538,7 @@ declare namespace ಠ_ಠ.clutz {
3305
3538
  availability : String | null ;
3306
3539
  }
3307
3540
  }
3308
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/awesomplete.js
3541
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/awesomplete.js
3309
3542
  declare namespace ಠ_ಠ.clutz {
3310
3543
  class Awesomplete {
3311
3544
  private noStructuralTyping_Awesomplete : any;
@@ -3315,18 +3548,18 @@ declare namespace ಠ_ಠ.clutz {
3315
3548
  evaluate ( ) : any ;
3316
3549
  }
3317
3550
  }
3318
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3551
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3319
3552
  declare namespace ಠ_ಠ.clutz {
3320
3553
  function __onGCastApiAvailable (a : boolean ) : any ;
3321
3554
  }
3322
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3555
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3323
3556
  declare namespace cast.receiver {
3324
3557
  class CastChannel {
3325
3558
  private noStructuralTyping_cast_receiver_CastChannel : any;
3326
3559
  send (message : any ) : any ;
3327
3560
  }
3328
3561
  }
3329
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3562
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3330
3563
  declare namespace cast.receiver {
3331
3564
  class CastMessageBus {
3332
3565
  private noStructuralTyping_cast_receiver_CastMessageBus : any;
@@ -3335,7 +3568,7 @@ declare namespace cast.receiver {
3335
3568
  onMessage : Function | null ;
3336
3569
  }
3337
3570
  }
3338
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3571
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3339
3572
  declare namespace cast.receiver.CastMessageBus {
3340
3573
  class Event {
3341
3574
  private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
@@ -3343,7 +3576,7 @@ declare namespace cast.receiver.CastMessageBus {
3343
3576
  senderId : string ;
3344
3577
  }
3345
3578
  }
3346
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3579
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3347
3580
  declare namespace cast.receiver {
3348
3581
  class CastReceiverManager {
3349
3582
  private noStructuralTyping_cast_receiver_CastReceiverManager : any;
@@ -3361,7 +3594,7 @@ declare namespace cast.receiver {
3361
3594
  static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
3362
3595
  }
3363
3596
  }
3364
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3597
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3365
3598
  declare namespace cast.receiver.media {
3366
3599
  enum MetadataType {
3367
3600
  GENERIC = 0.0 ,
@@ -3371,7 +3604,7 @@ declare namespace cast.receiver.media {
3371
3604
  TV_SHOW = 2.0 ,
3372
3605
  }
3373
3606
  }
3374
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3607
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3375
3608
  declare namespace cast.receiver.system {
3376
3609
  class SystemVolumeData {
3377
3610
  private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
@@ -3379,14 +3612,14 @@ declare namespace cast.receiver.system {
3379
3612
  muted : boolean ;
3380
3613
  }
3381
3614
  }
3382
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3615
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3383
3616
  declare namespace chrome.cast {
3384
3617
  class ApiConfig {
3385
3618
  private noStructuralTyping_chrome_cast_ApiConfig : any;
3386
3619
  constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
3387
3620
  }
3388
3621
  }
3389
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3622
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3390
3623
  declare namespace chrome.cast {
3391
3624
  class Error {
3392
3625
  private noStructuralTyping_chrome_cast_Error : any;
@@ -3396,14 +3629,14 @@ declare namespace chrome.cast {
3396
3629
  details : object | null ;
3397
3630
  }
3398
3631
  }
3399
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3632
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3400
3633
  declare namespace chrome.cast {
3401
3634
  class Receiver {
3402
3635
  private noStructuralTyping_chrome_cast_Receiver : any;
3403
3636
  friendlyName : string ;
3404
3637
  }
3405
3638
  }
3406
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3639
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3407
3640
  declare namespace chrome.cast {
3408
3641
  class Session {
3409
3642
  private noStructuralTyping_chrome_cast_Session : any;
@@ -3419,32 +3652,32 @@ declare namespace chrome.cast {
3419
3652
  stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
3420
3653
  }
3421
3654
  }
3422
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3655
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3423
3656
  declare namespace chrome.cast {
3424
3657
  class SessionRequest {
3425
3658
  private noStructuralTyping_chrome_cast_SessionRequest : any;
3426
3659
  constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
3427
3660
  }
3428
3661
  }
3429
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3662
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3430
3663
  declare namespace chrome.cast.SessionStatus {
3431
3664
  let STOPPED : string ;
3432
3665
  }
3433
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
3666
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
3434
3667
  declare namespace chrome.cast {
3435
3668
  let isAvailable : boolean ;
3436
3669
  }
3437
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/cmcd.js
3670
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/cmcd.js
3438
3671
  declare namespace ಠ_ಠ.clutz {
3439
3672
  type CmcdData = { bl ? : number , br ? : number , bs ? : boolean , cid ? : string , d ? : number , dl ? : number , mtp ? : number , nor ? : string , nrr ? : string , ot ? : string , pr ? : number , rtp ? : number , sf ? : string , sid ? : string , st ? : string , su ? : boolean , tb ? : number , v ? : number } ;
3440
3673
  }
3441
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3674
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3442
3675
  declare namespace google.ima.AdErrorEvent {
3443
3676
  enum Type {
3444
3677
  AD_ERROR = 'AD_ERROR' ,
3445
3678
  }
3446
3679
  }
3447
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3680
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3448
3681
  declare namespace google.ima.AdEvent {
3449
3682
  enum Type {
3450
3683
  AD_BREAK_READY = 'AD_BREAK_READY' ,
@@ -3476,7 +3709,7 @@ declare namespace google.ima.AdEvent {
3476
3709
  VOLUME_MUTED = 'VOLUME_MUTED' ,
3477
3710
  }
3478
3711
  }
3479
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3712
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3480
3713
  declare namespace google.ima {
3481
3714
  class AdsLoader implements EventTarget {
3482
3715
  private noStructuralTyping_google_ima_AdsLoader : any;
@@ -3490,7 +3723,7 @@ declare namespace google.ima {
3490
3723
  requestAds (request : google.ima.AdsRequest ) : any ;
3491
3724
  }
3492
3725
  }
3493
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3726
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3494
3727
  declare namespace google.ima {
3495
3728
  class AdsManager implements EventTarget {
3496
3729
  private noStructuralTyping_google_ima_AdsManager : any;
@@ -3513,21 +3746,21 @@ declare namespace google.ima {
3513
3746
  updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
3514
3747
  }
3515
3748
  }
3516
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3749
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3517
3750
  declare namespace google.ima.AdsManagerLoadedEvent {
3518
3751
  enum Type {
3519
3752
  ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
3520
3753
  }
3521
3754
  }
3522
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3755
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3523
3756
  declare namespace google.ima {
3524
3757
  type AdsRenderingSettings = { autoAlign : boolean , bitrate : number , enablePreloading : boolean , loadVideoTimeout : number , mimeTypes : string [] | null , playAdsAfterTime : number , restoreCustomPlaybackStateOnAdBreakComplete : boolean , uiElements : string [] | null , useStyledLinearAds : boolean , useStyledNonLinearAds : boolean } ;
3525
3758
  }
3526
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3759
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3527
3760
  declare namespace google.ima {
3528
3761
  type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
3529
3762
  }
3530
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3763
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3531
3764
  declare namespace google.ima.ImaSdkSettings {
3532
3765
  enum VpaidMode {
3533
3766
  DISABLED = 0.0 ,
@@ -3535,14 +3768,14 @@ declare namespace google.ima.ImaSdkSettings {
3535
3768
  INSECURE = 2.0 ,
3536
3769
  }
3537
3770
  }
3538
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3771
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3539
3772
  declare namespace google.ima {
3540
3773
  enum ViewMode {
3541
3774
  FULLSCREEN = 'FULLSCREEN' ,
3542
3775
  NORMAL = 'NORMAL' ,
3543
3776
  }
3544
3777
  }
3545
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3778
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3546
3779
  declare namespace google.ima.dai.api {
3547
3780
  enum OmidAccessMode {
3548
3781
  DOMAIN = 'domain' ,
@@ -3550,7 +3783,7 @@ declare namespace google.ima.dai.api {
3550
3783
  LIMITED = 'limited' ,
3551
3784
  }
3552
3785
  }
3553
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3786
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3554
3787
  declare namespace google.ima.dai.api {
3555
3788
  enum OmidVerificationVendor {
3556
3789
  COMSCORE = 7.0 ,
@@ -3564,7 +3797,7 @@ declare namespace google.ima.dai.api {
3564
3797
  PIXELATE = 5.0 ,
3565
3798
  }
3566
3799
  }
3567
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3800
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3568
3801
  declare namespace google.ima.dai.api.StreamEvent {
3569
3802
  enum Type {
3570
3803
  AD_BREAK_ENDED = 'adBreakEnded' ,
@@ -3587,7 +3820,7 @@ declare namespace google.ima.dai.api.StreamEvent {
3587
3820
  VIDEO_CLICKED = 'videoClicked' ,
3588
3821
  }
3589
3822
  }
3590
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3823
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3591
3824
  declare namespace google.ima.dai.api {
3592
3825
  class StreamManager implements EventTarget {
3593
3826
  private noStructuralTyping_google_ima_dai_api_StreamManager : any;
@@ -3606,18 +3839,18 @@ declare namespace google.ima.dai.api {
3606
3839
  streamTimeForContentTime (contentTime : number ) : any ;
3607
3840
  }
3608
3841
  }
3609
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3842
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3610
3843
  declare namespace google.ima.dai.api.StreamRequest {
3611
3844
  enum StreamFormat {
3612
3845
  DASH = 'dash' ,
3613
3846
  HLS = 'hls' ,
3614
3847
  }
3615
3848
  }
3616
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
3849
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3617
3850
  declare namespace google.ima {
3618
3851
  let settings : google.ima.ImaSdkSettings ;
3619
3852
  }
3620
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
3853
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
3621
3854
  declare namespace ಠ_ಠ.clutz {
3622
3855
  /**
3623
3856
  * A JSON Web Key.
@@ -3642,7 +3875,7 @@ declare namespace ಠ_ಠ.clutz {
3642
3875
  kty : string ;
3643
3876
  }
3644
3877
  }
3645
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
3878
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
3646
3879
  declare namespace ಠ_ಠ.clutz {
3647
3880
  /**
3648
3881
  * A JSON Web Key set.
@@ -3652,7 +3885,7 @@ declare namespace ಠ_ಠ.clutz {
3652
3885
  keys : ( JWK | null ) [] | null ;
3653
3886
  }
3654
3887
  }
3655
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
3888
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
3656
3889
  declare namespace LcevcDil {
3657
3890
  /**
3658
3891
  * LCEVC DIL constructor
@@ -3685,28 +3918,28 @@ declare namespace LcevcDil {
3685
3918
  setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
3686
3919
  }
3687
3920
  }
3688
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
3921
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
3689
3922
  declare namespace LcevcDil.SupportObject {
3690
3923
  /**
3691
3924
  * LCEVC Support CheckList Error if any.
3692
3925
  */
3693
3926
  let SupportError : string ;
3694
3927
  }
3695
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
3928
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
3696
3929
  declare namespace LcevcDil.SupportObject {
3697
3930
  /**
3698
3931
  * LCEVC Support Checklist Result
3699
3932
  */
3700
3933
  let SupportStatus : boolean ;
3701
3934
  }
3702
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
3935
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
3703
3936
  declare namespace LcevcDil.SupportObject {
3704
3937
  /**
3705
3938
  * Check if canvas has WebGL support
3706
3939
  */
3707
3940
  function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
3708
3941
  }
3709
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/mdl.js
3942
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mdl.js
3710
3943
  declare namespace ಠ_ಠ.clutz {
3711
3944
  class MaterialLayout {
3712
3945
  private noStructuralTyping_MaterialLayout : any;
@@ -3714,7 +3947,7 @@ declare namespace ಠ_ಠ.clutz {
3714
3947
  toggleDrawer ( ) : any ;
3715
3948
  }
3716
3949
  }
3717
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
3950
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
3718
3951
  declare namespace ಠ_ಠ.clutz {
3719
3952
  class MediaMetadata {
3720
3953
  private noStructuralTyping_MediaMetadata : any;
@@ -3724,14 +3957,14 @@ declare namespace ಠ_ಠ.clutz {
3724
3957
  title : string ;
3725
3958
  }
3726
3959
  }
3727
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
3960
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
3728
3961
  declare namespace ಠ_ಠ.clutz {
3729
3962
  class MediaSession {
3730
3963
  private noStructuralTyping_MediaSession : any;
3731
3964
  metadata : MediaMetadata | null ;
3732
3965
  }
3733
3966
  }
3734
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/mux.js
3967
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3735
3968
  declare namespace muxjs.mp4 {
3736
3969
  class Transmuxer {
3737
3970
  private noStructuralTyping_muxjs_mp4_Transmuxer : any;
@@ -3757,11 +3990,11 @@ declare namespace muxjs.mp4 {
3757
3990
  setBaseMediaDecodeTime (time : number ) : any ;
3758
3991
  }
3759
3992
  }
3760
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/mux.js
3993
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3761
3994
  declare namespace muxjs.mp4.Transmuxer {
3762
3995
  type Segment = { data : Uint8Array , initSegment : Uint8Array } ;
3763
3996
  }
3764
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
3997
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
3765
3998
  declare namespace ಠ_ಠ.clutz {
3766
3999
  class DocumentPictureInPicture implements EventTarget {
3767
4000
  private noStructuralTyping_DocumentPictureInPicture : any;
@@ -3772,15 +4005,15 @@ declare namespace ಠ_ಠ.clutz {
3772
4005
  window : Window | null ;
3773
4006
  }
3774
4007
  }
3775
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
4008
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
3776
4009
  declare namespace ಠ_ಠ.clutz {
3777
4010
  type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
3778
4011
  }
3779
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/polyfill.js
4012
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
3780
4013
  declare namespace window {
3781
4014
  let shakaMediaKeysPolyfill : boolean ;
3782
4015
  }
3783
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
4016
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
3784
4017
  declare namespace ಠ_ಠ.clutz {
3785
4018
  class MediaKeyError {
3786
4019
  private noStructuralTyping_MediaKeyError : any;
@@ -3788,7 +4021,7 @@ declare namespace ಠ_ಠ.clutz {
3788
4021
  systemCode : number ;
3789
4022
  }
3790
4023
  }
3791
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
4024
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
3792
4025
  declare namespace ಠ_ಠ.clutz {
3793
4026
  class MediaKeyEvent extends Event {
3794
4027
  private noStructuralTyping_MediaKeyEvent : any;
@@ -3803,7 +4036,7 @@ declare namespace ಠ_ಠ.clutz {
3803
4036
  target : HTMLMediaElement ;
3804
4037
  }
3805
4038
  }
3806
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abortable.js
4039
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abortable.js
3807
4040
  declare namespace shaka.extern {
3808
4041
  /**
3809
4042
  * A representation of an abortable operation. Note that these are not
@@ -3829,7 +4062,7 @@ declare namespace shaka.extern {
3829
4062
  promise : Promise < T > ;
3830
4063
  }
3831
4064
  }
3832
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
4065
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3833
4066
  declare namespace shaka.extern {
3834
4067
  /**
3835
4068
  * An object which selects Streams from a set of possible choices. This also
@@ -3904,14 +4137,14 @@ declare namespace shaka.extern {
3904
4137
  stop ( ) : any ;
3905
4138
  }
3906
4139
  }
3907
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
4140
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3908
4141
  declare namespace shaka.extern.AbrManager {
3909
4142
  /**
3910
4143
  * A factory for creating the abr manager.
3911
4144
  */
3912
4145
  type Factory = ( ) => shaka.extern.AbrManager ;
3913
4146
  }
3914
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
4147
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3915
4148
  declare namespace shaka.extern.AbrManager {
3916
4149
  /**
3917
4150
  * A callback into the Player that should be called when the AbrManager decides
@@ -3930,15 +4163,15 @@ declare namespace shaka.extern.AbrManager {
3930
4163
  */
3931
4164
  type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
3932
4165
  }
3933
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
4166
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3934
4167
  declare namespace shaka.extern {
3935
4168
  type AdCuePoint = { end : number | null , start : number } ;
3936
4169
  }
3937
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
4170
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3938
4171
  declare namespace shaka.extern {
3939
4172
  type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
3940
4173
  }
3941
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
4174
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3942
4175
  declare namespace shaka.extern {
3943
4176
  /**
3944
4177
  * Interface for Ad objects.
@@ -3979,7 +4212,7 @@ declare namespace shaka.extern {
3979
4212
  skip ( ) : any ;
3980
4213
  }
3981
4214
  }
3982
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
4215
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3983
4216
  declare namespace shaka.extern {
3984
4217
  /**
3985
4218
  * An object that's responsible for all the ad-related logic
@@ -4012,22 +4245,22 @@ declare namespace shaka.extern {
4012
4245
  updateClientSideAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
4013
4246
  }
4014
4247
  }
4015
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
4248
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
4016
4249
  declare namespace shaka.extern.IAdManager {
4017
4250
  /**
4018
4251
  * A factory for creating the ad manager.
4019
4252
  */
4020
4253
  type Factory = ( ) => shaka.extern.IAdManager ;
4021
4254
  }
4022
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4255
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4023
4256
  declare namespace shaka.extern {
4024
4257
  type CaptionDecoderPlugin = ( ) => shaka.extern.ICaptionDecoder ;
4025
4258
  }
4026
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4259
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4027
4260
  declare namespace shaka.extern {
4028
4261
  type CeaParserPlugin = ( ) => shaka.extern.ICeaParser ;
4029
4262
  }
4030
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4263
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4031
4264
  declare namespace shaka.extern {
4032
4265
  /**
4033
4266
  * Interface for decoding inband closed captions from packets.
@@ -4054,14 +4287,14 @@ declare namespace shaka.extern {
4054
4287
  extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
4055
4288
  }
4056
4289
  }
4057
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4290
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4058
4291
  declare namespace shaka.extern.ICaptionDecoder {
4059
4292
  /**
4060
4293
  * Parsed Cue.
4061
4294
  */
4062
4295
  type ClosedCaption = { cue : shaka.text.Cue , stream : string } ;
4063
4296
  }
4064
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4297
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4065
4298
  declare namespace shaka.extern {
4066
4299
  /**
4067
4300
  * Interface for parsing inband closed caption data from MP4 streams.
@@ -4079,19 +4312,19 @@ declare namespace shaka.extern {
4079
4312
  parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
4080
4313
  }
4081
4314
  }
4082
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
4315
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/cea.js
4083
4316
  declare namespace shaka.extern.ICeaParser {
4084
4317
  type CaptionPacket = { packet : Uint8Array , pts : number } ;
4085
4318
  }
4086
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
4319
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/codecs.js
4087
4320
  declare namespace shaka.extern {
4088
4321
  type MPEG_PES = { data : Uint8Array | null , dts : number | null , packetLength : number , pts : number | null } ;
4089
4322
  }
4090
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
4323
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/codecs.js
4091
4324
  declare namespace shaka.extern {
4092
4325
  type VideoNalu = { data : Uint8Array , fullData : Uint8Array , time : number | null , type : number } ;
4093
4326
  }
4094
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
4327
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/error.js
4095
4328
  declare namespace shaka.extern {
4096
4329
  interface Error {
4097
4330
  category : shaka.util.Error.Category ;
@@ -4101,11 +4334,11 @@ declare namespace shaka.extern {
4101
4334
  severity : shaka.util.Error.Severity ;
4102
4335
  }
4103
4336
  }
4104
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
4337
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/error.js
4105
4338
  declare namespace shaka.extern {
4106
4339
  type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
4107
4340
  }
4108
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4341
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4109
4342
  declare namespace shaka.extern {
4110
4343
  /**
4111
4344
  * Creates a SegmentIndex; returns a Promise that resolves after the
@@ -4113,11 +4346,11 @@ declare namespace shaka.extern {
4113
4346
  */
4114
4347
  type CreateSegmentIndexFunction = ( ) => Promise < any > ;
4115
4348
  }
4116
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4349
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4117
4350
  declare namespace shaka.extern {
4118
4351
  type DrmInfo = { audioRobustness : string , distinctiveIdentifierRequired : boolean , initData : shaka.extern.InitDataOverride [] | null , keyIds : Set < string > | null , keySystem : string , licenseServerUri : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
4119
4352
  }
4120
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4353
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4121
4354
  declare namespace shaka.extern {
4122
4355
  /**
4123
4356
  * A function that fetches the crypto keys for AES-128.
@@ -4125,39 +4358,39 @@ declare namespace shaka.extern {
4125
4358
  */
4126
4359
  type FetchCryptoKeysFunction = ( ) => Promise < any > ;
4127
4360
  }
4128
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4361
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4129
4362
  declare namespace shaka.extern {
4130
4363
  type HlsAes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
4131
4364
  }
4132
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4365
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4133
4366
  declare namespace shaka.extern {
4134
4367
  type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
4135
4368
  }
4136
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4369
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4137
4370
  declare namespace shaka.extern {
4138
4371
  type Manifest = { ignoreManifestTimestampsInSegmentsMode : boolean , imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , sequenceMode : boolean , serviceDescription : shaka.extern.ServiceDescription | null , textStreams : shaka.extern.Stream [] , type : string , variants : shaka.extern.Variant [] } ;
4139
4372
  }
4140
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4373
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4141
4374
  declare namespace shaka.extern {
4142
4375
  type MssPrivateData = { codecPrivateData : string | null , duration : number , timescale : number } ;
4143
4376
  }
4144
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4377
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4145
4378
  declare namespace shaka.extern {
4146
4379
  type Period = { audioStreams : shaka.extern.Stream [] , id : string , imageStreams : shaka.extern.Stream [] , textStreams : shaka.extern.Stream [] , videoStreams : shaka.extern.Stream [] } ;
4147
4380
  }
4148
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4381
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4149
4382
  declare namespace shaka.extern {
4150
4383
  type ServiceDescription = { maxLatency : number | null , maxPlaybackRate : number | null } ;
4151
4384
  }
4152
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4385
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4153
4386
  declare namespace shaka.extern {
4154
4387
  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 , forced : boolean , frameRate ? : number , 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 , width ? : number } ;
4155
4388
  }
4156
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
4389
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
4157
4390
  declare namespace shaka.extern {
4158
4391
  type Variant = { allowedByApplication : boolean , allowedByKeySystem : boolean , audio : shaka.extern.Stream | null , bandwidth : number , decodingInfos : ( any | null ) [] , disabledUntilTime : number , id : number , language : string , primary : boolean , video : shaka.extern.Stream | null } ;
4159
4392
  }
4160
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
4393
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
4161
4394
  declare namespace shaka.extern {
4162
4395
  /**
4163
4396
  * Parses media manifests and handles manifest updates.
@@ -4220,7 +4453,7 @@ declare namespace shaka.extern {
4220
4453
  update ( ) : any ;
4221
4454
  }
4222
4455
  }
4223
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
4456
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
4224
4457
  declare namespace shaka.extern.ManifestParser {
4225
4458
  /**
4226
4459
  * A factory for creating the manifest parser. This function is registered with
@@ -4228,31 +4461,31 @@ declare namespace shaka.extern.ManifestParser {
4228
4461
  */
4229
4462
  type Factory = ( ) => shaka.extern.ManifestParser ;
4230
4463
  }
4231
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
4464
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
4232
4465
  declare namespace shaka.extern.ManifestParser {
4233
4466
  type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
4234
4467
  }
4235
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/mp4_parser.js
4468
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/mp4_parser.js
4236
4469
  declare namespace shaka.extern {
4237
4470
  type ParsedBox = { flags : number | null , has64BitSize : boolean , name : string , parser : shaka.util.Mp4Parser , partialOkay : boolean , reader : shaka.util.DataViewReader , size : number , start : number , version : number | null } ;
4238
4471
  }
4239
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4472
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4240
4473
  declare namespace shaka.extern {
4241
4474
  type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
4242
4475
  }
4243
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4476
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4244
4477
  declare namespace shaka.extern {
4245
4478
  type ProgressUpdated = (a : number , b : number , c : number ) => any ;
4246
4479
  }
4247
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4480
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4248
4481
  declare namespace shaka.extern {
4249
4482
  type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , drmInfo : shaka.extern.DrmInfo | null , headers : { [ key: string ]: string } , initData : Uint8Array | null , initDataType : string | null , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
4250
4483
  }
4251
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4484
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4252
4485
  declare namespace shaka.extern {
4253
4486
  type RequestContext = { segment ? : shaka.media.SegmentReference | null , stream ? : shaka.extern.Stream , type ? : shaka.net.NetworkingEngine.AdvancedRequestType } ;
4254
4487
  }
4255
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4488
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4256
4489
  declare namespace shaka.extern {
4257
4490
  /**
4258
4491
  * Defines a filter for requests. This filter takes the request and modifies
@@ -4265,11 +4498,11 @@ declare namespace shaka.extern {
4265
4498
  */
4266
4499
  type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
4267
4500
  }
4268
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4501
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4269
4502
  declare namespace shaka.extern {
4270
4503
  type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
4271
4504
  }
4272
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4505
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4273
4506
  declare namespace shaka.extern {
4274
4507
  /**
4275
4508
  * Defines a filter for responses. This filter takes the response and modifies
@@ -4281,19 +4514,19 @@ declare namespace shaka.extern {
4281
4514
  */
4282
4515
  type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
4283
4516
  }
4284
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4517
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4285
4518
  declare namespace shaka.extern {
4286
4519
  type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
4287
4520
  }
4288
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
4521
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
4289
4522
  declare namespace shaka.extern {
4290
4523
  type SchemePlugin = (a : string , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType , d : shaka.extern.ProgressUpdated , e : shaka.extern.HeadersReceived ) => shaka.extern.IAbortableOperation < shaka.extern.Response > ;
4291
4524
  }
4292
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4525
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4293
4526
  declare namespace shaka.extern {
4294
4527
  type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
4295
4528
  }
4296
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4529
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4297
4530
  declare namespace shaka.extern {
4298
4531
  /**
4299
4532
  * Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
@@ -4319,23 +4552,23 @@ declare namespace shaka.extern {
4319
4552
  remove (sessionIds : string [] ) : Promise < any > ;
4320
4553
  }
4321
4554
  }
4322
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4555
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4323
4556
  declare namespace shaka.extern {
4324
4557
  type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , isIncomplete ? : boolean , originalManifestUri : string , sequenceMode ? : boolean , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] , type ? : string } ;
4325
4558
  }
4326
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4559
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4327
4560
  declare namespace shaka.extern {
4328
4561
  type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
4329
4562
  }
4330
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4563
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4331
4564
  declare namespace shaka.extern {
4332
4565
  type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
4333
4566
  }
4334
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4567
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4335
4568
  declare namespace shaka.extern {
4336
4569
  type SegmentDataDB = { data : ArrayBuffer } ;
4337
4570
  }
4338
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4571
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4339
4572
  declare namespace shaka.extern {
4340
4573
  /**
4341
4574
  * An interface that defines access to collection of segments and manifests. All
@@ -4411,7 +4644,7 @@ declare namespace shaka.extern {
4411
4644
  updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
4412
4645
  }
4413
4646
  }
4414
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4647
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4415
4648
  declare namespace shaka.extern {
4416
4649
  /**
4417
4650
  * Storage mechanisms are one of two exported storage APIs. Storage mechanisms
@@ -4455,207 +4688,207 @@ declare namespace shaka.extern {
4455
4688
  init ( ) : Promise < any > ;
4456
4689
  }
4457
4690
  }
4458
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4691
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4459
4692
  declare namespace shaka.extern {
4460
4693
  type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
4461
4694
  }
4462
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
4695
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
4463
4696
  declare namespace shaka.extern {
4464
4697
  type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , originalLanguage ? : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
4465
4698
  }
4466
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
4699
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
4467
4700
  declare namespace shaka.extern {
4468
4701
  type ManifestDBV1 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , key : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV1 [] , sessionIds : string [] , size : number } ;
4469
4702
  }
4470
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
4703
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
4471
4704
  declare namespace shaka.extern {
4472
4705
  type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
4473
4706
  }
4474
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
4707
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
4475
4708
  declare namespace shaka.extern {
4476
4709
  type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
4477
4710
  }
4478
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
4711
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
4479
4712
  declare namespace shaka.extern {
4480
4713
  type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
4481
4714
  }
4482
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
4715
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
4483
4716
  declare namespace shaka.extern {
4484
4717
  type StreamDBV1 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentUri : string | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV1 [] , variantIds : number [] , width : number | null } ;
4485
4718
  }
4486
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
4719
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
4487
4720
  declare namespace shaka.extern {
4488
4721
  type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
4489
4722
  }
4490
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
4723
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
4491
4724
  declare namespace shaka.extern {
4492
4725
  type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
4493
4726
  }
4494
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
4727
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
4495
4728
  declare namespace shaka.extern {
4496
4729
  type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
4497
4730
  }
4498
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
4731
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
4499
4732
  declare namespace shaka.extern {
4500
4733
  type SegmentDataDBV2 = { data : ArrayBuffer } ;
4501
4734
  }
4502
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
4735
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
4503
4736
  declare namespace shaka.extern {
4504
4737
  type StreamDBV2 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentKey : number | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV2 [] , variantIds : number [] , width : number | null } ;
4505
4738
  }
4506
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4739
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4507
4740
  declare namespace shaka.extern {
4508
4741
  type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
4509
4742
  }
4510
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4743
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4511
4744
  declare namespace shaka.extern {
4512
4745
  type AdsConfiguration = { customPlayheadTracker : boolean } ;
4513
4746
  }
4514
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4747
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4515
4748
  declare namespace shaka.extern {
4516
4749
  type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
4517
4750
  }
4518
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4751
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4519
4752
  declare namespace shaka.extern {
4520
4753
  type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
4521
4754
  }
4522
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4755
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4523
4756
  declare namespace shaka.extern {
4524
4757
  type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
4525
4758
  }
4526
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4759
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4527
4760
  declare namespace shaka.extern {
4528
4761
  type BufferedRange = { end : number , start : number } ;
4529
4762
  }
4530
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4763
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4531
4764
  declare namespace shaka.extern {
4532
4765
  type Chapter = { endTime : number , id : string , startTime : number , title : string } ;
4533
4766
  }
4534
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4767
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4535
4768
  declare namespace shaka.extern {
4536
4769
  type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
4537
4770
  }
4538
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4771
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4539
4772
  declare namespace shaka.extern {
4540
4773
  type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean , xlinkFailGracefully : boolean } ;
4541
4774
  }
4542
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4775
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4543
4776
  declare namespace shaka.extern {
4544
4777
  type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , keySystemsMapping : { [ key: string ]: string } , logLicenseExchange : boolean , minHdcpVersion : string , parseInbandPsshEnabled : boolean , persistentSessionOnlinePlayback : boolean , persistentSessionsMetadata : shaka.extern.PersistentSessionMetadata [] , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
4545
4778
  }
4546
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4779
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4547
4780
  declare namespace shaka.extern {
4548
4781
  type DrmSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string , sessionType : string } ;
4549
4782
  }
4550
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4783
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4551
4784
  declare namespace shaka.extern {
4552
4785
  type DrmSupportType = { persistentState : boolean } ;
4553
4786
  }
4554
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4787
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4555
4788
  declare namespace shaka.extern {
4556
4789
  type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
4557
4790
  }
4558
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4791
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4559
4792
  declare namespace shaka.extern {
4560
4793
  type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreManifestProgramDateTime : boolean , ignoreManifestTimestampsInSegmentsMode : boolean , ignoreTextStreamFailures : boolean , liveSegmentsDelay : number , mediaPlaylistFullMimeType : string , sequenceMode : boolean , useSafariBehaviorForLive : boolean } ;
4561
4794
  }
4562
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4795
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4563
4796
  declare namespace shaka.extern {
4564
4797
  type ID3Metadata = { cueTime : number | null , data : Uint8Array , dts : number | null , frames : shaka.extern.MetadataFrame [] , pts : number | null } ;
4565
4798
  }
4566
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4799
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4567
4800
  declare namespace shaka.extern {
4568
4801
  type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
4569
4802
  }
4570
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4803
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4571
4804
  declare namespace shaka.extern {
4572
4805
  type LanguageRole = { label : string | null , language : string , role : string } ;
4573
4806
  }
4574
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4807
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4575
4808
  declare namespace shaka.extern {
4576
4809
  type LcevcConfiguration = { drawLogo : boolean , dynamicPerformanceScaling : boolean , enabled : boolean , logLevel : number } ;
4577
4810
  }
4578
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4811
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4579
4812
  declare namespace shaka.extern {
4580
4813
  type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , mss : shaka.extern.MssManifestConfiguration , raiseFatalErrorOnManifestUpdateRequestFailure : boolean , retryParameters : shaka.extern.RetryParameters , segmentRelativeVttTiming : boolean } ;
4581
4814
  }
4582
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4815
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4583
4816
  declare namespace shaka.extern {
4584
4817
  type MediaQualityInfo = { audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string , contentType : string , frameRate : number | null , height : number | null , mimeType : string | null , pixelAspectRatio : string | null , width : number | null } ;
4585
4818
  }
4586
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4819
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4587
4820
  declare namespace shaka.extern {
4588
4821
  type MediaSourceConfiguration = { forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
4589
4822
  }
4590
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4823
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4591
4824
  declare namespace shaka.extern {
4592
4825
  type MetadataFrame = { data : ArrayBuffer | null | string | number , description : string , key : string } ;
4593
4826
  }
4594
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4827
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4595
4828
  declare namespace shaka.extern {
4596
4829
  type MetadataRawFrame = { data : Uint8Array | null , size : number , type : string } ;
4597
4830
  }
4598
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4831
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4599
4832
  declare namespace shaka.extern {
4600
4833
  type MssManifestConfiguration = { keySystemsBySystemId : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean } ;
4601
4834
  }
4602
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4835
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4603
4836
  declare namespace shaka.extern {
4604
4837
  type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , numberOfParallelDownloads : number , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
4605
4838
  }
4606
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4839
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4607
4840
  declare namespace shaka.extern {
4608
4841
  type PersistentSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string } ;
4609
4842
  }
4610
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4843
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4611
4844
  declare namespace shaka.extern {
4612
4845
  type PlayerConfiguration = { abr : shaka.extern.AbrConfiguration , abrFactory : shaka.extern.AbrManager.Factory , ads : shaka.extern.AdsConfiguration , autoShowText : shaka.config.AutoShowText , cmcd : shaka.extern.CmcdConfiguration , drm : shaka.extern.DrmConfiguration , lcevc : shaka.extern.LcevcConfiguration , manifest : shaka.extern.ManifestConfiguration , mediaSource : shaka.extern.MediaSourceConfiguration , offline : shaka.extern.OfflineConfiguration , playRangeEnd : number , playRangeStart : number , preferForcedSubs : boolean , preferredAudioChannelCount : number , preferredAudioCodecs : string [] , preferredAudioLabel : string , preferredAudioLanguage : string , preferredDecodingAttributes : string [] , preferredTextLanguage : string , preferredTextRole : string , preferredVariantRole : string , preferredVideoCodecs : string [] , preferredVideoHdrLevel : string , restrictions : shaka.extern.Restrictions , streaming : shaka.extern.StreamingConfiguration , textDisplayFactory : shaka.extern.TextDisplayer.Factory } ;
4613
4846
  }
4614
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4847
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4615
4848
  declare namespace shaka.extern {
4616
4849
  type ProducerReferenceTime = { programStartDate : Date | null , wallClockTime : number } ;
4617
4850
  }
4618
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4851
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4619
4852
  declare namespace shaka.extern {
4620
4853
  type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
4621
4854
  }
4622
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4855
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4623
4856
  declare namespace shaka.extern {
4624
4857
  type StateChange = { duration : number , state : string , timestamp : number } ;
4625
4858
  }
4626
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4859
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4627
4860
  declare namespace shaka.extern {
4628
4861
  type Stats = { bufferingTime : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , gapsJumped : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestTimeSeconds : number , maxSegmentDuration : number , pauseTime : number , playTime : number , stallsDetected : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
4629
4862
  }
4630
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4863
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4631
4864
  declare namespace shaka.extern {
4632
4865
  type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , dispatchAllEmsgBoxes : boolean , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , gapDetectionThreshold : number , gapJumpTimerTime : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , liveSync : boolean , liveSyncMaxLatency : number , liveSyncPlaybackRate : number , lowLatencyMode : boolean , maxDisabledTime : number , observeQualityChanges : boolean , parsePrftBox : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , segmentPrefetchLimit : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
4633
4866
  }
4634
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4867
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4635
4868
  declare namespace shaka.extern {
4636
4869
  type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
4637
4870
  }
4638
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4871
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4639
4872
  declare namespace shaka.extern {
4640
4873
  type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , sprite : boolean , startTime : number , uris : string [] , width : number } ;
4641
4874
  }
4642
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4875
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4643
4876
  declare namespace shaka.extern {
4644
4877
  type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
4645
4878
  }
4646
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4879
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4647
4880
  declare namespace shaka.extern {
4648
4881
  type Track = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | null , audioMimeType : string | null , audioRoles : string [] | null , audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string | null , forced : boolean , frameRate : number | null , hdr : string | null , height : number | null , id : number , kind : string | null , label : string | null , language : string , mimeType : string | null , originalAudioId : string | null , originalImageId : string | null , originalLanguage : string | null , originalTextId : string | null , originalVideoId : string | null , pixelAspectRatio : string | null , primary : boolean , roles : string [] , spatialAudio : boolean , tilesLayout : string | null , type : string , videoBandwidth : number | null , videoCodec : string | null , videoId : number | null , videoMimeType : string | null , width : number | null } ;
4649
4882
  }
4650
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4883
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4651
4884
  declare namespace shaka.extern {
4652
4885
  type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
4653
4886
  }
4654
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
4887
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
4655
4888
  declare namespace shaka.extern {
4656
4889
  type TrackList = shaka.extern.Track [] ;
4657
4890
  }
4658
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
4891
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4659
4892
  declare namespace shaka.extern {
4660
4893
  interface TextDisplayer extends shaka.util.IDestroyable {
4661
4894
  /**
@@ -4682,14 +4915,14 @@ declare namespace shaka.extern {
4682
4915
  setTextVisibility (on : boolean ) : any ;
4683
4916
  }
4684
4917
  }
4685
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
4918
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4686
4919
  declare namespace shaka.extern.TextDisplayer {
4687
4920
  /**
4688
4921
  * A factory for creating a TextDisplayer.
4689
4922
  */
4690
4923
  type Factory = ( ) => shaka.extern.TextDisplayer ;
4691
4924
  }
4692
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
4925
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4693
4926
  declare namespace shaka.extern {
4694
4927
  /**
4695
4928
  * An interface for plugins that parse text tracks.
@@ -4707,24 +4940,28 @@ declare namespace shaka.extern {
4707
4940
  * @param timeContext The time information that should be used to adjust the times values for each cue.
4708
4941
  */
4709
4942
  parseMedia (data : Uint8Array , timeContext : shaka.extern.TextParser.TimeContext ) : shaka.text.Cue [] ;
4943
+ /**
4944
+ * Notifies the manifest type.
4945
+ */
4946
+ setManifestType (manifestType : string ) : any ;
4710
4947
  /**
4711
4948
  * Notifies the stream if the manifest is in sequence mode or not.
4712
4949
  */
4713
4950
  setSequenceMode (sequenceMode : boolean ) : any ;
4714
4951
  }
4715
4952
  }
4716
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
4953
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4717
4954
  declare namespace shaka.extern.TextParser {
4718
4955
  /**
4719
4956
  * A collection of time offsets used to adjust text cue times.
4720
4957
  */
4721
4958
  type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number , vttOffset : number } ;
4722
4959
  }
4723
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
4960
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4724
4961
  declare namespace shaka.extern {
4725
4962
  type TextParserPlugin = ( ) => shaka.extern.TextParser ;
4726
4963
  }
4727
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
4964
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/transmuxer.js
4728
4965
  declare namespace shaka.extern {
4729
4966
  /**
4730
4967
  * An interface for transmuxer plugins.
@@ -4753,18 +4990,18 @@ declare namespace shaka.extern {
4753
4990
  transmux (data : ArrayBuffer | ArrayBufferView , stream : shaka.extern.Stream , reference : shaka.media.SegmentReference | null , duration : number , contentType : string ) : Promise < Uint8Array > ;
4754
4991
  }
4755
4992
  }
4756
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
4993
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/transmuxer.js
4757
4994
  declare namespace shaka.extern {
4758
4995
  type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
4759
4996
  }
4760
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/tippy.js
4997
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/tippy.js
4761
4998
  declare namespace ಠ_ಠ.clutz {
4762
4999
  /**
4763
5000
  * This is the subset of this method that we use in our demo code.
4764
5001
  */
4765
5002
  function tippy (element : Element , config : object ) : any ;
4766
5003
  }
4767
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
5004
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4768
5005
  declare namespace ಠ_ಠ.clutz {
4769
5006
  class WebKitMediaKeyError {
4770
5007
  private noStructuralTyping_WebKitMediaKeyError : any;
@@ -4778,7 +5015,7 @@ declare namespace ಠ_ಠ.clutz {
4778
5015
  static MEDIA_KEYERR_UNKNOWN : number ;
4779
5016
  }
4780
5017
  }
4781
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
5018
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4782
5019
  declare namespace ಠ_ಠ.clutz {
4783
5020
  interface WebKitMediaKeySession extends EventTarget {
4784
5021
  addEventListener (type : any , listener : any , useCapture : any ) : any ;
@@ -4790,7 +5027,7 @@ declare namespace ಠ_ಠ.clutz {
4790
5027
  update (message : Uint8Array | null ) : any ;
4791
5028
  }
4792
5029
  }
4793
- // Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
5030
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4794
5031
  declare namespace ಠ_ಠ.clutz {
4795
5032
  class WebKitMediaKeys {
4796
5033
  private noStructuralTyping_WebKitMediaKeys : any;