shaka-player 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release-please.yaml +21 -13
- package/.github/workflows/report-incremental-coverage.yaml +2 -2
- package/.github/workflows/shaka-bot-commands/command-help.sh +27 -0
- package/.github/workflows/shaka-bot-commands/command-test.sh +56 -0
- package/.github/workflows/shaka-bot-commands/lib.sh +83 -0
- package/.github/workflows/shaka-bot-commands/main.sh +51 -0
- package/.github/workflows/talk-to-shaka-bot.yaml +29 -0
- package/.github/workflows/update-issues.yaml +2 -1
- package/.github/workflows/validate-pr-title.yaml +3 -11
- package/CHANGELOG.md +13 -0
- package/dist/deps.js +1 -1
- package/dist/locales.js +32 -32
- package/dist/shaka-player.compiled.d.ts +297 -297
- package/dist/shaka-player.compiled.debug.d.ts +297 -297
- package/dist/shaka-player.compiled.debug.externs.js +1 -1
- package/dist/shaka-player.compiled.debug.js +221 -222
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +1 -1
- package/dist/shaka-player.compiled.js +947 -946
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +341 -341
- package/dist/shaka-player.ui.debug.d.ts +341 -341
- package/dist/shaka-player.ui.debug.externs.js +1 -1
- package/dist/shaka-player.ui.debug.js +282 -283
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +1 -1
- package/dist/shaka-player.ui.js +566 -564
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/namespace.js +2 -2
- package/externs/shaka/transmuxer.js +2 -1
- package/lib/hls/hls_parser.js +1 -0
- package/lib/media/media_source_engine.js +22 -2
- package/lib/mss/mss_parser.js +1 -0
- package/lib/player.js +1 -1
- package/lib/text/simple_text_displayer.js +0 -1
- package/lib/transmuxer/aac_transmuxer.js +1 -1
- package/lib/transmuxer/ac3_transmuxer.js +1 -0
- package/lib/transmuxer/ec3_transmuxer.js +1 -0
- package/lib/transmuxer/mp3_transmuxer.js +1 -0
- package/lib/transmuxer/ts_transmuxer.js +54 -71
- package/lib/util/mp4_generator.js +27 -20
- package/lib/util/ts_parser.js +73 -110
- package/package.json +1 -1
- package/test/hls/hls_parser_unit.js +12 -13
- package/test/media/media_source_engine_integration.js +2 -2
- package/test/mss/mss_player_integration.js +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
declare class GlobalError extends Error {}
|
|
8
8
|
|
|
9
9
|
//!! generated by clutz.
|
|
10
|
-
// Generated from /home/
|
|
10
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
449
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
478
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
496
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
649
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
686
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
723
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
763
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
815
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
827
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
838
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
849
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
858
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
872
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
889
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
896
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
910
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
921
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
942
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
953
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
954
954
|
declare namespace shaka.media {
|
|
955
955
|
/**
|
|
956
956
|
* Creates an InitSegmentReference, which provides the location to an
|
|
@@ -972,7 +972,7 @@ declare namespace shaka.media {
|
|
|
972
972
|
getStartByte ( ) : number ;
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
// Generated from /home/
|
|
975
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
998
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1005
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1031
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1168
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1172
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1260
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1276
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1280
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1375
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1391
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1395
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1409
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1416
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1429
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1436
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1505
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1530
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1543
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1547
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1551
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1555
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1570
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1588
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1606
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1613
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1684
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1717
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1732
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1742
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1752
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1762
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1772
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1788
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1798
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1808
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1823
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1833
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1843
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1853
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1863
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1873
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1883
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1893
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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/
|
|
1903
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1904
1904
|
declare namespace shaka.polyfill {
|
|
1905
1905
|
class VideoPlaybackQuality {
|
|
1906
1906
|
private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
|
|
@@ -1910,14 +1910,14 @@ declare namespace shaka.polyfill {
|
|
|
1910
1910
|
static install ( ) : any ;
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
|
-
// Generated from /home/
|
|
1913
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.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
1918
|
}
|
|
1919
1919
|
}
|
|
1920
|
-
// Generated from /home/
|
|
1920
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1921
1921
|
declare namespace shaka.text.Cue {
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Default text background color according to
|
|
@@ -1938,7 +1938,7 @@ declare namespace shaka.text.Cue {
|
|
|
1938
1938
|
bg_yellow = 'yellow' ,
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
|
-
// Generated from /home/
|
|
1941
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1942
1942
|
declare namespace shaka.text.Cue {
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Default text color according to
|
|
@@ -1959,14 +1959,14 @@ declare namespace shaka.text.Cue {
|
|
|
1959
1959
|
yellow = 'yellow' ,
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
1962
|
-
// Generated from /home/
|
|
1962
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1963
1963
|
declare namespace shaka.text.Cue {
|
|
1964
1964
|
enum direction {
|
|
1965
1965
|
HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
|
|
1966
1966
|
HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
|
|
1967
1967
|
}
|
|
1968
1968
|
}
|
|
1969
|
-
// Generated from /home/
|
|
1969
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1970
1970
|
declare namespace shaka.text.Cue {
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Vertical alignments of the cues within their extents.
|
|
@@ -1984,7 +1984,7 @@ declare namespace shaka.text.Cue {
|
|
|
1984
1984
|
CENTER = 'center' ,
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
|
-
// Generated from /home/
|
|
1987
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1988
1988
|
declare namespace shaka.text.Cue {
|
|
1989
1989
|
enum fontStyle {
|
|
1990
1990
|
ITALIC = 'italic' ,
|
|
@@ -1992,7 +1992,7 @@ declare namespace shaka.text.Cue {
|
|
|
1992
1992
|
OBLIQUE = 'oblique' ,
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
|
-
// Generated from /home/
|
|
1995
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
1996
1996
|
declare namespace shaka.text.Cue {
|
|
1997
1997
|
/**
|
|
1998
1998
|
* In CSS font weight can be a number, where 400 is normal and 700 is bold.
|
|
@@ -2007,7 +2007,7 @@ declare namespace shaka.text.Cue {
|
|
|
2007
2007
|
NORMAL = 400.0 ,
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
// Generated from /home/
|
|
2010
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2011
2011
|
declare namespace shaka.text.Cue {
|
|
2012
2012
|
enum lineAlign {
|
|
2013
2013
|
CENTER = 'center' ,
|
|
@@ -2015,14 +2015,14 @@ declare namespace shaka.text.Cue {
|
|
|
2015
2015
|
START = 'start' ,
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
-
// Generated from /home/
|
|
2018
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2019
2019
|
declare namespace shaka.text.Cue {
|
|
2020
2020
|
enum lineInterpretation {
|
|
2021
2021
|
LINE_NUMBER = 0.0 ,
|
|
2022
2022
|
PERCENTAGE = 1.0 ,
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
|
-
// Generated from /home/
|
|
2025
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2026
2026
|
declare namespace shaka.text.Cue {
|
|
2027
2027
|
enum positionAlign {
|
|
2028
2028
|
AUTO = 'auto' ,
|
|
@@ -2031,7 +2031,7 @@ declare namespace shaka.text.Cue {
|
|
|
2031
2031
|
RIGHT = 'line-right' ,
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
|
-
// Generated from /home/
|
|
2034
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2035
2035
|
declare namespace shaka.text.Cue {
|
|
2036
2036
|
enum textAlign {
|
|
2037
2037
|
CENTER = 'center' ,
|
|
@@ -2041,7 +2041,7 @@ declare namespace shaka.text.Cue {
|
|
|
2041
2041
|
START = 'start' ,
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
// Generated from /home/
|
|
2044
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2045
2045
|
declare namespace shaka.text.Cue {
|
|
2046
2046
|
enum textDecoration {
|
|
2047
2047
|
LINE_THROUGH = 'lineThrough' ,
|
|
@@ -2049,7 +2049,7 @@ declare namespace shaka.text.Cue {
|
|
|
2049
2049
|
UNDERLINE = 'underline' ,
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
|
-
// Generated from /home/
|
|
2052
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2053
2053
|
declare namespace shaka.text.Cue {
|
|
2054
2054
|
enum writingMode {
|
|
2055
2055
|
HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
|
|
@@ -2057,20 +2057,20 @@ declare namespace shaka.text.Cue {
|
|
|
2057
2057
|
VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
|
-
// Generated from /home/
|
|
2060
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2061
2061
|
declare namespace shaka.text {
|
|
2062
2062
|
class CueRegion {
|
|
2063
2063
|
private noStructuralTyping_shaka_text_CueRegion : any;
|
|
2064
2064
|
}
|
|
2065
2065
|
}
|
|
2066
|
-
// Generated from /home/
|
|
2066
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2067
2067
|
declare namespace shaka.text.CueRegion {
|
|
2068
2068
|
enum scrollMode {
|
|
2069
2069
|
NONE = '' ,
|
|
2070
2070
|
UP = 'up' ,
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
|
-
// Generated from /home/
|
|
2073
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2074
2074
|
declare namespace shaka.text.CueRegion {
|
|
2075
2075
|
enum units {
|
|
2076
2076
|
LINES = 2.0 ,
|
|
@@ -2078,7 +2078,7 @@ declare namespace shaka.text.CueRegion {
|
|
|
2078
2078
|
PX = 0.0 ,
|
|
2079
2079
|
}
|
|
2080
2080
|
}
|
|
2081
|
-
// Generated from /home/
|
|
2081
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2082
2082
|
declare namespace shaka.text {
|
|
2083
2083
|
/**
|
|
2084
2084
|
* LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
|
|
@@ -2090,7 +2090,7 @@ declare namespace shaka.text {
|
|
|
2090
2090
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
|
-
// Generated from /home/
|
|
2093
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2094
2094
|
declare namespace shaka.text {
|
|
2095
2095
|
class Mp4TtmlParser implements shaka.extern.TextParser {
|
|
2096
2096
|
private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
|
|
@@ -2099,7 +2099,7 @@ declare namespace shaka.text {
|
|
|
2099
2099
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2100
2100
|
}
|
|
2101
2101
|
}
|
|
2102
|
-
// Generated from /home/
|
|
2102
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2103
2103
|
declare namespace shaka.text {
|
|
2104
2104
|
class Mp4VttParser implements shaka.extern.TextParser {
|
|
2105
2105
|
private noStructuralTyping_shaka_text_Mp4VttParser : any;
|
|
@@ -2108,7 +2108,7 @@ declare namespace shaka.text {
|
|
|
2108
2108
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2109
2109
|
}
|
|
2110
2110
|
}
|
|
2111
|
-
// Generated from /home/
|
|
2111
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2112
2112
|
declare namespace shaka.text {
|
|
2113
2113
|
class SbvTextParser implements shaka.extern.TextParser {
|
|
2114
2114
|
private noStructuralTyping_shaka_text_SbvTextParser : any;
|
|
@@ -2117,7 +2117,7 @@ declare namespace shaka.text {
|
|
|
2117
2117
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
|
-
// Generated from /home/
|
|
2120
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2121
2121
|
declare namespace shaka.text {
|
|
2122
2122
|
/**
|
|
2123
2123
|
* A text displayer plugin using the browser's native VTTCue interface.
|
|
@@ -2135,7 +2135,7 @@ declare namespace shaka.text {
|
|
|
2135
2135
|
setTextVisibility (on : any ) : any ;
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
|
-
// Generated from /home/
|
|
2138
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2139
2139
|
declare namespace shaka.text {
|
|
2140
2140
|
class SrtTextParser implements shaka.extern.TextParser {
|
|
2141
2141
|
private noStructuralTyping_shaka_text_SrtTextParser : any;
|
|
@@ -2148,7 +2148,7 @@ declare namespace shaka.text {
|
|
|
2148
2148
|
static srt2webvtt (data : string ) : string ;
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
|
-
// Generated from /home/
|
|
2151
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2152
2152
|
declare namespace shaka.text {
|
|
2153
2153
|
/**
|
|
2154
2154
|
* Documentation: http://moodub.free.fr/video/ass-specs.doc
|
|
@@ -2161,7 +2161,7 @@ declare namespace shaka.text {
|
|
|
2161
2161
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2162
2162
|
}
|
|
2163
2163
|
}
|
|
2164
|
-
// Generated from /home/
|
|
2164
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2165
2165
|
declare namespace shaka.text {
|
|
2166
2166
|
class TextEngine implements shaka.util.IDestroyable {
|
|
2167
2167
|
private noStructuralTyping_shaka_text_TextEngine : any;
|
|
@@ -2172,7 +2172,7 @@ declare namespace shaka.text {
|
|
|
2172
2172
|
static unregisterParser (mimeType : string ) : any ;
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
|
-
// Generated from /home/
|
|
2175
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2176
2176
|
declare namespace shaka.text {
|
|
2177
2177
|
class TtmlTextParser implements shaka.extern.TextParser {
|
|
2178
2178
|
private noStructuralTyping_shaka_text_TtmlTextParser : any;
|
|
@@ -2181,7 +2181,7 @@ declare namespace shaka.text {
|
|
|
2181
2181
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
|
-
// Generated from /home/
|
|
2184
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2185
2185
|
declare namespace shaka.text {
|
|
2186
2186
|
/**
|
|
2187
2187
|
* The text displayer plugin for the Shaka Player UI. Can also be used directly
|
|
@@ -2201,7 +2201,7 @@ declare namespace shaka.text {
|
|
|
2201
2201
|
setTextVisibility (on : any ) : any ;
|
|
2202
2202
|
}
|
|
2203
2203
|
}
|
|
2204
|
-
// Generated from /home/
|
|
2204
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2205
2205
|
declare namespace shaka.text {
|
|
2206
2206
|
class VttTextParser implements shaka.extern.TextParser {
|
|
2207
2207
|
private noStructuralTyping_shaka_text_VttTextParser : any;
|
|
@@ -2210,13 +2210,13 @@ declare namespace shaka.text {
|
|
|
2210
2210
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2211
2211
|
}
|
|
2212
2212
|
}
|
|
2213
|
-
// Generated from /home/
|
|
2213
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2214
2214
|
declare namespace shaka.text {
|
|
2215
2215
|
class WebVttGenerator {
|
|
2216
2216
|
private noStructuralTyping_shaka_text_WebVttGenerator : any;
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
|
-
// Generated from /home/
|
|
2219
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2220
2220
|
declare namespace shaka.transmuxer {
|
|
2221
2221
|
class AacTransmuxer implements shaka.extern.Transmuxer {
|
|
2222
2222
|
private noStructuralTyping_shaka_transmuxer_AacTransmuxer : any;
|
|
@@ -2231,7 +2231,7 @@ declare namespace shaka.transmuxer {
|
|
|
2231
2231
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
// Generated from /home/
|
|
2234
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2235
2235
|
declare namespace shaka.transmuxer {
|
|
2236
2236
|
class Ac3Transmuxer implements shaka.extern.Transmuxer {
|
|
2237
2237
|
private noStructuralTyping_shaka_transmuxer_Ac3Transmuxer : any;
|
|
@@ -2246,7 +2246,7 @@ declare namespace shaka.transmuxer {
|
|
|
2246
2246
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
|
-
// Generated from /home/
|
|
2249
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2250
2250
|
declare namespace shaka.transmuxer {
|
|
2251
2251
|
class Ec3Transmuxer implements shaka.extern.Transmuxer {
|
|
2252
2252
|
private noStructuralTyping_shaka_transmuxer_Ec3Transmuxer : any;
|
|
@@ -2261,7 +2261,7 @@ declare namespace shaka.transmuxer {
|
|
|
2261
2261
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
|
-
// Generated from /home/
|
|
2264
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2265
2265
|
declare namespace shaka.transmuxer {
|
|
2266
2266
|
class Mp3Transmuxer implements shaka.extern.Transmuxer {
|
|
2267
2267
|
private noStructuralTyping_shaka_transmuxer_Mp3Transmuxer : any;
|
|
@@ -2276,7 +2276,7 @@ declare namespace shaka.transmuxer {
|
|
|
2276
2276
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2277
2277
|
}
|
|
2278
2278
|
}
|
|
2279
|
-
// Generated from /home/
|
|
2279
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2280
2280
|
declare namespace shaka.transmuxer {
|
|
2281
2281
|
class MpegTsTransmuxer implements shaka.extern.Transmuxer {
|
|
2282
2282
|
private noStructuralTyping_shaka_transmuxer_MpegTsTransmuxer : any;
|
|
@@ -2291,7 +2291,7 @@ declare namespace shaka.transmuxer {
|
|
|
2291
2291
|
transmux (data : any ) : any ;
|
|
2292
2292
|
}
|
|
2293
2293
|
}
|
|
2294
|
-
// Generated from /home/
|
|
2294
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2295
2295
|
declare namespace shaka.transmuxer {
|
|
2296
2296
|
class MssTransmuxer implements shaka.extern.Transmuxer {
|
|
2297
2297
|
private noStructuralTyping_shaka_transmuxer_MssTransmuxer : any;
|
|
@@ -2306,7 +2306,7 @@ declare namespace shaka.transmuxer {
|
|
|
2306
2306
|
transmux (data : any , stream : any , reference : any ) : any ;
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
|
-
// Generated from /home/
|
|
2309
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2310
2310
|
declare namespace shaka.transmuxer {
|
|
2311
2311
|
class MuxjsTransmuxer implements shaka.extern.Transmuxer {
|
|
2312
2312
|
private noStructuralTyping_shaka_transmuxer_MuxjsTransmuxer : any;
|
|
@@ -2321,7 +2321,7 @@ declare namespace shaka.transmuxer {
|
|
|
2321
2321
|
transmux (data : any ) : any ;
|
|
2322
2322
|
}
|
|
2323
2323
|
}
|
|
2324
|
-
// Generated from /home/
|
|
2324
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2325
2325
|
declare namespace shaka.transmuxer {
|
|
2326
2326
|
class TransmuxerEngine implements shaka.util.IDestroyable {
|
|
2327
2327
|
private noStructuralTyping_shaka_transmuxer_TransmuxerEngine : any;
|
|
@@ -2331,7 +2331,7 @@ declare namespace shaka.transmuxer {
|
|
|
2331
2331
|
static unregisterTransmuxer (mimeType : string , priority : number ) : any ;
|
|
2332
2332
|
}
|
|
2333
2333
|
}
|
|
2334
|
-
// Generated from /home/
|
|
2334
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2335
2335
|
declare namespace shaka.transmuxer.TransmuxerEngine {
|
|
2336
2336
|
/**
|
|
2337
2337
|
* Priority level for transmuxer plugins.
|
|
@@ -2350,7 +2350,7 @@ declare namespace shaka.transmuxer.TransmuxerEngine {
|
|
|
2350
2350
|
PREFERRED_SECONDARY = 2.0 ,
|
|
2351
2351
|
}
|
|
2352
2352
|
}
|
|
2353
|
-
// Generated from /home/
|
|
2353
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2354
2354
|
declare namespace shaka.transmuxer {
|
|
2355
2355
|
class TsTransmuxer implements shaka.extern.Transmuxer {
|
|
2356
2356
|
private noStructuralTyping_shaka_transmuxer_TsTransmuxer : any;
|
|
@@ -2362,10 +2362,10 @@ declare namespace shaka.transmuxer {
|
|
|
2362
2362
|
* Check if the mime type and the content type is supported.
|
|
2363
2363
|
*/
|
|
2364
2364
|
isSupported (mimeType : string , contentType ? : string ) : boolean ;
|
|
2365
|
-
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2365
|
+
transmux (data : any , stream : any , reference : any , duration : any , contentType : any ) : any ;
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
|
-
// Generated from /home/
|
|
2368
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2369
2369
|
declare namespace shaka.util {
|
|
2370
2370
|
/**
|
|
2371
2371
|
* A utility to wrap abortable operations. Note that these are not cancelable.
|
|
@@ -2391,7 +2391,7 @@ declare namespace shaka.util {
|
|
|
2391
2391
|
static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
|
|
2392
2392
|
}
|
|
2393
2393
|
}
|
|
2394
|
-
// Generated from /home/
|
|
2394
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2395
2395
|
declare namespace shaka.util {
|
|
2396
2396
|
class BufferUtils {
|
|
2397
2397
|
private noStructuralTyping_shaka_util_BufferUtils : any;
|
|
@@ -2421,7 +2421,7 @@ declare namespace shaka.util {
|
|
|
2421
2421
|
static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
|
|
2422
2422
|
}
|
|
2423
2423
|
}
|
|
2424
|
-
// Generated from /home/
|
|
2424
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2425
2425
|
declare namespace shaka.util.CmcdManager {
|
|
2426
2426
|
enum StreamingFormat {
|
|
2427
2427
|
DASH = 'd' ,
|
|
@@ -2430,7 +2430,7 @@ declare namespace shaka.util.CmcdManager {
|
|
|
2430
2430
|
SMOOTH = 's' ,
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
// Generated from /home/
|
|
2433
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2434
2434
|
declare namespace shaka.util {
|
|
2435
2435
|
class ConfigUtils {
|
|
2436
2436
|
private noStructuralTyping_shaka_util_ConfigUtils : any;
|
|
@@ -2443,7 +2443,7 @@ declare namespace shaka.util {
|
|
|
2443
2443
|
static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
|
|
2444
2444
|
}
|
|
2445
2445
|
}
|
|
2446
|
-
// Generated from /home/
|
|
2446
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2447
2447
|
declare namespace shaka.util {
|
|
2448
2448
|
class DataViewReader {
|
|
2449
2449
|
private noStructuralTyping_shaka_util_DataViewReader : any;
|
|
@@ -2504,7 +2504,7 @@ declare namespace shaka.util {
|
|
|
2504
2504
|
skip (bytes : number ) : any ;
|
|
2505
2505
|
}
|
|
2506
2506
|
}
|
|
2507
|
-
// Generated from /home/
|
|
2507
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2508
2508
|
declare namespace shaka.util.DataViewReader {
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Endianness.
|
|
@@ -2517,7 +2517,7 @@ declare namespace shaka.util.DataViewReader {
|
|
|
2517
2517
|
LITTLE_ENDIAN = 1.0 ,
|
|
2518
2518
|
}
|
|
2519
2519
|
}
|
|
2520
|
-
// Generated from /home/
|
|
2520
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2521
2521
|
declare namespace shaka.util {
|
|
2522
2522
|
class Dom {
|
|
2523
2523
|
private noStructuralTyping_shaka_util_Dom : any;
|
|
@@ -2527,7 +2527,7 @@ declare namespace shaka.util {
|
|
|
2527
2527
|
static removeAllChildren (element : Element ) : any ;
|
|
2528
2528
|
}
|
|
2529
2529
|
}
|
|
2530
|
-
// Generated from /home/
|
|
2530
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2531
2531
|
declare namespace shaka.util {
|
|
2532
2532
|
class Error extends GlobalError implements shaka.extern.Error {
|
|
2533
2533
|
private noStructuralTyping_shaka_util_Error : any;
|
|
@@ -2539,7 +2539,7 @@ declare namespace shaka.util {
|
|
|
2539
2539
|
severity : any ;
|
|
2540
2540
|
}
|
|
2541
2541
|
}
|
|
2542
|
-
// Generated from /home/
|
|
2542
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2543
2543
|
declare namespace shaka.util.Error {
|
|
2544
2544
|
enum Category {
|
|
2545
2545
|
ADS = 10.0 ,
|
|
@@ -2554,7 +2554,7 @@ declare namespace shaka.util.Error {
|
|
|
2554
2554
|
TEXT = 2.0 ,
|
|
2555
2555
|
}
|
|
2556
2556
|
}
|
|
2557
|
-
// Generated from /home/
|
|
2557
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2558
2558
|
declare namespace shaka.util.Error {
|
|
2559
2559
|
enum Code {
|
|
2560
2560
|
ALREADY_CASTING = 8002.0 ,
|
|
@@ -2697,14 +2697,14 @@ declare namespace shaka.util.Error {
|
|
|
2697
2697
|
WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
// Generated from /home/
|
|
2700
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2701
2701
|
declare namespace shaka.util.Error {
|
|
2702
2702
|
enum Severity {
|
|
2703
2703
|
CRITICAL = 2.0 ,
|
|
2704
2704
|
RECOVERABLE = 1.0 ,
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
|
-
// Generated from /home/
|
|
2707
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2708
2708
|
declare namespace shaka.util {
|
|
2709
2709
|
class EventManager implements shaka.util.IReleasable {
|
|
2710
2710
|
private noStructuralTyping_shaka_util_EventManager : any;
|
|
@@ -2742,18 +2742,18 @@ declare namespace shaka.util {
|
|
|
2742
2742
|
unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
|
|
2743
2743
|
}
|
|
2744
2744
|
}
|
|
2745
|
-
// Generated from /home/
|
|
2745
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2746
2746
|
declare namespace shaka.util.EventManager {
|
|
2747
2747
|
type ListenerType = (a : Event ) => any ;
|
|
2748
2748
|
}
|
|
2749
|
-
// Generated from /home/
|
|
2749
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2750
2750
|
declare namespace shaka.util {
|
|
2751
2751
|
class ExpGolomb {
|
|
2752
2752
|
private noStructuralTyping_shaka_util_ExpGolomb : any;
|
|
2753
2753
|
constructor (data : Uint8Array ) ;
|
|
2754
2754
|
}
|
|
2755
2755
|
}
|
|
2756
|
-
// Generated from /home/
|
|
2756
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2757
2757
|
declare namespace shaka.util {
|
|
2758
2758
|
class FairPlayUtils {
|
|
2759
2759
|
private noStructuralTyping_shaka_util_FairPlayUtils : any;
|
|
@@ -2817,14 +2817,14 @@ declare namespace shaka.util {
|
|
|
2817
2817
|
static verimatrixInitDataTransform (initData : Uint8Array , initDataType : string , drmInfo : shaka.extern.DrmInfo | null ) : any ;
|
|
2818
2818
|
}
|
|
2819
2819
|
}
|
|
2820
|
-
// Generated from /home/
|
|
2820
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2821
2821
|
declare namespace shaka.util {
|
|
2822
2822
|
class FakeEvent extends Event {
|
|
2823
2823
|
private noStructuralTyping_shaka_util_FakeEvent : any;
|
|
2824
2824
|
constructor (type : string , dict ? : Map < string , object | null > | null ) ;
|
|
2825
2825
|
}
|
|
2826
2826
|
}
|
|
2827
|
-
// Generated from /home/
|
|
2827
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2828
2828
|
declare namespace shaka.util {
|
|
2829
2829
|
class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
|
|
2830
2830
|
private noStructuralTyping_shaka_util_FakeEventTarget : any;
|
|
@@ -2856,14 +2856,14 @@ declare namespace shaka.util {
|
|
|
2856
2856
|
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
|
|
2857
2857
|
}
|
|
2858
2858
|
}
|
|
2859
|
-
// Generated from /home/
|
|
2859
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2860
2860
|
declare namespace shaka.util.FakeEventTarget {
|
|
2861
2861
|
/**
|
|
2862
2862
|
* These are the listener types defined in the closure extern for EventTarget.
|
|
2863
2863
|
*/
|
|
2864
2864
|
type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
|
|
2865
2865
|
}
|
|
2866
|
-
// Generated from /home/
|
|
2866
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2867
2867
|
declare namespace shaka.util {
|
|
2868
2868
|
/**
|
|
2869
2869
|
* An interface to standardize how objects are destroyed.
|
|
@@ -2877,7 +2877,7 @@ declare namespace shaka.util {
|
|
|
2877
2877
|
destroy ( ) : Promise < any > ;
|
|
2878
2878
|
}
|
|
2879
2879
|
}
|
|
2880
|
-
// Generated from /home/
|
|
2880
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2881
2881
|
declare namespace shaka.util {
|
|
2882
2882
|
/**
|
|
2883
2883
|
* An interface to standardize how objects release internal references
|
|
@@ -2891,7 +2891,7 @@ declare namespace shaka.util {
|
|
|
2891
2891
|
release ( ) : any ;
|
|
2892
2892
|
}
|
|
2893
2893
|
}
|
|
2894
|
-
// Generated from /home/
|
|
2894
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2895
2895
|
declare namespace shaka.util {
|
|
2896
2896
|
class Id3Utils {
|
|
2897
2897
|
private noStructuralTyping_shaka_util_Id3Utils : any;
|
|
@@ -2909,7 +2909,7 @@ declare namespace shaka.util {
|
|
|
2909
2909
|
static getID3Frames (id3Data : Uint8Array | null ) : shaka.extern.MetadataFrame [] ;
|
|
2910
2910
|
}
|
|
2911
2911
|
}
|
|
2912
|
-
// Generated from /home/
|
|
2912
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
2913
2913
|
declare namespace shaka.util {
|
|
2914
2914
|
class LanguageUtils {
|
|
2915
2915
|
private noStructuralTyping_shaka_util_LanguageUtils : any;
|
|
@@ -3023,7 +3023,7 @@ declare namespace shaka.util {
|
|
|
3023
3023
|
static relatedness (target : string , candidate : string ) : number ;
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
3026
|
-
// Generated from /home/
|
|
3026
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3027
3027
|
declare namespace shaka.util {
|
|
3028
3028
|
class MimeUtils {
|
|
3029
3029
|
private noStructuralTyping_shaka_util_MimeUtils : any;
|
|
@@ -3039,7 +3039,7 @@ declare namespace shaka.util {
|
|
|
3039
3039
|
static getFullTypeWithAllCodecs (mimeType : string , codecs ? : string ) : string ;
|
|
3040
3040
|
}
|
|
3041
3041
|
}
|
|
3042
|
-
// Generated from /home/
|
|
3042
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3043
3043
|
declare namespace shaka.util {
|
|
3044
3044
|
class Mp4Parser {
|
|
3045
3045
|
private noStructuralTyping_shaka_util_Mp4Parser : any;
|
|
@@ -3106,11 +3106,11 @@ declare namespace shaka.util {
|
|
|
3106
3106
|
static visualSampleEntry (box : shaka.extern.ParsedBox ) : any ;
|
|
3107
3107
|
}
|
|
3108
3108
|
}
|
|
3109
|
-
// Generated from /home/
|
|
3109
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3110
3110
|
declare namespace shaka.util.Mp4Parser {
|
|
3111
3111
|
type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
|
|
3112
3112
|
}
|
|
3113
|
-
// Generated from /home/
|
|
3113
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3114
3114
|
declare namespace shaka.util {
|
|
3115
3115
|
/**
|
|
3116
3116
|
* A utility to combine streams across periods.
|
|
@@ -3124,7 +3124,7 @@ declare namespace shaka.util {
|
|
|
3124
3124
|
release ( ) : any ;
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
3127
|
-
// Generated from /home/
|
|
3127
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3128
3128
|
declare namespace shaka.util {
|
|
3129
3129
|
class PlayerConfiguration {
|
|
3130
3130
|
private noStructuralTyping_shaka_util_PlayerConfiguration : any;
|
|
@@ -3136,14 +3136,14 @@ declare namespace shaka.util {
|
|
|
3136
3136
|
static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
|
|
3137
3137
|
}
|
|
3138
3138
|
}
|
|
3139
|
-
// Generated from /home/
|
|
3139
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3140
3140
|
declare namespace shaka.util {
|
|
3141
3141
|
class StreamUtils {
|
|
3142
3142
|
private noStructuralTyping_shaka_util_StreamUtils : any;
|
|
3143
3143
|
static meetsRestrictions (variant : shaka.extern.Variant , restrictions : shaka.extern.Restrictions , maxHwRes : { height : number , width : number } ) : boolean ;
|
|
3144
3144
|
}
|
|
3145
3145
|
}
|
|
3146
|
-
// Generated from /home/
|
|
3146
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3147
3147
|
declare namespace shaka.util {
|
|
3148
3148
|
class StringUtils {
|
|
3149
3149
|
private noStructuralTyping_shaka_util_StringUtils : any;
|
|
@@ -3177,7 +3177,7 @@ declare namespace shaka.util {
|
|
|
3177
3177
|
static toUTF8 (str : string ) : ArrayBuffer ;
|
|
3178
3178
|
}
|
|
3179
3179
|
}
|
|
3180
|
-
// Generated from /home/
|
|
3180
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3181
3181
|
declare namespace shaka.util {
|
|
3182
3182
|
/**
|
|
3183
3183
|
* A timer allows a single function to be executed at a later time or at
|
|
@@ -3206,7 +3206,7 @@ declare namespace shaka.util {
|
|
|
3206
3206
|
tickNow ( ) : shaka.util.Timer ;
|
|
3207
3207
|
}
|
|
3208
3208
|
}
|
|
3209
|
-
// Generated from /home/
|
|
3209
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3210
3210
|
declare namespace shaka.util {
|
|
3211
3211
|
class TsParser {
|
|
3212
3212
|
private noStructuralTyping_shaka_util_TsParser : any;
|
|
@@ -3263,7 +3263,7 @@ declare namespace shaka.util {
|
|
|
3263
3263
|
static syncOffset (data : Uint8Array | null ) : number ;
|
|
3264
3264
|
}
|
|
3265
3265
|
}
|
|
3266
|
-
// Generated from /home/
|
|
3266
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.externs.js
|
|
3267
3267
|
declare namespace shaka.util {
|
|
3268
3268
|
class Uint8ArrayUtils {
|
|
3269
3269
|
private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
|
|
@@ -3297,7 +3297,7 @@ declare namespace shaka.util {
|
|
|
3297
3297
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
3298
3298
|
}
|
|
3299
3299
|
}
|
|
3300
|
-
// Generated from /home/
|
|
3300
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/airplay.js
|
|
3301
3301
|
declare namespace ಠ_ಠ.clutz {
|
|
3302
3302
|
class AirPlayEvent extends Event {
|
|
3303
3303
|
private noStructuralTyping_AirPlayEvent : any;
|
|
@@ -3305,7 +3305,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3305
3305
|
availability : String | null ;
|
|
3306
3306
|
}
|
|
3307
3307
|
}
|
|
3308
|
-
// Generated from /home/
|
|
3308
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/awesomplete.js
|
|
3309
3309
|
declare namespace ಠ_ಠ.clutz {
|
|
3310
3310
|
class Awesomplete {
|
|
3311
3311
|
private noStructuralTyping_Awesomplete : any;
|
|
@@ -3315,18 +3315,18 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3315
3315
|
evaluate ( ) : any ;
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
|
-
// Generated from /home/
|
|
3318
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3319
3319
|
declare namespace ಠ_ಠ.clutz {
|
|
3320
3320
|
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
3321
3321
|
}
|
|
3322
|
-
// Generated from /home/
|
|
3322
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3323
3323
|
declare namespace cast.receiver {
|
|
3324
3324
|
class CastChannel {
|
|
3325
3325
|
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
3326
3326
|
send (message : any ) : any ;
|
|
3327
3327
|
}
|
|
3328
3328
|
}
|
|
3329
|
-
// Generated from /home/
|
|
3329
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3330
3330
|
declare namespace cast.receiver {
|
|
3331
3331
|
class CastMessageBus {
|
|
3332
3332
|
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
@@ -3335,7 +3335,7 @@ declare namespace cast.receiver {
|
|
|
3335
3335
|
onMessage : Function | null ;
|
|
3336
3336
|
}
|
|
3337
3337
|
}
|
|
3338
|
-
// Generated from /home/
|
|
3338
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3339
3339
|
declare namespace cast.receiver.CastMessageBus {
|
|
3340
3340
|
class Event {
|
|
3341
3341
|
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
@@ -3343,7 +3343,7 @@ declare namespace cast.receiver.CastMessageBus {
|
|
|
3343
3343
|
senderId : string ;
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
|
3346
|
-
// Generated from /home/
|
|
3346
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3347
3347
|
declare namespace cast.receiver {
|
|
3348
3348
|
class CastReceiverManager {
|
|
3349
3349
|
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
@@ -3361,7 +3361,7 @@ declare namespace cast.receiver {
|
|
|
3361
3361
|
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
3362
3362
|
}
|
|
3363
3363
|
}
|
|
3364
|
-
// Generated from /home/
|
|
3364
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3365
3365
|
declare namespace cast.receiver.media {
|
|
3366
3366
|
enum MetadataType {
|
|
3367
3367
|
GENERIC = 0.0 ,
|
|
@@ -3371,7 +3371,7 @@ declare namespace cast.receiver.media {
|
|
|
3371
3371
|
TV_SHOW = 2.0 ,
|
|
3372
3372
|
}
|
|
3373
3373
|
}
|
|
3374
|
-
// Generated from /home/
|
|
3374
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3375
3375
|
declare namespace cast.receiver.system {
|
|
3376
3376
|
class SystemVolumeData {
|
|
3377
3377
|
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
@@ -3379,14 +3379,14 @@ declare namespace cast.receiver.system {
|
|
|
3379
3379
|
muted : boolean ;
|
|
3380
3380
|
}
|
|
3381
3381
|
}
|
|
3382
|
-
// Generated from /home/
|
|
3382
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3383
3383
|
declare namespace chrome.cast {
|
|
3384
3384
|
class ApiConfig {
|
|
3385
3385
|
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
3386
3386
|
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
|
-
// Generated from /home/
|
|
3389
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3390
3390
|
declare namespace chrome.cast {
|
|
3391
3391
|
class Error {
|
|
3392
3392
|
private noStructuralTyping_chrome_cast_Error : any;
|
|
@@ -3396,14 +3396,14 @@ declare namespace chrome.cast {
|
|
|
3396
3396
|
details : object | null ;
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
|
-
// Generated from /home/
|
|
3399
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3400
3400
|
declare namespace chrome.cast {
|
|
3401
3401
|
class Receiver {
|
|
3402
3402
|
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
3403
3403
|
friendlyName : string ;
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
3406
|
-
// Generated from /home/
|
|
3406
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3407
3407
|
declare namespace chrome.cast {
|
|
3408
3408
|
class Session {
|
|
3409
3409
|
private noStructuralTyping_chrome_cast_Session : any;
|
|
@@ -3419,32 +3419,32 @@ declare namespace chrome.cast {
|
|
|
3419
3419
|
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
|
-
// Generated from /home/
|
|
3422
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3423
3423
|
declare namespace chrome.cast {
|
|
3424
3424
|
class SessionRequest {
|
|
3425
3425
|
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
3426
3426
|
constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
|
|
3427
3427
|
}
|
|
3428
3428
|
}
|
|
3429
|
-
// Generated from /home/
|
|
3429
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3430
3430
|
declare namespace chrome.cast.SessionStatus {
|
|
3431
3431
|
let STOPPED : string ;
|
|
3432
3432
|
}
|
|
3433
|
-
// Generated from /home/
|
|
3433
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3434
3434
|
declare namespace chrome.cast {
|
|
3435
3435
|
let isAvailable : boolean ;
|
|
3436
3436
|
}
|
|
3437
|
-
// Generated from /home/
|
|
3437
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/cmcd.js
|
|
3438
3438
|
declare namespace ಠ_ಠ.clutz {
|
|
3439
3439
|
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
3440
|
}
|
|
3441
|
-
// Generated from /home/
|
|
3441
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3442
3442
|
declare namespace google.ima.AdErrorEvent {
|
|
3443
3443
|
enum Type {
|
|
3444
3444
|
AD_ERROR = 'AD_ERROR' ,
|
|
3445
3445
|
}
|
|
3446
3446
|
}
|
|
3447
|
-
// Generated from /home/
|
|
3447
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3448
3448
|
declare namespace google.ima.AdEvent {
|
|
3449
3449
|
enum Type {
|
|
3450
3450
|
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
@@ -3476,7 +3476,7 @@ declare namespace google.ima.AdEvent {
|
|
|
3476
3476
|
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
3477
3477
|
}
|
|
3478
3478
|
}
|
|
3479
|
-
// Generated from /home/
|
|
3479
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3480
3480
|
declare namespace google.ima {
|
|
3481
3481
|
class AdsLoader implements EventTarget {
|
|
3482
3482
|
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
@@ -3490,7 +3490,7 @@ declare namespace google.ima {
|
|
|
3490
3490
|
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
3491
3491
|
}
|
|
3492
3492
|
}
|
|
3493
|
-
// Generated from /home/
|
|
3493
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3494
3494
|
declare namespace google.ima {
|
|
3495
3495
|
class AdsManager implements EventTarget {
|
|
3496
3496
|
private noStructuralTyping_google_ima_AdsManager : any;
|
|
@@ -3513,21 +3513,21 @@ declare namespace google.ima {
|
|
|
3513
3513
|
updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
3514
3514
|
}
|
|
3515
3515
|
}
|
|
3516
|
-
// Generated from /home/
|
|
3516
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3517
3517
|
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
3518
3518
|
enum Type {
|
|
3519
3519
|
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
3520
3520
|
}
|
|
3521
3521
|
}
|
|
3522
|
-
// Generated from /home/
|
|
3522
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3523
3523
|
declare namespace google.ima {
|
|
3524
3524
|
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
3525
|
}
|
|
3526
|
-
// Generated from /home/
|
|
3526
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3527
3527
|
declare namespace google.ima {
|
|
3528
3528
|
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
3529
3529
|
}
|
|
3530
|
-
// Generated from /home/
|
|
3530
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3531
3531
|
declare namespace google.ima.ImaSdkSettings {
|
|
3532
3532
|
enum VpaidMode {
|
|
3533
3533
|
DISABLED = 0.0 ,
|
|
@@ -3535,14 +3535,14 @@ declare namespace google.ima.ImaSdkSettings {
|
|
|
3535
3535
|
INSECURE = 2.0 ,
|
|
3536
3536
|
}
|
|
3537
3537
|
}
|
|
3538
|
-
// Generated from /home/
|
|
3538
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3539
3539
|
declare namespace google.ima {
|
|
3540
3540
|
enum ViewMode {
|
|
3541
3541
|
FULLSCREEN = 'FULLSCREEN' ,
|
|
3542
3542
|
NORMAL = 'NORMAL' ,
|
|
3543
3543
|
}
|
|
3544
3544
|
}
|
|
3545
|
-
// Generated from /home/
|
|
3545
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3546
3546
|
declare namespace google.ima.dai.api {
|
|
3547
3547
|
enum OmidAccessMode {
|
|
3548
3548
|
DOMAIN = 'domain' ,
|
|
@@ -3550,7 +3550,7 @@ declare namespace google.ima.dai.api {
|
|
|
3550
3550
|
LIMITED = 'limited' ,
|
|
3551
3551
|
}
|
|
3552
3552
|
}
|
|
3553
|
-
// Generated from /home/
|
|
3553
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3554
3554
|
declare namespace google.ima.dai.api {
|
|
3555
3555
|
enum OmidVerificationVendor {
|
|
3556
3556
|
COMSCORE = 7.0 ,
|
|
@@ -3564,7 +3564,7 @@ declare namespace google.ima.dai.api {
|
|
|
3564
3564
|
PIXELATE = 5.0 ,
|
|
3565
3565
|
}
|
|
3566
3566
|
}
|
|
3567
|
-
// Generated from /home/
|
|
3567
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3568
3568
|
declare namespace google.ima.dai.api.StreamEvent {
|
|
3569
3569
|
enum Type {
|
|
3570
3570
|
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
@@ -3587,7 +3587,7 @@ declare namespace google.ima.dai.api.StreamEvent {
|
|
|
3587
3587
|
VIDEO_CLICKED = 'videoClicked' ,
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
|
-
// Generated from /home/
|
|
3590
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3591
3591
|
declare namespace google.ima.dai.api {
|
|
3592
3592
|
class StreamManager implements EventTarget {
|
|
3593
3593
|
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
@@ -3606,18 +3606,18 @@ declare namespace google.ima.dai.api {
|
|
|
3606
3606
|
streamTimeForContentTime (contentTime : number ) : any ;
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
|
-
// Generated from /home/
|
|
3609
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3610
3610
|
declare namespace google.ima.dai.api.StreamRequest {
|
|
3611
3611
|
enum StreamFormat {
|
|
3612
3612
|
DASH = 'dash' ,
|
|
3613
3613
|
HLS = 'hls' ,
|
|
3614
3614
|
}
|
|
3615
3615
|
}
|
|
3616
|
-
// Generated from /home/
|
|
3616
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3617
3617
|
declare namespace google.ima {
|
|
3618
3618
|
let settings : google.ima.ImaSdkSettings ;
|
|
3619
3619
|
}
|
|
3620
|
-
// Generated from /home/
|
|
3620
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
3621
3621
|
declare namespace ಠ_ಠ.clutz {
|
|
3622
3622
|
/**
|
|
3623
3623
|
* A JSON Web Key.
|
|
@@ -3642,7 +3642,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3642
3642
|
kty : string ;
|
|
3643
3643
|
}
|
|
3644
3644
|
}
|
|
3645
|
-
// Generated from /home/
|
|
3645
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
3646
3646
|
declare namespace ಠ_ಠ.clutz {
|
|
3647
3647
|
/**
|
|
3648
3648
|
* A JSON Web Key set.
|
|
@@ -3652,7 +3652,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3652
3652
|
keys : ( JWK | null ) [] | null ;
|
|
3653
3653
|
}
|
|
3654
3654
|
}
|
|
3655
|
-
// Generated from /home/
|
|
3655
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3656
3656
|
declare namespace LcevcDil {
|
|
3657
3657
|
/**
|
|
3658
3658
|
* LCEVC DIL constructor
|
|
@@ -3685,28 +3685,28 @@ declare namespace LcevcDil {
|
|
|
3685
3685
|
setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
|
|
3686
3686
|
}
|
|
3687
3687
|
}
|
|
3688
|
-
// Generated from /home/
|
|
3688
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3689
3689
|
declare namespace LcevcDil.SupportObject {
|
|
3690
3690
|
/**
|
|
3691
3691
|
* LCEVC Support CheckList Error if any.
|
|
3692
3692
|
*/
|
|
3693
3693
|
let SupportError : string ;
|
|
3694
3694
|
}
|
|
3695
|
-
// Generated from /home/
|
|
3695
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3696
3696
|
declare namespace LcevcDil.SupportObject {
|
|
3697
3697
|
/**
|
|
3698
3698
|
* LCEVC Support Checklist Result
|
|
3699
3699
|
*/
|
|
3700
3700
|
let SupportStatus : boolean ;
|
|
3701
3701
|
}
|
|
3702
|
-
// Generated from /home/
|
|
3702
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3703
3703
|
declare namespace LcevcDil.SupportObject {
|
|
3704
3704
|
/**
|
|
3705
3705
|
* Check if canvas has WebGL support
|
|
3706
3706
|
*/
|
|
3707
3707
|
function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
|
|
3708
3708
|
}
|
|
3709
|
-
// Generated from /home/
|
|
3709
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mdl.js
|
|
3710
3710
|
declare namespace ಠ_ಠ.clutz {
|
|
3711
3711
|
class MaterialLayout {
|
|
3712
3712
|
private noStructuralTyping_MaterialLayout : any;
|
|
@@ -3714,7 +3714,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3714
3714
|
toggleDrawer ( ) : any ;
|
|
3715
3715
|
}
|
|
3716
3716
|
}
|
|
3717
|
-
// Generated from /home/
|
|
3717
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
3718
3718
|
declare namespace ಠ_ಠ.clutz {
|
|
3719
3719
|
class MediaMetadata {
|
|
3720
3720
|
private noStructuralTyping_MediaMetadata : any;
|
|
@@ -3724,14 +3724,14 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3724
3724
|
title : string ;
|
|
3725
3725
|
}
|
|
3726
3726
|
}
|
|
3727
|
-
// Generated from /home/
|
|
3727
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
3728
3728
|
declare namespace ಠ_ಠ.clutz {
|
|
3729
3729
|
class MediaSession {
|
|
3730
3730
|
private noStructuralTyping_MediaSession : any;
|
|
3731
3731
|
metadata : MediaMetadata | null ;
|
|
3732
3732
|
}
|
|
3733
3733
|
}
|
|
3734
|
-
// Generated from /home/
|
|
3734
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mux.js
|
|
3735
3735
|
declare namespace muxjs.mp4 {
|
|
3736
3736
|
class Transmuxer {
|
|
3737
3737
|
private noStructuralTyping_muxjs_mp4_Transmuxer : any;
|
|
@@ -3757,11 +3757,11 @@ declare namespace muxjs.mp4 {
|
|
|
3757
3757
|
setBaseMediaDecodeTime (time : number ) : any ;
|
|
3758
3758
|
}
|
|
3759
3759
|
}
|
|
3760
|
-
// Generated from /home/
|
|
3760
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mux.js
|
|
3761
3761
|
declare namespace muxjs.mp4.Transmuxer {
|
|
3762
3762
|
type Segment = { data : Uint8Array , initSegment : Uint8Array } ;
|
|
3763
3763
|
}
|
|
3764
|
-
// Generated from /home/
|
|
3764
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
3765
3765
|
declare namespace ಠ_ಠ.clutz {
|
|
3766
3766
|
class DocumentPictureInPicture implements EventTarget {
|
|
3767
3767
|
private noStructuralTyping_DocumentPictureInPicture : any;
|
|
@@ -3772,15 +3772,15 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3772
3772
|
window : Window | null ;
|
|
3773
3773
|
}
|
|
3774
3774
|
}
|
|
3775
|
-
// Generated from /home/
|
|
3775
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
3776
3776
|
declare namespace ಠ_ಠ.clutz {
|
|
3777
3777
|
type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
|
|
3778
3778
|
}
|
|
3779
|
-
// Generated from /home/
|
|
3779
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/polyfill.js
|
|
3780
3780
|
declare namespace window {
|
|
3781
3781
|
let shakaMediaKeysPolyfill : boolean ;
|
|
3782
3782
|
}
|
|
3783
|
-
// Generated from /home/
|
|
3783
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
3784
3784
|
declare namespace ಠ_ಠ.clutz {
|
|
3785
3785
|
class MediaKeyError {
|
|
3786
3786
|
private noStructuralTyping_MediaKeyError : any;
|
|
@@ -3788,7 +3788,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3788
3788
|
systemCode : number ;
|
|
3789
3789
|
}
|
|
3790
3790
|
}
|
|
3791
|
-
// Generated from /home/
|
|
3791
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
3792
3792
|
declare namespace ಠ_ಠ.clutz {
|
|
3793
3793
|
class MediaKeyEvent extends Event {
|
|
3794
3794
|
private noStructuralTyping_MediaKeyEvent : any;
|
|
@@ -3803,7 +3803,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3803
3803
|
target : HTMLMediaElement ;
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
|
-
// Generated from /home/
|
|
3806
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abortable.js
|
|
3807
3807
|
declare namespace shaka.extern {
|
|
3808
3808
|
/**
|
|
3809
3809
|
* A representation of an abortable operation. Note that these are not
|
|
@@ -3829,7 +3829,7 @@ declare namespace shaka.extern {
|
|
|
3829
3829
|
promise : Promise < T > ;
|
|
3830
3830
|
}
|
|
3831
3831
|
}
|
|
3832
|
-
// Generated from /home/
|
|
3832
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
3833
3833
|
declare namespace shaka.extern {
|
|
3834
3834
|
/**
|
|
3835
3835
|
* An object which selects Streams from a set of possible choices. This also
|
|
@@ -3904,14 +3904,14 @@ declare namespace shaka.extern {
|
|
|
3904
3904
|
stop ( ) : any ;
|
|
3905
3905
|
}
|
|
3906
3906
|
}
|
|
3907
|
-
// Generated from /home/
|
|
3907
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
3908
3908
|
declare namespace shaka.extern.AbrManager {
|
|
3909
3909
|
/**
|
|
3910
3910
|
* A factory for creating the abr manager.
|
|
3911
3911
|
*/
|
|
3912
3912
|
type Factory = ( ) => shaka.extern.AbrManager ;
|
|
3913
3913
|
}
|
|
3914
|
-
// Generated from /home/
|
|
3914
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
3915
3915
|
declare namespace shaka.extern.AbrManager {
|
|
3916
3916
|
/**
|
|
3917
3917
|
* A callback into the Player that should be called when the AbrManager decides
|
|
@@ -3930,15 +3930,15 @@ declare namespace shaka.extern.AbrManager {
|
|
|
3930
3930
|
*/
|
|
3931
3931
|
type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
|
|
3932
3932
|
}
|
|
3933
|
-
// Generated from /home/
|
|
3933
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
3934
3934
|
declare namespace shaka.extern {
|
|
3935
3935
|
type AdCuePoint = { end : number | null , start : number } ;
|
|
3936
3936
|
}
|
|
3937
|
-
// Generated from /home/
|
|
3937
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
3938
3938
|
declare namespace shaka.extern {
|
|
3939
3939
|
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
3940
3940
|
}
|
|
3941
|
-
// Generated from /home/
|
|
3941
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
3942
3942
|
declare namespace shaka.extern {
|
|
3943
3943
|
/**
|
|
3944
3944
|
* Interface for Ad objects.
|
|
@@ -3979,7 +3979,7 @@ declare namespace shaka.extern {
|
|
|
3979
3979
|
skip ( ) : any ;
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
|
-
// Generated from /home/
|
|
3982
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
3983
3983
|
declare namespace shaka.extern {
|
|
3984
3984
|
/**
|
|
3985
3985
|
* An object that's responsible for all the ad-related logic
|
|
@@ -4012,22 +4012,22 @@ declare namespace shaka.extern {
|
|
|
4012
4012
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
4013
4013
|
}
|
|
4014
4014
|
}
|
|
4015
|
-
// Generated from /home/
|
|
4015
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4016
4016
|
declare namespace shaka.extern.IAdManager {
|
|
4017
4017
|
/**
|
|
4018
4018
|
* A factory for creating the ad manager.
|
|
4019
4019
|
*/
|
|
4020
4020
|
type Factory = ( ) => shaka.extern.IAdManager ;
|
|
4021
4021
|
}
|
|
4022
|
-
// Generated from /home/
|
|
4022
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4023
4023
|
declare namespace shaka.extern {
|
|
4024
4024
|
type CaptionDecoderPlugin = ( ) => shaka.extern.ICaptionDecoder ;
|
|
4025
4025
|
}
|
|
4026
|
-
// Generated from /home/
|
|
4026
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4027
4027
|
declare namespace shaka.extern {
|
|
4028
4028
|
type CeaParserPlugin = ( ) => shaka.extern.ICeaParser ;
|
|
4029
4029
|
}
|
|
4030
|
-
// Generated from /home/
|
|
4030
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4031
4031
|
declare namespace shaka.extern {
|
|
4032
4032
|
/**
|
|
4033
4033
|
* Interface for decoding inband closed captions from packets.
|
|
@@ -4054,14 +4054,14 @@ declare namespace shaka.extern {
|
|
|
4054
4054
|
extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
|
|
4055
4055
|
}
|
|
4056
4056
|
}
|
|
4057
|
-
// Generated from /home/
|
|
4057
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4058
4058
|
declare namespace shaka.extern.ICaptionDecoder {
|
|
4059
4059
|
/**
|
|
4060
4060
|
* Parsed Cue.
|
|
4061
4061
|
*/
|
|
4062
4062
|
type ClosedCaption = { cue : shaka.text.Cue , stream : string } ;
|
|
4063
4063
|
}
|
|
4064
|
-
// Generated from /home/
|
|
4064
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4065
4065
|
declare namespace shaka.extern {
|
|
4066
4066
|
/**
|
|
4067
4067
|
* Interface for parsing inband closed caption data from MP4 streams.
|
|
@@ -4079,19 +4079,19 @@ declare namespace shaka.extern {
|
|
|
4079
4079
|
parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
|
|
4080
4080
|
}
|
|
4081
4081
|
}
|
|
4082
|
-
// Generated from /home/
|
|
4082
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4083
4083
|
declare namespace shaka.extern.ICeaParser {
|
|
4084
4084
|
type CaptionPacket = { packet : Uint8Array , pts : number } ;
|
|
4085
4085
|
}
|
|
4086
|
-
// Generated from /home/
|
|
4086
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4087
4087
|
declare namespace shaka.extern {
|
|
4088
4088
|
type MPEG_PES = { data : Uint8Array | null , dts : number | null , packetLength : number , pts : number | null } ;
|
|
4089
4089
|
}
|
|
4090
|
-
// Generated from /home/
|
|
4090
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4091
4091
|
declare namespace shaka.extern {
|
|
4092
4092
|
type VideoNalu = { data : Uint8Array , fullData : Uint8Array , time : number | null , type : number } ;
|
|
4093
4093
|
}
|
|
4094
|
-
// Generated from /home/
|
|
4094
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4095
4095
|
declare namespace shaka.extern {
|
|
4096
4096
|
interface Error {
|
|
4097
4097
|
category : shaka.util.Error.Category ;
|
|
@@ -4101,11 +4101,11 @@ declare namespace shaka.extern {
|
|
|
4101
4101
|
severity : shaka.util.Error.Severity ;
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
|
-
// Generated from /home/
|
|
4104
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4105
4105
|
declare namespace shaka.extern {
|
|
4106
4106
|
type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
|
|
4107
4107
|
}
|
|
4108
|
-
// Generated from /home/
|
|
4108
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4109
4109
|
declare namespace shaka.extern {
|
|
4110
4110
|
/**
|
|
4111
4111
|
* Creates a SegmentIndex; returns a Promise that resolves after the
|
|
@@ -4113,11 +4113,11 @@ declare namespace shaka.extern {
|
|
|
4113
4113
|
*/
|
|
4114
4114
|
type CreateSegmentIndexFunction = ( ) => Promise < any > ;
|
|
4115
4115
|
}
|
|
4116
|
-
// Generated from /home/
|
|
4116
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4117
4117
|
declare namespace shaka.extern {
|
|
4118
4118
|
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
4119
|
}
|
|
4120
|
-
// Generated from /home/
|
|
4120
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4121
4121
|
declare namespace shaka.extern {
|
|
4122
4122
|
/**
|
|
4123
4123
|
* A function that fetches the crypto keys for AES-128.
|
|
@@ -4125,39 +4125,39 @@ declare namespace shaka.extern {
|
|
|
4125
4125
|
*/
|
|
4126
4126
|
type FetchCryptoKeysFunction = ( ) => Promise < any > ;
|
|
4127
4127
|
}
|
|
4128
|
-
// Generated from /home/
|
|
4128
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4129
4129
|
declare namespace shaka.extern {
|
|
4130
4130
|
type HlsAes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
|
|
4131
4131
|
}
|
|
4132
|
-
// Generated from /home/
|
|
4132
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4133
4133
|
declare namespace shaka.extern {
|
|
4134
4134
|
type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
|
|
4135
4135
|
}
|
|
4136
|
-
// Generated from /home/
|
|
4136
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4137
4137
|
declare namespace shaka.extern {
|
|
4138
4138
|
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
4139
|
}
|
|
4140
|
-
// Generated from /home/
|
|
4140
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4141
4141
|
declare namespace shaka.extern {
|
|
4142
4142
|
type MssPrivateData = { codecPrivateData : string | null , duration : number , timescale : number } ;
|
|
4143
4143
|
}
|
|
4144
|
-
// Generated from /home/
|
|
4144
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4145
4145
|
declare namespace shaka.extern {
|
|
4146
4146
|
type Period = { audioStreams : shaka.extern.Stream [] , id : string , imageStreams : shaka.extern.Stream [] , textStreams : shaka.extern.Stream [] , videoStreams : shaka.extern.Stream [] } ;
|
|
4147
4147
|
}
|
|
4148
|
-
// Generated from /home/
|
|
4148
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4149
4149
|
declare namespace shaka.extern {
|
|
4150
4150
|
type ServiceDescription = { maxLatency : number | null , maxPlaybackRate : number | null } ;
|
|
4151
4151
|
}
|
|
4152
|
-
// Generated from /home/
|
|
4152
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4153
4153
|
declare namespace shaka.extern {
|
|
4154
4154
|
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
4155
|
}
|
|
4156
|
-
// Generated from /home/
|
|
4156
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4157
4157
|
declare namespace shaka.extern {
|
|
4158
4158
|
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
4159
|
}
|
|
4160
|
-
// Generated from /home/
|
|
4160
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4161
4161
|
declare namespace shaka.extern {
|
|
4162
4162
|
/**
|
|
4163
4163
|
* Parses media manifests and handles manifest updates.
|
|
@@ -4220,7 +4220,7 @@ declare namespace shaka.extern {
|
|
|
4220
4220
|
update ( ) : any ;
|
|
4221
4221
|
}
|
|
4222
4222
|
}
|
|
4223
|
-
// Generated from /home/
|
|
4223
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4224
4224
|
declare namespace shaka.extern.ManifestParser {
|
|
4225
4225
|
/**
|
|
4226
4226
|
* A factory for creating the manifest parser. This function is registered with
|
|
@@ -4228,31 +4228,31 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
4228
4228
|
*/
|
|
4229
4229
|
type Factory = ( ) => shaka.extern.ManifestParser ;
|
|
4230
4230
|
}
|
|
4231
|
-
// Generated from /home/
|
|
4231
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4232
4232
|
declare namespace shaka.extern.ManifestParser {
|
|
4233
4233
|
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
4234
|
}
|
|
4235
|
-
// Generated from /home/
|
|
4235
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/mp4_parser.js
|
|
4236
4236
|
declare namespace shaka.extern {
|
|
4237
4237
|
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
4238
|
}
|
|
4239
|
-
// Generated from /home/
|
|
4239
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4240
4240
|
declare namespace shaka.extern {
|
|
4241
4241
|
type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
|
|
4242
4242
|
}
|
|
4243
|
-
// Generated from /home/
|
|
4243
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4244
4244
|
declare namespace shaka.extern {
|
|
4245
4245
|
type ProgressUpdated = (a : number , b : number , c : number ) => any ;
|
|
4246
4246
|
}
|
|
4247
|
-
// Generated from /home/
|
|
4247
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4248
4248
|
declare namespace shaka.extern {
|
|
4249
4249
|
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
4250
|
}
|
|
4251
|
-
// Generated from /home/
|
|
4251
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4252
4252
|
declare namespace shaka.extern {
|
|
4253
4253
|
type RequestContext = { segment ? : shaka.media.SegmentReference | null , stream ? : shaka.extern.Stream , type ? : shaka.net.NetworkingEngine.AdvancedRequestType } ;
|
|
4254
4254
|
}
|
|
4255
|
-
// Generated from /home/
|
|
4255
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4256
4256
|
declare namespace shaka.extern {
|
|
4257
4257
|
/**
|
|
4258
4258
|
* Defines a filter for requests. This filter takes the request and modifies
|
|
@@ -4265,11 +4265,11 @@ declare namespace shaka.extern {
|
|
|
4265
4265
|
*/
|
|
4266
4266
|
type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4267
4267
|
}
|
|
4268
|
-
// Generated from /home/
|
|
4268
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4269
4269
|
declare namespace shaka.extern {
|
|
4270
4270
|
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
|
|
4271
4271
|
}
|
|
4272
|
-
// Generated from /home/
|
|
4272
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4273
4273
|
declare namespace shaka.extern {
|
|
4274
4274
|
/**
|
|
4275
4275
|
* Defines a filter for responses. This filter takes the response and modifies
|
|
@@ -4281,19 +4281,19 @@ declare namespace shaka.extern {
|
|
|
4281
4281
|
*/
|
|
4282
4282
|
type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4283
4283
|
}
|
|
4284
|
-
// Generated from /home/
|
|
4284
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4285
4285
|
declare namespace shaka.extern {
|
|
4286
4286
|
type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
|
|
4287
4287
|
}
|
|
4288
|
-
// Generated from /home/
|
|
4288
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4289
4289
|
declare namespace shaka.extern {
|
|
4290
4290
|
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
4291
|
}
|
|
4292
|
-
// Generated from /home/
|
|
4292
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4293
4293
|
declare namespace shaka.extern {
|
|
4294
4294
|
type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
|
|
4295
4295
|
}
|
|
4296
|
-
// Generated from /home/
|
|
4296
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4297
4297
|
declare namespace shaka.extern {
|
|
4298
4298
|
/**
|
|
4299
4299
|
* Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
|
|
@@ -4319,23 +4319,23 @@ declare namespace shaka.extern {
|
|
|
4319
4319
|
remove (sessionIds : string [] ) : Promise < any > ;
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
|
-
// Generated from /home/
|
|
4322
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4323
4323
|
declare namespace shaka.extern {
|
|
4324
4324
|
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
4325
|
}
|
|
4326
|
-
// Generated from /home/
|
|
4326
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4327
4327
|
declare namespace shaka.extern {
|
|
4328
4328
|
type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
|
|
4329
4329
|
}
|
|
4330
|
-
// Generated from /home/
|
|
4330
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4331
4331
|
declare namespace shaka.extern {
|
|
4332
4332
|
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
4333
|
}
|
|
4334
|
-
// Generated from /home/
|
|
4334
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4335
4335
|
declare namespace shaka.extern {
|
|
4336
4336
|
type SegmentDataDB = { data : ArrayBuffer } ;
|
|
4337
4337
|
}
|
|
4338
|
-
// Generated from /home/
|
|
4338
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4339
4339
|
declare namespace shaka.extern {
|
|
4340
4340
|
/**
|
|
4341
4341
|
* An interface that defines access to collection of segments and manifests. All
|
|
@@ -4411,7 +4411,7 @@ declare namespace shaka.extern {
|
|
|
4411
4411
|
updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
|
|
4412
4412
|
}
|
|
4413
4413
|
}
|
|
4414
|
-
// Generated from /home/
|
|
4414
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4415
4415
|
declare namespace shaka.extern {
|
|
4416
4416
|
/**
|
|
4417
4417
|
* Storage mechanisms are one of two exported storage APIs. Storage mechanisms
|
|
@@ -4455,207 +4455,207 @@ declare namespace shaka.extern {
|
|
|
4455
4455
|
init ( ) : Promise < any > ;
|
|
4456
4456
|
}
|
|
4457
4457
|
}
|
|
4458
|
-
// Generated from /home/
|
|
4458
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4459
4459
|
declare namespace shaka.extern {
|
|
4460
4460
|
type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
|
|
4461
4461
|
}
|
|
4462
|
-
// Generated from /home/
|
|
4462
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4463
4463
|
declare namespace shaka.extern {
|
|
4464
4464
|
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
4465
|
}
|
|
4466
|
-
// Generated from /home/
|
|
4466
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4467
4467
|
declare namespace shaka.extern {
|
|
4468
4468
|
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
4469
|
}
|
|
4470
|
-
// Generated from /home/
|
|
4470
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4471
4471
|
declare namespace shaka.extern {
|
|
4472
4472
|
type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
|
|
4473
4473
|
}
|
|
4474
|
-
// Generated from /home/
|
|
4474
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4475
4475
|
declare namespace shaka.extern {
|
|
4476
4476
|
type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
|
|
4477
4477
|
}
|
|
4478
|
-
// Generated from /home/
|
|
4478
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4479
4479
|
declare namespace shaka.extern {
|
|
4480
4480
|
type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
|
|
4481
4481
|
}
|
|
4482
|
-
// Generated from /home/
|
|
4482
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4483
4483
|
declare namespace shaka.extern {
|
|
4484
4484
|
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
4485
|
}
|
|
4486
|
-
// Generated from /home/
|
|
4486
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4487
4487
|
declare namespace shaka.extern {
|
|
4488
4488
|
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
4489
|
}
|
|
4490
|
-
// Generated from /home/
|
|
4490
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4491
4491
|
declare namespace shaka.extern {
|
|
4492
4492
|
type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
|
|
4493
4493
|
}
|
|
4494
|
-
// Generated from /home/
|
|
4494
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4495
4495
|
declare namespace shaka.extern {
|
|
4496
4496
|
type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
|
|
4497
4497
|
}
|
|
4498
|
-
// Generated from /home/
|
|
4498
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4499
4499
|
declare namespace shaka.extern {
|
|
4500
4500
|
type SegmentDataDBV2 = { data : ArrayBuffer } ;
|
|
4501
4501
|
}
|
|
4502
|
-
// Generated from /home/
|
|
4502
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4503
4503
|
declare namespace shaka.extern {
|
|
4504
4504
|
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
4505
|
}
|
|
4506
|
-
// Generated from /home/
|
|
4506
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4507
4507
|
declare namespace shaka.extern {
|
|
4508
4508
|
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
4509
|
}
|
|
4510
|
-
// Generated from /home/
|
|
4510
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4511
4511
|
declare namespace shaka.extern {
|
|
4512
4512
|
type AdsConfiguration = { customPlayheadTracker : boolean } ;
|
|
4513
4513
|
}
|
|
4514
|
-
// Generated from /home/
|
|
4514
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4515
4515
|
declare namespace shaka.extern {
|
|
4516
4516
|
type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
|
|
4517
4517
|
}
|
|
4518
|
-
// Generated from /home/
|
|
4518
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4519
4519
|
declare namespace shaka.extern {
|
|
4520
4520
|
type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
4521
4521
|
}
|
|
4522
|
-
// Generated from /home/
|
|
4522
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4523
4523
|
declare namespace shaka.extern {
|
|
4524
4524
|
type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
|
|
4525
4525
|
}
|
|
4526
|
-
// Generated from /home/
|
|
4526
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4527
4527
|
declare namespace shaka.extern {
|
|
4528
4528
|
type BufferedRange = { end : number , start : number } ;
|
|
4529
4529
|
}
|
|
4530
|
-
// Generated from /home/
|
|
4530
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4531
4531
|
declare namespace shaka.extern {
|
|
4532
4532
|
type Chapter = { endTime : number , id : string , startTime : number , title : string } ;
|
|
4533
4533
|
}
|
|
4534
|
-
// Generated from /home/
|
|
4534
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4535
4535
|
declare namespace shaka.extern {
|
|
4536
4536
|
type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
|
|
4537
4537
|
}
|
|
4538
|
-
// Generated from /home/
|
|
4538
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4539
4539
|
declare namespace shaka.extern {
|
|
4540
4540
|
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
4541
|
}
|
|
4542
|
-
// Generated from /home/
|
|
4542
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4543
4543
|
declare namespace shaka.extern {
|
|
4544
4544
|
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
4545
|
}
|
|
4546
|
-
// Generated from /home/
|
|
4546
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4547
4547
|
declare namespace shaka.extern {
|
|
4548
4548
|
type DrmSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string , sessionType : string } ;
|
|
4549
4549
|
}
|
|
4550
|
-
// Generated from /home/
|
|
4550
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4551
4551
|
declare namespace shaka.extern {
|
|
4552
4552
|
type DrmSupportType = { persistentState : boolean } ;
|
|
4553
4553
|
}
|
|
4554
|
-
// Generated from /home/
|
|
4554
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4555
4555
|
declare namespace shaka.extern {
|
|
4556
4556
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
4557
4557
|
}
|
|
4558
|
-
// Generated from /home/
|
|
4558
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4559
4559
|
declare namespace shaka.extern {
|
|
4560
4560
|
type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreManifestProgramDateTime : boolean , ignoreManifestTimestampsInSegmentsMode : boolean , ignoreTextStreamFailures : boolean , liveSegmentsDelay : number , mediaPlaylistFullMimeType : string , sequenceMode : boolean , useSafariBehaviorForLive : boolean } ;
|
|
4561
4561
|
}
|
|
4562
|
-
// Generated from /home/
|
|
4562
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4563
4563
|
declare namespace shaka.extern {
|
|
4564
4564
|
type ID3Metadata = { cueTime : number | null , data : Uint8Array , dts : number | null , frames : shaka.extern.MetadataFrame [] , pts : number | null } ;
|
|
4565
4565
|
}
|
|
4566
|
-
// Generated from /home/
|
|
4566
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4567
4567
|
declare namespace shaka.extern {
|
|
4568
4568
|
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
4569
4569
|
}
|
|
4570
|
-
// Generated from /home/
|
|
4570
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4571
4571
|
declare namespace shaka.extern {
|
|
4572
4572
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
4573
4573
|
}
|
|
4574
|
-
// Generated from /home/
|
|
4574
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4575
4575
|
declare namespace shaka.extern {
|
|
4576
4576
|
type LcevcConfiguration = { drawLogo : boolean , dynamicPerformanceScaling : boolean , enabled : boolean , logLevel : number } ;
|
|
4577
4577
|
}
|
|
4578
|
-
// Generated from /home/
|
|
4578
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4579
4579
|
declare namespace shaka.extern {
|
|
4580
4580
|
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
4581
|
}
|
|
4582
|
-
// Generated from /home/
|
|
4582
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4583
4583
|
declare namespace shaka.extern {
|
|
4584
4584
|
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
4585
|
}
|
|
4586
|
-
// Generated from /home/
|
|
4586
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4587
4587
|
declare namespace shaka.extern {
|
|
4588
4588
|
type MediaSourceConfiguration = { forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
|
|
4589
4589
|
}
|
|
4590
|
-
// Generated from /home/
|
|
4590
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4591
4591
|
declare namespace shaka.extern {
|
|
4592
4592
|
type MetadataFrame = { data : ArrayBuffer | null | string | number , description : string , key : string } ;
|
|
4593
4593
|
}
|
|
4594
|
-
// Generated from /home/
|
|
4594
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4595
4595
|
declare namespace shaka.extern {
|
|
4596
4596
|
type MetadataRawFrame = { data : Uint8Array | null , size : number , type : string } ;
|
|
4597
4597
|
}
|
|
4598
|
-
// Generated from /home/
|
|
4598
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4599
4599
|
declare namespace shaka.extern {
|
|
4600
4600
|
type MssManifestConfiguration = { keySystemsBySystemId : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean } ;
|
|
4601
4601
|
}
|
|
4602
|
-
// Generated from /home/
|
|
4602
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4603
4603
|
declare namespace shaka.extern {
|
|
4604
4604
|
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
4605
|
}
|
|
4606
|
-
// Generated from /home/
|
|
4606
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4607
4607
|
declare namespace shaka.extern {
|
|
4608
4608
|
type PersistentSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string } ;
|
|
4609
4609
|
}
|
|
4610
|
-
// Generated from /home/
|
|
4610
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4611
4611
|
declare namespace shaka.extern {
|
|
4612
4612
|
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
4613
|
}
|
|
4614
|
-
// Generated from /home/
|
|
4614
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4615
4615
|
declare namespace shaka.extern {
|
|
4616
4616
|
type ProducerReferenceTime = { programStartDate : Date | null , wallClockTime : number } ;
|
|
4617
4617
|
}
|
|
4618
|
-
// Generated from /home/
|
|
4618
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4619
4619
|
declare namespace shaka.extern {
|
|
4620
4620
|
type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
|
|
4621
4621
|
}
|
|
4622
|
-
// Generated from /home/
|
|
4622
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4623
4623
|
declare namespace shaka.extern {
|
|
4624
4624
|
type StateChange = { duration : number , state : string , timestamp : number } ;
|
|
4625
4625
|
}
|
|
4626
|
-
// Generated from /home/
|
|
4626
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4627
4627
|
declare namespace shaka.extern {
|
|
4628
4628
|
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
4629
|
}
|
|
4630
|
-
// Generated from /home/
|
|
4630
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4631
4631
|
declare namespace shaka.extern {
|
|
4632
4632
|
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
4633
|
}
|
|
4634
|
-
// Generated from /home/
|
|
4634
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4635
4635
|
declare namespace shaka.extern {
|
|
4636
4636
|
type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
|
|
4637
4637
|
}
|
|
4638
|
-
// Generated from /home/
|
|
4638
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4639
4639
|
declare namespace shaka.extern {
|
|
4640
4640
|
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , sprite : boolean , startTime : number , uris : string [] , width : number } ;
|
|
4641
4641
|
}
|
|
4642
|
-
// Generated from /home/
|
|
4642
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4643
4643
|
declare namespace shaka.extern {
|
|
4644
4644
|
type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
|
|
4645
4645
|
}
|
|
4646
|
-
// Generated from /home/
|
|
4646
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4647
4647
|
declare namespace shaka.extern {
|
|
4648
4648
|
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
4649
|
}
|
|
4650
|
-
// Generated from /home/
|
|
4650
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4651
4651
|
declare namespace shaka.extern {
|
|
4652
4652
|
type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
|
|
4653
4653
|
}
|
|
4654
|
-
// Generated from /home/
|
|
4654
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4655
4655
|
declare namespace shaka.extern {
|
|
4656
4656
|
type TrackList = shaka.extern.Track [] ;
|
|
4657
4657
|
}
|
|
4658
|
-
// Generated from /home/
|
|
4658
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4659
4659
|
declare namespace shaka.extern {
|
|
4660
4660
|
interface TextDisplayer extends shaka.util.IDestroyable {
|
|
4661
4661
|
/**
|
|
@@ -4682,14 +4682,14 @@ declare namespace shaka.extern {
|
|
|
4682
4682
|
setTextVisibility (on : boolean ) : any ;
|
|
4683
4683
|
}
|
|
4684
4684
|
}
|
|
4685
|
-
// Generated from /home/
|
|
4685
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4686
4686
|
declare namespace shaka.extern.TextDisplayer {
|
|
4687
4687
|
/**
|
|
4688
4688
|
* A factory for creating a TextDisplayer.
|
|
4689
4689
|
*/
|
|
4690
4690
|
type Factory = ( ) => shaka.extern.TextDisplayer ;
|
|
4691
4691
|
}
|
|
4692
|
-
// Generated from /home/
|
|
4692
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4693
4693
|
declare namespace shaka.extern {
|
|
4694
4694
|
/**
|
|
4695
4695
|
* An interface for plugins that parse text tracks.
|
|
@@ -4713,18 +4713,18 @@ declare namespace shaka.extern {
|
|
|
4713
4713
|
setSequenceMode (sequenceMode : boolean ) : any ;
|
|
4714
4714
|
}
|
|
4715
4715
|
}
|
|
4716
|
-
// Generated from /home/
|
|
4716
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4717
4717
|
declare namespace shaka.extern.TextParser {
|
|
4718
4718
|
/**
|
|
4719
4719
|
* A collection of time offsets used to adjust text cue times.
|
|
4720
4720
|
*/
|
|
4721
4721
|
type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number , vttOffset : number } ;
|
|
4722
4722
|
}
|
|
4723
|
-
// Generated from /home/
|
|
4723
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4724
4724
|
declare namespace shaka.extern {
|
|
4725
4725
|
type TextParserPlugin = ( ) => shaka.extern.TextParser ;
|
|
4726
4726
|
}
|
|
4727
|
-
// Generated from /home/
|
|
4727
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
4728
4728
|
declare namespace shaka.extern {
|
|
4729
4729
|
/**
|
|
4730
4730
|
* An interface for transmuxer plugins.
|
|
@@ -4750,21 +4750,21 @@ declare namespace shaka.extern {
|
|
|
4750
4750
|
* Transmux a input data to MP4.
|
|
4751
4751
|
* @param reference The segment reference, or null for init segments
|
|
4752
4752
|
*/
|
|
4753
|
-
transmux (data : ArrayBuffer | ArrayBufferView , stream : shaka.extern.Stream , reference : shaka.media.SegmentReference | null , duration : number ) : Promise < Uint8Array > ;
|
|
4753
|
+
transmux (data : ArrayBuffer | ArrayBufferView , stream : shaka.extern.Stream , reference : shaka.media.SegmentReference | null , duration : number , contentType : string ) : Promise < Uint8Array > ;
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
|
-
// Generated from /home/
|
|
4756
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
4757
4757
|
declare namespace shaka.extern {
|
|
4758
4758
|
type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
|
|
4759
4759
|
}
|
|
4760
|
-
// Generated from /home/
|
|
4760
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/tippy.js
|
|
4761
4761
|
declare namespace ಠ_ಠ.clutz {
|
|
4762
4762
|
/**
|
|
4763
4763
|
* This is the subset of this method that we use in our demo code.
|
|
4764
4764
|
*/
|
|
4765
4765
|
function tippy (element : Element , config : object ) : any ;
|
|
4766
4766
|
}
|
|
4767
|
-
// Generated from /home/
|
|
4767
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
4768
4768
|
declare namespace ಠ_ಠ.clutz {
|
|
4769
4769
|
class WebKitMediaKeyError {
|
|
4770
4770
|
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
@@ -4778,7 +4778,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4778
4778
|
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
4779
4779
|
}
|
|
4780
4780
|
}
|
|
4781
|
-
// Generated from /home/
|
|
4781
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
4782
4782
|
declare namespace ಠ_ಠ.clutz {
|
|
4783
4783
|
interface WebKitMediaKeySession extends EventTarget {
|
|
4784
4784
|
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
@@ -4790,7 +4790,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4790
4790
|
update (message : Uint8Array | null ) : any ;
|
|
4791
4791
|
}
|
|
4792
4792
|
}
|
|
4793
|
-
// Generated from /home/
|
|
4793
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
4794
4794
|
declare namespace ಠ_ಠ.clutz {
|
|
4795
4795
|
class WebKitMediaKeys {
|
|
4796
4796
|
private noStructuralTyping_WebKitMediaKeys : any;
|