shaka-player 3.3.4 → 3.3.5
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/build-and-test.yaml +0 -1
- package/.github/workflows/release-please.yaml +1 -1
- package/.github/workflows/selenium-lab-tests.yaml +0 -1
- package/CHANGELOG.md +18 -0
- package/build/README.md +2 -2
- package/build/checkversion.py +1 -1
- package/build/generateTsDefs.py +0 -2
- package/build/test.py +7 -1
- package/build/types/core +0 -1
- package/dist/controls.css +1 -1
- package/dist/deps.js +1 -2
- package/dist/locales.js +30 -30
- package/dist/shaka-player.compiled.d.ts +238 -239
- package/dist/shaka-player.compiled.debug.d.ts +238 -239
- package/dist/shaka-player.compiled.debug.externs.js +1 -0
- package/dist/shaka-player.compiled.debug.js +149 -147
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +1 -0
- package/dist/shaka-player.compiled.js +844 -842
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +282 -283
- package/dist/shaka-player.ui.debug.d.ts +282 -283
- package/dist/shaka-player.ui.debug.externs.js +1 -0
- package/dist/shaka-player.ui.debug.js +222 -220
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +1 -0
- package/dist/shaka-player.ui.js +956 -954
- package/dist/shaka-player.ui.map +4 -4
- package/karma.conf.js +4 -0
- package/lib/dash/dash_parser.js +2 -3
- package/lib/hls/hls_parser.js +23 -11
- package/lib/media/media_source_engine.js +7 -1
- package/lib/offline/indexeddb/storage_mechanism.js +4 -2
- package/lib/offline/storage.js +92 -91
- package/lib/player.js +165 -107
- package/lib/util/config_utils.js +25 -0
- package/lib/util/error.js +7 -0
- package/lib/util/manifest_parser_utils.js +1 -1
- package/lib/util/mime_utils.js +48 -1
- package/lib/util/periods.js +5 -4
- package/lib/util/player_configuration.js +9 -14
- package/lib/util/stream_utils.js +4 -2
- package/package.json +1 -1
- package/test/cast/cast_utils_unit.js +1 -0
- package/test/dash/dash_parser_manifest_unit.js +0 -24
- package/test/hls/hls_live_unit.js +26 -0
- package/test/hls/manifest_text_parser_unit.js +19 -0
- package/test/media/media_source_engine_integration.js +1 -0
- package/test/media/media_source_engine_unit.js +4 -4
- package/test/media/streaming_engine_integration.js +2 -0
- package/test/offline/indexeddb_storage_unit.js +1 -1
- package/test/offline/storage_compatibility_unit.js +1 -1
- package/test/player_external.js +7 -1
- package/test/player_integration.js +6 -10
- package/test/player_src_equals_integration.js +81 -83
- package/test/player_unit.js +98 -1
- package/test/test/boot.js +9 -0
- package/test/test/externs/filters.js +4 -0
- package/test/test/util/simple_fakes.js +31 -2
- package/test/util/mime_utils_unit.js +54 -0
- package/test/util/periods_unit.js +79 -0
- package/docs/tutorials/gsoc-ideas-list.md +0 -3
- package/lib/util/mutex.js +0 -52
|
@@ -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/clean/dist/shaka-player.compiled.debug.externs.js
|
|
11
11
|
declare namespace shaka {
|
|
12
12
|
class Player extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
13
13
|
private noStructuralTyping_shaka_Player : any;
|
|
@@ -430,7 +430,7 @@ declare namespace shaka {
|
|
|
430
430
|
static version : string ;
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
// Generated from /home/
|
|
433
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
434
434
|
declare namespace shaka.Player {
|
|
435
435
|
/**
|
|
436
436
|
* In order to know what method of loading the player used for some content, we
|
|
@@ -459,7 +459,7 @@ declare namespace shaka.Player {
|
|
|
459
459
|
SRC_EQUALS = 3.0 ,
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
// Generated from /home/
|
|
462
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
463
463
|
declare namespace shaka.abr {
|
|
464
464
|
class SimpleAbrManager implements shaka.extern.AbrManager {
|
|
465
465
|
private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
|
|
@@ -475,7 +475,7 @@ declare namespace shaka.abr {
|
|
|
475
475
|
stop ( ) : any ;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
// Generated from /home/
|
|
478
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
479
479
|
declare namespace shaka.ads {
|
|
480
480
|
/**
|
|
481
481
|
* A class responsible for ad-related interactions.
|
|
@@ -622,7 +622,7 @@ declare namespace shaka.ads {
|
|
|
622
622
|
static IMA_STREAM_MANAGER_LOADED : string ;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
// Generated from /home/
|
|
625
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
626
626
|
declare namespace shaka.ads {
|
|
627
627
|
class ClientSideAd implements shaka.extern.IAd {
|
|
628
628
|
private noStructuralTyping_shaka_ads_ClientSideAd : any;
|
|
@@ -648,7 +648,7 @@ declare namespace shaka.ads {
|
|
|
648
648
|
skip ( ) : any ;
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
|
-
// Generated from /home/
|
|
651
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
652
652
|
declare namespace shaka.ads {
|
|
653
653
|
class ServerSideAd implements shaka.extern.IAd {
|
|
654
654
|
private noStructuralTyping_shaka_ads_ServerSideAd : any;
|
|
@@ -674,7 +674,7 @@ declare namespace shaka.ads {
|
|
|
674
674
|
skip ( ) : any ;
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
// Generated from /home/
|
|
677
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
678
678
|
declare namespace shaka.cast {
|
|
679
679
|
class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
680
680
|
private noStructuralTyping_shaka_cast_CastProxy : any;
|
|
@@ -714,7 +714,7 @@ declare namespace shaka.cast {
|
|
|
714
714
|
suggestDisconnect ( ) : any ;
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
// Generated from /home/
|
|
717
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
718
718
|
declare namespace shaka.cast {
|
|
719
719
|
/**
|
|
720
720
|
* A receiver to communicate between the Chromecast-hosted player and the
|
|
@@ -766,7 +766,7 @@ declare namespace shaka.cast {
|
|
|
766
766
|
setContentTitle (title : string ) : any ;
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
// Generated from /home/
|
|
769
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
770
770
|
declare namespace shaka.dash {
|
|
771
771
|
/**
|
|
772
772
|
* Creates a new DASH parser.
|
|
@@ -780,7 +780,7 @@ declare namespace shaka.dash {
|
|
|
780
780
|
update ( ) : any ;
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
|
-
// Generated from /home/
|
|
783
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
784
784
|
declare namespace shaka {
|
|
785
785
|
class dependencies {
|
|
786
786
|
private noStructuralTyping_shaka_dependencies : any;
|
|
@@ -797,13 +797,13 @@ declare namespace shaka {
|
|
|
797
797
|
static has (key : shaka.dependencies.Allowed ) : boolean ;
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
|
-
// Generated from /home/
|
|
800
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
801
801
|
declare namespace shaka.dependencies {
|
|
802
802
|
enum Allowed {
|
|
803
803
|
muxjs = 'muxjs' ,
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
// Generated from /home/
|
|
806
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
807
807
|
declare namespace shaka.hls {
|
|
808
808
|
/**
|
|
809
809
|
* HLS parser.
|
|
@@ -817,7 +817,7 @@ declare namespace shaka.hls {
|
|
|
817
817
|
update ( ) : any ;
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
// Generated from /home/
|
|
820
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
821
821
|
declare namespace shaka.media {
|
|
822
822
|
/**
|
|
823
823
|
* Creates an InitSegmentReference, which provides the location to an
|
|
@@ -839,7 +839,7 @@ declare namespace shaka.media {
|
|
|
839
839
|
getStartByte ( ) : number ;
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
// Generated from /home/
|
|
842
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
843
843
|
declare namespace shaka.media {
|
|
844
844
|
class ManifestParser {
|
|
845
845
|
private noStructuralTyping_shaka_media_ManifestParser : any;
|
|
@@ -862,7 +862,7 @@ declare namespace shaka.media {
|
|
|
862
862
|
static unregisterParserByMime (mimeType : string ) : any ;
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
// Generated from /home/
|
|
865
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
866
866
|
declare namespace shaka.media {
|
|
867
867
|
/**
|
|
868
868
|
* A meta-SegmentIndex composed of multiple other SegmentIndexes.
|
|
@@ -888,7 +888,7 @@ declare namespace shaka.media {
|
|
|
888
888
|
updateEvery (interval : number , updateCallback : ( ) => ( shaka.media.SegmentReference | null ) [] | null ) : any ;
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
|
-
// Generated from /home/
|
|
891
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
892
892
|
declare namespace shaka.media {
|
|
893
893
|
/**
|
|
894
894
|
* PresentationTimeline.
|
|
@@ -1003,7 +1003,7 @@ declare namespace shaka.media {
|
|
|
1003
1003
|
usingPresentationStartTime ( ) : boolean ;
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
// Generated from /home/
|
|
1006
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1007
1007
|
declare namespace shaka.media {
|
|
1008
1008
|
/**
|
|
1009
1009
|
* SegmentIndex.
|
|
@@ -1101,7 +1101,7 @@ declare namespace shaka.media {
|
|
|
1101
1101
|
static forSingleSegment (startTime : number , duration : number , uris : string [] ) : shaka.media.SegmentIndex ;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
// Generated from /home/
|
|
1104
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1105
1105
|
declare namespace shaka.media {
|
|
1106
1106
|
/**
|
|
1107
1107
|
* An iterator over a SegmentIndex's references.
|
|
@@ -1120,7 +1120,7 @@ declare namespace shaka.media {
|
|
|
1120
1120
|
seek (time : number ) : shaka.media.SegmentReference | null ;
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
1123
|
-
// Generated from /home/
|
|
1123
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1124
1124
|
declare namespace shaka.media {
|
|
1125
1125
|
/**
|
|
1126
1126
|
* SegmentReference provides the start time, end time, and location to a media
|
|
@@ -1163,14 +1163,14 @@ declare namespace shaka.media {
|
|
|
1163
1163
|
getUris ( ) : string [] ;
|
|
1164
1164
|
}
|
|
1165
1165
|
}
|
|
1166
|
-
// Generated from /home/
|
|
1166
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1167
1167
|
declare namespace shaka.net {
|
|
1168
1168
|
class DataUriPlugin {
|
|
1169
1169
|
private noStructuralTyping_shaka_net_DataUriPlugin : any;
|
|
1170
1170
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1171
1171
|
}
|
|
1172
1172
|
}
|
|
1173
|
-
// Generated from /home/
|
|
1173
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1174
1174
|
declare namespace shaka.net {
|
|
1175
1175
|
class HttpFetchPlugin {
|
|
1176
1176
|
private noStructuralTyping_shaka_net_HttpFetchPlugin : any;
|
|
@@ -1183,14 +1183,14 @@ declare namespace shaka.net {
|
|
|
1183
1183
|
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 > ;
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
// Generated from /home/
|
|
1186
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1187
1187
|
declare namespace shaka.net {
|
|
1188
1188
|
class HttpXHRPlugin {
|
|
1189
1189
|
private noStructuralTyping_shaka_net_HttpXHRPlugin : any;
|
|
1190
1190
|
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 > ;
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
|
-
// Generated from /home/
|
|
1193
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1194
1194
|
declare namespace shaka.net {
|
|
1195
1195
|
/**
|
|
1196
1196
|
* NetworkingEngine wraps all networking operations. This accepts plugins that
|
|
@@ -1259,7 +1259,7 @@ declare namespace shaka.net {
|
|
|
1259
1259
|
static unregisterScheme (scheme : string ) : any ;
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
// Generated from /home/
|
|
1262
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1263
1263
|
declare namespace shaka.net.NetworkingEngine {
|
|
1264
1264
|
/**
|
|
1265
1265
|
* A wrapper class for the number of bytes remaining to be downloaded for the
|
|
@@ -1272,15 +1272,15 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1272
1272
|
private noStructuralTyping_shaka_net_NetworkingEngine_NumBytesRemainingClass : any;
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
|
-
// Generated from /home/
|
|
1275
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1276
1276
|
declare namespace shaka.net.NetworkingEngine {
|
|
1277
1277
|
type OnDownloadFailed = (a : shaka.extern.Request , b : shaka.util.Error | null , c : number , d : boolean ) => any ;
|
|
1278
1278
|
}
|
|
1279
|
-
// Generated from /home/
|
|
1279
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1280
1280
|
declare namespace shaka.net.NetworkingEngine {
|
|
1281
1281
|
type OnHeadersReceived = (a : { [ key: string ]: string } , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType ) => any ;
|
|
1282
1282
|
}
|
|
1283
|
-
// Generated from /home/
|
|
1283
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1284
1284
|
declare namespace shaka.net.NetworkingEngine {
|
|
1285
1285
|
/**
|
|
1286
1286
|
* A pending network request. This can track the current progress of the
|
|
@@ -1295,7 +1295,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1295
1295
|
constructor (promise : Promise < any > , onAbort : shaka.extern.CreateSegmentIndexFunction , numBytesRemainingObj : shaka.net.NetworkingEngine.NumBytesRemainingClass | null ) ;
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
|
-
// Generated from /home/
|
|
1298
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1299
1299
|
declare namespace shaka.net.NetworkingEngine {
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Priority level for network scheme plugins.
|
|
@@ -1313,7 +1313,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1313
1313
|
PREFERRED = 2.0 ,
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
// Generated from /home/
|
|
1316
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1317
1317
|
declare namespace shaka.net.NetworkingEngine {
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Request types. Allows a filter to decide which requests to read/alter.
|
|
@@ -1330,14 +1330,14 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1330
1330
|
TIMING = 4.0 ,
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
|
-
// Generated from /home/
|
|
1333
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1334
1334
|
declare namespace shaka.offline {
|
|
1335
1335
|
class OfflineScheme {
|
|
1336
1336
|
private noStructuralTyping_shaka_offline_OfflineScheme : any;
|
|
1337
1337
|
static plugin (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
|
-
// Generated from /home/
|
|
1340
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1341
1341
|
declare namespace shaka.offline {
|
|
1342
1342
|
class Storage implements shaka.util.IDestroyable {
|
|
1343
1343
|
private noStructuralTyping_shaka_offline_Storage : any;
|
|
@@ -1412,7 +1412,7 @@ declare namespace shaka.offline {
|
|
|
1412
1412
|
static support ( ) : boolean ;
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
|
-
// Generated from /home/
|
|
1415
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1416
1416
|
declare namespace shaka.offline {
|
|
1417
1417
|
/**
|
|
1418
1418
|
* StorageMuxer is responsible for managing StorageMechanisms and addressing
|
|
@@ -1445,7 +1445,7 @@ declare namespace shaka.offline {
|
|
|
1445
1445
|
static unregister (name : string ) : any ;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
// Generated from /home/
|
|
1448
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1449
1449
|
declare namespace shaka {
|
|
1450
1450
|
class polyfill {
|
|
1451
1451
|
private noStructuralTyping_shaka_polyfill : any;
|
|
@@ -1460,7 +1460,7 @@ declare namespace shaka {
|
|
|
1460
1460
|
static register (polyfill : ( ) => any , priority ? : number ) : any ;
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
|
-
// Generated from /home/
|
|
1463
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1464
1464
|
declare namespace shaka.polyfill {
|
|
1465
1465
|
class Aria {
|
|
1466
1466
|
private noStructuralTyping_shaka_polyfill_Aria : any;
|
|
@@ -1470,7 +1470,7 @@ declare namespace shaka.polyfill {
|
|
|
1470
1470
|
static install ( ) : any ;
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
|
-
// Generated from /home/
|
|
1473
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1474
1474
|
declare namespace shaka.polyfill {
|
|
1475
1475
|
class EncryptionScheme {
|
|
1476
1476
|
private noStructuralTyping_shaka_polyfill_EncryptionScheme : any;
|
|
@@ -1480,7 +1480,7 @@ declare namespace shaka.polyfill {
|
|
|
1480
1480
|
static install ( ) : any ;
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
|
-
// Generated from /home/
|
|
1483
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1484
1484
|
declare namespace shaka.polyfill {
|
|
1485
1485
|
class Fullscreen {
|
|
1486
1486
|
private noStructuralTyping_shaka_polyfill_Fullscreen : any;
|
|
@@ -1490,7 +1490,7 @@ declare namespace shaka.polyfill {
|
|
|
1490
1490
|
static install ( ) : any ;
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
|
-
// Generated from /home/
|
|
1493
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1494
1494
|
declare namespace shaka.polyfill {
|
|
1495
1495
|
class MathRound {
|
|
1496
1496
|
private noStructuralTyping_shaka_polyfill_MathRound : any;
|
|
@@ -1500,7 +1500,7 @@ declare namespace shaka.polyfill {
|
|
|
1500
1500
|
static install ( ) : any ;
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
// Generated from /home/
|
|
1503
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1504
1504
|
declare namespace shaka.polyfill {
|
|
1505
1505
|
class MediaCapabilities {
|
|
1506
1506
|
private noStructuralTyping_shaka_polyfill_MediaCapabilities : any;
|
|
@@ -1516,7 +1516,7 @@ declare namespace shaka.polyfill {
|
|
|
1516
1516
|
static originalMcap : any | null ;
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
// Generated from /home/
|
|
1519
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1520
1520
|
declare namespace shaka.polyfill {
|
|
1521
1521
|
class MediaSource {
|
|
1522
1522
|
private noStructuralTyping_shaka_polyfill_MediaSource : any;
|
|
@@ -1526,7 +1526,7 @@ declare namespace shaka.polyfill {
|
|
|
1526
1526
|
static install ( ) : any ;
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
|
-
// Generated from /home/
|
|
1529
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1530
1530
|
declare namespace shaka.polyfill {
|
|
1531
1531
|
class Orientation {
|
|
1532
1532
|
private noStructuralTyping_shaka_polyfill_Orientation : any;
|
|
@@ -1536,7 +1536,7 @@ declare namespace shaka.polyfill {
|
|
|
1536
1536
|
static install ( ) : any ;
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
// Generated from /home/
|
|
1539
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1540
1540
|
declare namespace shaka.polyfill {
|
|
1541
1541
|
class PatchedMediaKeysApple {
|
|
1542
1542
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysApple : any;
|
|
@@ -1546,7 +1546,7 @@ declare namespace shaka.polyfill {
|
|
|
1546
1546
|
static install ( ) : any ;
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
// Generated from /home/
|
|
1549
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1550
1550
|
declare namespace shaka.polyfill {
|
|
1551
1551
|
class PatchedMediaKeysMs {
|
|
1552
1552
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysMs : any;
|
|
@@ -1556,7 +1556,7 @@ declare namespace shaka.polyfill {
|
|
|
1556
1556
|
static install ( ) : any ;
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
|
-
// Generated from /home/
|
|
1559
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1560
1560
|
declare namespace shaka.polyfill {
|
|
1561
1561
|
class PatchedMediaKeysNop {
|
|
1562
1562
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysNop : any;
|
|
@@ -1566,7 +1566,7 @@ declare namespace shaka.polyfill {
|
|
|
1566
1566
|
static install ( ) : any ;
|
|
1567
1567
|
}
|
|
1568
1568
|
}
|
|
1569
|
-
// Generated from /home/
|
|
1569
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1570
1570
|
declare namespace shaka.polyfill {
|
|
1571
1571
|
class PatchedMediaKeysWebkit {
|
|
1572
1572
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysWebkit : any;
|
|
@@ -1576,7 +1576,7 @@ declare namespace shaka.polyfill {
|
|
|
1576
1576
|
static install ( ) : any ;
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
|
-
// Generated from /home/
|
|
1579
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1580
1580
|
declare namespace shaka.polyfill {
|
|
1581
1581
|
class PiPWebkit {
|
|
1582
1582
|
private noStructuralTyping_shaka_polyfill_PiPWebkit : any;
|
|
@@ -1586,7 +1586,7 @@ declare namespace shaka.polyfill {
|
|
|
1586
1586
|
static install ( ) : any ;
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
|
-
// Generated from /home/
|
|
1589
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1590
1590
|
declare namespace shaka.polyfill {
|
|
1591
1591
|
class RandomUUID {
|
|
1592
1592
|
private noStructuralTyping_shaka_polyfill_RandomUUID : any;
|
|
@@ -1596,7 +1596,7 @@ declare namespace shaka.polyfill {
|
|
|
1596
1596
|
static install ( ) : any ;
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
|
-
// Generated from /home/
|
|
1599
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1600
1600
|
declare namespace shaka.polyfill {
|
|
1601
1601
|
class StorageEstimate {
|
|
1602
1602
|
private noStructuralTyping_shaka_polyfill_StorageEstimate : any;
|
|
@@ -1606,7 +1606,7 @@ declare namespace shaka.polyfill {
|
|
|
1606
1606
|
static install ( ) : any ;
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
|
-
// Generated from /home/
|
|
1609
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1610
1610
|
declare namespace shaka.polyfill {
|
|
1611
1611
|
class Symbol {
|
|
1612
1612
|
private noStructuralTyping_shaka_polyfill_Symbol : any;
|
|
@@ -1616,7 +1616,7 @@ declare namespace shaka.polyfill {
|
|
|
1616
1616
|
static install ( ) : any ;
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
-
// Generated from /home/
|
|
1619
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1620
1620
|
declare namespace shaka.polyfill {
|
|
1621
1621
|
class VTTCue {
|
|
1622
1622
|
private noStructuralTyping_shaka_polyfill_VTTCue : any;
|
|
@@ -1626,7 +1626,7 @@ declare namespace shaka.polyfill {
|
|
|
1626
1626
|
static install ( ) : any ;
|
|
1627
1627
|
}
|
|
1628
1628
|
}
|
|
1629
|
-
// Generated from /home/
|
|
1629
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1630
1630
|
declare namespace shaka.polyfill {
|
|
1631
1631
|
class VideoPlayPromise {
|
|
1632
1632
|
private noStructuralTyping_shaka_polyfill_VideoPlayPromise : any;
|
|
@@ -1636,7 +1636,7 @@ declare namespace shaka.polyfill {
|
|
|
1636
1636
|
static install ( ) : any ;
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
|
-
// Generated from /home/
|
|
1639
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1640
1640
|
declare namespace shaka.polyfill {
|
|
1641
1641
|
class VideoPlaybackQuality {
|
|
1642
1642
|
private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
|
|
@@ -1646,7 +1646,7 @@ declare namespace shaka.polyfill {
|
|
|
1646
1646
|
static install ( ) : any ;
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
|
-
// Generated from /home/
|
|
1649
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1650
1650
|
declare namespace shaka.text {
|
|
1651
1651
|
class Cue implements shaka.extern.Cue {
|
|
1652
1652
|
private noStructuralTyping_shaka_text_Cue : any;
|
|
@@ -1695,7 +1695,7 @@ declare namespace shaka.text {
|
|
|
1695
1695
|
writingMode : any ;
|
|
1696
1696
|
}
|
|
1697
1697
|
}
|
|
1698
|
-
// Generated from /home/
|
|
1698
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1699
1699
|
declare namespace shaka.text.Cue {
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Default text background color according to
|
|
@@ -1716,7 +1716,7 @@ declare namespace shaka.text.Cue {
|
|
|
1716
1716
|
bg_yellow = '#FF0' ,
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
|
-
// Generated from /home/
|
|
1719
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1720
1720
|
declare namespace shaka.text.Cue {
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Default text color according to
|
|
@@ -1737,14 +1737,14 @@ declare namespace shaka.text.Cue {
|
|
|
1737
1737
|
yellow = '#FF0' ,
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
|
-
// Generated from /home/
|
|
1740
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1741
1741
|
declare namespace shaka.text.Cue {
|
|
1742
1742
|
enum direction {
|
|
1743
1743
|
HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
|
|
1744
1744
|
HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
|
-
// Generated from /home/
|
|
1747
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1748
1748
|
declare namespace shaka.text.Cue {
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Vertical alignments of the cues within their extents.
|
|
@@ -1762,7 +1762,7 @@ declare namespace shaka.text.Cue {
|
|
|
1762
1762
|
CENTER = 'center' ,
|
|
1763
1763
|
}
|
|
1764
1764
|
}
|
|
1765
|
-
// Generated from /home/
|
|
1765
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1766
1766
|
declare namespace shaka.text.Cue {
|
|
1767
1767
|
enum fontStyle {
|
|
1768
1768
|
ITALIC = 'italic' ,
|
|
@@ -1770,7 +1770,7 @@ declare namespace shaka.text.Cue {
|
|
|
1770
1770
|
OBLIQUE = 'oblique' ,
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
-
// Generated from /home/
|
|
1773
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1774
1774
|
declare namespace shaka.text.Cue {
|
|
1775
1775
|
/**
|
|
1776
1776
|
* In CSS font weight can be a number, where 400 is normal and 700 is bold.
|
|
@@ -1785,7 +1785,7 @@ declare namespace shaka.text.Cue {
|
|
|
1785
1785
|
NORMAL = 400.0 ,
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
|
-
// Generated from /home/
|
|
1788
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1789
1789
|
declare namespace shaka.text.Cue {
|
|
1790
1790
|
enum lineAlign {
|
|
1791
1791
|
CENTER = 'center' ,
|
|
@@ -1793,14 +1793,14 @@ declare namespace shaka.text.Cue {
|
|
|
1793
1793
|
START = 'start' ,
|
|
1794
1794
|
}
|
|
1795
1795
|
}
|
|
1796
|
-
// Generated from /home/
|
|
1796
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1797
1797
|
declare namespace shaka.text.Cue {
|
|
1798
1798
|
enum lineInterpretation {
|
|
1799
1799
|
LINE_NUMBER = 0.0 ,
|
|
1800
1800
|
PERCENTAGE = 1.0 ,
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
|
-
// Generated from /home/
|
|
1803
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1804
1804
|
declare namespace shaka.text.Cue {
|
|
1805
1805
|
enum positionAlign {
|
|
1806
1806
|
AUTO = 'auto' ,
|
|
@@ -1809,7 +1809,7 @@ declare namespace shaka.text.Cue {
|
|
|
1809
1809
|
RIGHT = 'line-right' ,
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
|
-
// Generated from /home/
|
|
1812
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1813
1813
|
declare namespace shaka.text.Cue {
|
|
1814
1814
|
enum textAlign {
|
|
1815
1815
|
CENTER = 'center' ,
|
|
@@ -1819,7 +1819,7 @@ declare namespace shaka.text.Cue {
|
|
|
1819
1819
|
START = 'start' ,
|
|
1820
1820
|
}
|
|
1821
1821
|
}
|
|
1822
|
-
// Generated from /home/
|
|
1822
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1823
1823
|
declare namespace shaka.text.Cue {
|
|
1824
1824
|
enum textDecoration {
|
|
1825
1825
|
LINE_THROUGH = 'lineThrough' ,
|
|
@@ -1827,7 +1827,7 @@ declare namespace shaka.text.Cue {
|
|
|
1827
1827
|
UNDERLINE = 'underline' ,
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
|
-
// Generated from /home/
|
|
1830
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1831
1831
|
declare namespace shaka.text.Cue {
|
|
1832
1832
|
enum writingMode {
|
|
1833
1833
|
HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
|
|
@@ -1835,7 +1835,7 @@ declare namespace shaka.text.Cue {
|
|
|
1835
1835
|
VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
|
-
// Generated from /home/
|
|
1838
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1839
1839
|
declare namespace shaka.text {
|
|
1840
1840
|
class CueRegion implements shaka.extern.CueRegion {
|
|
1841
1841
|
private noStructuralTyping_shaka_text_CueRegion : any;
|
|
@@ -1852,14 +1852,14 @@ declare namespace shaka.text {
|
|
|
1852
1852
|
widthUnits : any ;
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
// Generated from /home/
|
|
1855
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1856
1856
|
declare namespace shaka.text.CueRegion {
|
|
1857
1857
|
enum scrollMode {
|
|
1858
1858
|
NONE = '' ,
|
|
1859
1859
|
UP = 'up' ,
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
// Generated from /home/
|
|
1862
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1863
1863
|
declare namespace shaka.text.CueRegion {
|
|
1864
1864
|
enum units {
|
|
1865
1865
|
LINES = 2.0 ,
|
|
@@ -1867,7 +1867,7 @@ declare namespace shaka.text.CueRegion {
|
|
|
1867
1867
|
PX = 0.0 ,
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
|
-
// Generated from /home/
|
|
1870
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1871
1871
|
declare namespace shaka.text {
|
|
1872
1872
|
/**
|
|
1873
1873
|
* LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
|
|
@@ -1878,7 +1878,7 @@ declare namespace shaka.text {
|
|
|
1878
1878
|
parseMedia (data : any , time : any ) : any ;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
// Generated from /home/
|
|
1881
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1882
1882
|
declare namespace shaka.text {
|
|
1883
1883
|
class Mp4TtmlParser implements shaka.extern.TextParser {
|
|
1884
1884
|
private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
|
|
@@ -1886,7 +1886,7 @@ declare namespace shaka.text {
|
|
|
1886
1886
|
parseMedia (data : any , time : any ) : any ;
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
|
-
// Generated from /home/
|
|
1889
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1890
1890
|
declare namespace shaka.text {
|
|
1891
1891
|
class Mp4VttParser implements shaka.extern.TextParser {
|
|
1892
1892
|
private noStructuralTyping_shaka_text_Mp4VttParser : any;
|
|
@@ -1894,7 +1894,7 @@ declare namespace shaka.text {
|
|
|
1894
1894
|
parseMedia (data : any , time : any ) : any ;
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
1897
|
-
// Generated from /home/
|
|
1897
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1898
1898
|
declare namespace shaka.text {
|
|
1899
1899
|
class SbvTextParser implements shaka.extern.TextParser {
|
|
1900
1900
|
private noStructuralTyping_shaka_text_SbvTextParser : any;
|
|
@@ -1902,7 +1902,7 @@ declare namespace shaka.text {
|
|
|
1902
1902
|
parseMedia (data : any , time : any ) : any ;
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
|
-
// Generated from /home/
|
|
1905
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1906
1906
|
declare namespace shaka.text {
|
|
1907
1907
|
/**
|
|
1908
1908
|
* A text displayer plugin using the browser's native VTTCue interface.
|
|
@@ -1920,7 +1920,7 @@ declare namespace shaka.text {
|
|
|
1920
1920
|
setTextVisibility (on : any ) : any ;
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
// Generated from /home/
|
|
1923
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1924
1924
|
declare namespace shaka.text {
|
|
1925
1925
|
class SrtTextParser implements shaka.extern.TextParser {
|
|
1926
1926
|
private noStructuralTyping_shaka_text_SrtTextParser : any;
|
|
@@ -1932,7 +1932,7 @@ declare namespace shaka.text {
|
|
|
1932
1932
|
static srt2webvtt (data : string ) : string ;
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
|
-
// Generated from /home/
|
|
1935
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1936
1936
|
declare namespace shaka.text {
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Documentation: http://moodub.free.fr/video/ass-specs.doc
|
|
@@ -1944,7 +1944,7 @@ declare namespace shaka.text {
|
|
|
1944
1944
|
parseMedia (data : any , time : any ) : any ;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
// Generated from /home/
|
|
1947
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1948
1948
|
declare namespace shaka.text {
|
|
1949
1949
|
class TextEngine implements shaka.util.IDestroyable {
|
|
1950
1950
|
private noStructuralTyping_shaka_text_TextEngine : any;
|
|
@@ -1955,7 +1955,7 @@ declare namespace shaka.text {
|
|
|
1955
1955
|
static unregisterParser (mimeType : string ) : any ;
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
|
-
// Generated from /home/
|
|
1958
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1959
1959
|
declare namespace shaka.text {
|
|
1960
1960
|
class TtmlTextParser implements shaka.extern.TextParser {
|
|
1961
1961
|
private noStructuralTyping_shaka_text_TtmlTextParser : any;
|
|
@@ -1963,7 +1963,7 @@ declare namespace shaka.text {
|
|
|
1963
1963
|
parseMedia (data : any , time : any ) : any ;
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
|
-
// Generated from /home/
|
|
1966
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1967
1967
|
declare namespace shaka.text {
|
|
1968
1968
|
/**
|
|
1969
1969
|
* The text displayer plugin for the Shaka Player UI. Can also be used directly
|
|
@@ -1983,7 +1983,7 @@ declare namespace shaka.text {
|
|
|
1983
1983
|
setTextVisibility (on : any ) : any ;
|
|
1984
1984
|
}
|
|
1985
1985
|
}
|
|
1986
|
-
// Generated from /home/
|
|
1986
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1987
1987
|
declare namespace shaka.text {
|
|
1988
1988
|
class VttTextParser implements shaka.extern.TextParser {
|
|
1989
1989
|
private noStructuralTyping_shaka_text_VttTextParser : any;
|
|
@@ -1991,13 +1991,13 @@ declare namespace shaka.text {
|
|
|
1991
1991
|
parseMedia (data : any , time : any ) : any ;
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
|
-
// Generated from /home/
|
|
1994
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
1995
1995
|
declare namespace shaka.text {
|
|
1996
1996
|
class WebVttGenerator {
|
|
1997
1997
|
private noStructuralTyping_shaka_text_WebVttGenerator : any;
|
|
1998
1998
|
}
|
|
1999
1999
|
}
|
|
2000
|
-
// Generated from /home/
|
|
2000
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2001
2001
|
declare namespace shaka.util {
|
|
2002
2002
|
/**
|
|
2003
2003
|
* A utility to wrap abortable operations. Note that these are not cancelable.
|
|
@@ -2023,7 +2023,7 @@ declare namespace shaka.util {
|
|
|
2023
2023
|
static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
|
-
// Generated from /home/
|
|
2026
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2027
2027
|
declare namespace shaka.util {
|
|
2028
2028
|
class BufferUtils {
|
|
2029
2029
|
private noStructuralTyping_shaka_util_BufferUtils : any;
|
|
@@ -2053,15 +2053,15 @@ declare namespace shaka.util {
|
|
|
2053
2053
|
static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
|
-
// Generated from /home/
|
|
2056
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2057
2057
|
declare namespace shaka.util.CmcdManager {
|
|
2058
2058
|
type ManifestInfo = { format : shaka.util.CmcdManager.StreamingFormat } ;
|
|
2059
2059
|
}
|
|
2060
|
-
// Generated from /home/
|
|
2060
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2061
2061
|
declare namespace shaka.util.CmcdManager {
|
|
2062
2062
|
type SegmentInfo = { bandwidth ? : number , codecs : string , duration : number , init : boolean , mimeType : string , type : string } ;
|
|
2063
2063
|
}
|
|
2064
|
-
// Generated from /home/
|
|
2064
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2065
2065
|
declare namespace shaka.util.CmcdManager {
|
|
2066
2066
|
enum StreamingFormat {
|
|
2067
2067
|
DASH = 'd' ,
|
|
@@ -2070,7 +2070,7 @@ declare namespace shaka.util.CmcdManager {
|
|
|
2070
2070
|
SMOOTH = 's' ,
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
|
-
// Generated from /home/
|
|
2073
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2074
2074
|
declare namespace shaka.util {
|
|
2075
2075
|
class ConfigUtils {
|
|
2076
2076
|
private noStructuralTyping_shaka_util_ConfigUtils : any;
|
|
@@ -2083,7 +2083,7 @@ declare namespace shaka.util {
|
|
|
2083
2083
|
static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
// Generated from /home/
|
|
2086
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2087
2087
|
declare namespace shaka.util {
|
|
2088
2088
|
class DataViewReader {
|
|
2089
2089
|
private noStructuralTyping_shaka_util_DataViewReader : any;
|
|
@@ -2144,7 +2144,7 @@ declare namespace shaka.util {
|
|
|
2144
2144
|
skip (bytes : number ) : any ;
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
|
-
// Generated from /home/
|
|
2147
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2148
2148
|
declare namespace shaka.util.DataViewReader {
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Endianness.
|
|
@@ -2157,7 +2157,7 @@ declare namespace shaka.util.DataViewReader {
|
|
|
2157
2157
|
LITTLE_ENDIAN = 1.0 ,
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
// Generated from /home/
|
|
2160
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2161
2161
|
declare namespace shaka.util {
|
|
2162
2162
|
class Dom {
|
|
2163
2163
|
private noStructuralTyping_shaka_util_Dom : any;
|
|
@@ -2167,7 +2167,7 @@ declare namespace shaka.util {
|
|
|
2167
2167
|
static removeAllChildren (element : Element ) : any ;
|
|
2168
2168
|
}
|
|
2169
2169
|
}
|
|
2170
|
-
// Generated from /home/
|
|
2170
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2171
2171
|
declare namespace shaka.util {
|
|
2172
2172
|
class Error extends GlobalError implements shaka.extern.Error {
|
|
2173
2173
|
private noStructuralTyping_shaka_util_Error : any;
|
|
@@ -2179,7 +2179,7 @@ declare namespace shaka.util {
|
|
|
2179
2179
|
severity : any ;
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
|
-
// Generated from /home/
|
|
2182
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2183
2183
|
declare namespace shaka.util.Error {
|
|
2184
2184
|
enum Category {
|
|
2185
2185
|
ADS = 10.0 ,
|
|
@@ -2194,7 +2194,7 @@ declare namespace shaka.util.Error {
|
|
|
2194
2194
|
TEXT = 2.0 ,
|
|
2195
2195
|
}
|
|
2196
2196
|
}
|
|
2197
|
-
// Generated from /home/
|
|
2197
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2198
2198
|
declare namespace shaka.util.Error {
|
|
2199
2199
|
enum Code {
|
|
2200
2200
|
ALREADY_CASTING = 8002.0 ,
|
|
@@ -2209,6 +2209,7 @@ declare namespace shaka.util.Error {
|
|
|
2209
2209
|
CAST_CANCELED_BY_USER = 8004.0 ,
|
|
2210
2210
|
CAST_CONNECTION_TIMED_OUT = 8005.0 ,
|
|
2211
2211
|
CAST_RECEIVER_APP_UNAVAILABLE = 8006.0 ,
|
|
2212
|
+
CHAPTERS_TRACK_FAILED = 2015.0 ,
|
|
2212
2213
|
CONTENT_NOT_LOADED = 7004.0 ,
|
|
2213
2214
|
CONTENT_TRANSFORMATION_FAILED = 3019.0 ,
|
|
2214
2215
|
CONTENT_UNSUPPORTED_BY_BROWSER = 4032.0 ,
|
|
@@ -2323,14 +2324,14 @@ declare namespace shaka.util.Error {
|
|
|
2323
2324
|
WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
|
|
2324
2325
|
}
|
|
2325
2326
|
}
|
|
2326
|
-
// Generated from /home/
|
|
2327
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2327
2328
|
declare namespace shaka.util.Error {
|
|
2328
2329
|
enum Severity {
|
|
2329
2330
|
CRITICAL = 2.0 ,
|
|
2330
2331
|
RECOVERABLE = 1.0 ,
|
|
2331
2332
|
}
|
|
2332
2333
|
}
|
|
2333
|
-
// Generated from /home/
|
|
2334
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2334
2335
|
declare namespace shaka.util {
|
|
2335
2336
|
class EventManager implements shaka.util.IReleasable {
|
|
2336
2337
|
private noStructuralTyping_shaka_util_EventManager : any;
|
|
@@ -2368,11 +2369,11 @@ declare namespace shaka.util {
|
|
|
2368
2369
|
unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
|
|
2369
2370
|
}
|
|
2370
2371
|
}
|
|
2371
|
-
// Generated from /home/
|
|
2372
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2372
2373
|
declare namespace shaka.util.EventManager {
|
|
2373
2374
|
type ListenerType = (a : Event ) => any ;
|
|
2374
2375
|
}
|
|
2375
|
-
// Generated from /home/
|
|
2376
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2376
2377
|
declare namespace shaka.util {
|
|
2377
2378
|
class FairPlayUtils {
|
|
2378
2379
|
private noStructuralTyping_shaka_util_FairPlayUtils : any;
|
|
@@ -2396,14 +2397,14 @@ declare namespace shaka.util {
|
|
|
2396
2397
|
static initDataTransform (initData : ArrayBuffer | ArrayBufferView , contentId : ArrayBuffer | ArrayBufferView | string , cert : ArrayBuffer | ArrayBufferView | null ) : Uint8Array ;
|
|
2397
2398
|
}
|
|
2398
2399
|
}
|
|
2399
|
-
// Generated from /home/
|
|
2400
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2400
2401
|
declare namespace shaka.util {
|
|
2401
2402
|
class FakeEvent extends Event {
|
|
2402
2403
|
private noStructuralTyping_shaka_util_FakeEvent : any;
|
|
2403
2404
|
constructor (type : string , dict ? : Map < string , object | null > | null ) ;
|
|
2404
2405
|
}
|
|
2405
2406
|
}
|
|
2406
|
-
// Generated from /home/
|
|
2407
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2407
2408
|
declare namespace shaka.util {
|
|
2408
2409
|
class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
|
|
2409
2410
|
private noStructuralTyping_shaka_util_FakeEventTarget : any;
|
|
@@ -2435,14 +2436,14 @@ declare namespace shaka.util {
|
|
|
2435
2436
|
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
|
|
2436
2437
|
}
|
|
2437
2438
|
}
|
|
2438
|
-
// Generated from /home/
|
|
2439
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2439
2440
|
declare namespace shaka.util.FakeEventTarget {
|
|
2440
2441
|
/**
|
|
2441
2442
|
* These are the listener types defined in the closure extern for EventTarget.
|
|
2442
2443
|
*/
|
|
2443
2444
|
type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
|
|
2444
2445
|
}
|
|
2445
|
-
// Generated from /home/
|
|
2446
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2446
2447
|
declare namespace shaka.util {
|
|
2447
2448
|
/**
|
|
2448
2449
|
* An interface to standardize how objects are destroyed.
|
|
@@ -2456,7 +2457,7 @@ declare namespace shaka.util {
|
|
|
2456
2457
|
destroy ( ) : Promise < any > ;
|
|
2457
2458
|
}
|
|
2458
2459
|
}
|
|
2459
|
-
// Generated from /home/
|
|
2460
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2460
2461
|
declare namespace shaka.util {
|
|
2461
2462
|
/**
|
|
2462
2463
|
* An interface to standardize how objects release internal references
|
|
@@ -2470,7 +2471,7 @@ declare namespace shaka.util {
|
|
|
2470
2471
|
release ( ) : any ;
|
|
2471
2472
|
}
|
|
2472
2473
|
}
|
|
2473
|
-
// Generated from /home/
|
|
2474
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2474
2475
|
declare namespace shaka.util {
|
|
2475
2476
|
class LanguageUtils {
|
|
2476
2477
|
private noStructuralTyping_shaka_util_LanguageUtils : any;
|
|
@@ -2584,7 +2585,7 @@ declare namespace shaka.util {
|
|
|
2584
2585
|
static relatedness (target : string , candidate : string ) : number ;
|
|
2585
2586
|
}
|
|
2586
2587
|
}
|
|
2587
|
-
// Generated from /home/
|
|
2588
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2588
2589
|
declare namespace shaka.util {
|
|
2589
2590
|
class Mp4Parser {
|
|
2590
2591
|
private noStructuralTyping_shaka_util_Mp4Parser : any;
|
|
@@ -2644,11 +2645,11 @@ declare namespace shaka.util {
|
|
|
2644
2645
|
static typeToString (type : number ) : string ;
|
|
2645
2646
|
}
|
|
2646
2647
|
}
|
|
2647
|
-
// Generated from /home/
|
|
2648
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2648
2649
|
declare namespace shaka.util.Mp4Parser {
|
|
2649
2650
|
type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
|
|
2650
2651
|
}
|
|
2651
|
-
// Generated from /home/
|
|
2652
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2652
2653
|
declare namespace shaka.util {
|
|
2653
2654
|
class PlayerConfiguration {
|
|
2654
2655
|
private noStructuralTyping_shaka_util_PlayerConfiguration : any;
|
|
@@ -2659,7 +2660,7 @@ declare namespace shaka.util {
|
|
|
2659
2660
|
static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
|
|
2660
2661
|
}
|
|
2661
2662
|
}
|
|
2662
|
-
// Generated from /home/
|
|
2663
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2663
2664
|
declare namespace shaka.util {
|
|
2664
2665
|
class StringUtils {
|
|
2665
2666
|
private noStructuralTyping_shaka_util_StringUtils : any;
|
|
@@ -2693,7 +2694,7 @@ declare namespace shaka.util {
|
|
|
2693
2694
|
static toUTF8 (str : string ) : ArrayBuffer ;
|
|
2694
2695
|
}
|
|
2695
2696
|
}
|
|
2696
|
-
// Generated from /home/
|
|
2697
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2697
2698
|
declare namespace shaka.util {
|
|
2698
2699
|
/**
|
|
2699
2700
|
* A timer allows a single function to be executed at a later time or at
|
|
@@ -2722,7 +2723,7 @@ declare namespace shaka.util {
|
|
|
2722
2723
|
tickNow ( ) : shaka.util.Timer ;
|
|
2723
2724
|
}
|
|
2724
2725
|
}
|
|
2725
|
-
// Generated from /home/
|
|
2726
|
+
// Generated from /home/joey/hacking/work/clean/dist/shaka-player.compiled.debug.externs.js
|
|
2726
2727
|
declare namespace shaka.util {
|
|
2727
2728
|
class Uint8ArrayUtils {
|
|
2728
2729
|
private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
|
|
@@ -2760,7 +2761,7 @@ declare namespace shaka.util {
|
|
|
2760
2761
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
2761
2762
|
}
|
|
2762
2763
|
}
|
|
2763
|
-
// Generated from /home/
|
|
2764
|
+
// Generated from /home/joey/hacking/work/clean/externs/airplay.js
|
|
2764
2765
|
declare namespace ಠ_ಠ.clutz {
|
|
2765
2766
|
class AirPlayEvent extends Event {
|
|
2766
2767
|
private noStructuralTyping_AirPlayEvent : any;
|
|
@@ -2768,7 +2769,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2768
2769
|
availability : String | null ;
|
|
2769
2770
|
}
|
|
2770
2771
|
}
|
|
2771
|
-
// Generated from /home/
|
|
2772
|
+
// Generated from /home/joey/hacking/work/clean/externs/awesomplete.js
|
|
2772
2773
|
declare namespace ಠ_ಠ.clutz {
|
|
2773
2774
|
class Awesomplete {
|
|
2774
2775
|
private noStructuralTyping_Awesomplete : any;
|
|
@@ -2778,18 +2779,18 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
2778
2779
|
evaluate ( ) : any ;
|
|
2779
2780
|
}
|
|
2780
2781
|
}
|
|
2781
|
-
// Generated from /home/
|
|
2782
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2782
2783
|
declare namespace ಠ_ಠ.clutz {
|
|
2783
2784
|
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
2784
2785
|
}
|
|
2785
|
-
// Generated from /home/
|
|
2786
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2786
2787
|
declare namespace cast.receiver {
|
|
2787
2788
|
class CastChannel {
|
|
2788
2789
|
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
2789
2790
|
send (message : any ) : any ;
|
|
2790
2791
|
}
|
|
2791
2792
|
}
|
|
2792
|
-
// Generated from /home/
|
|
2793
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2793
2794
|
declare namespace cast.receiver {
|
|
2794
2795
|
class CastMessageBus {
|
|
2795
2796
|
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
@@ -2798,7 +2799,7 @@ declare namespace cast.receiver {
|
|
|
2798
2799
|
onMessage : Function | null ;
|
|
2799
2800
|
}
|
|
2800
2801
|
}
|
|
2801
|
-
// Generated from /home/
|
|
2802
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2802
2803
|
declare namespace cast.receiver.CastMessageBus {
|
|
2803
2804
|
class Event {
|
|
2804
2805
|
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
@@ -2806,7 +2807,7 @@ declare namespace cast.receiver.CastMessageBus {
|
|
|
2806
2807
|
senderId : string ;
|
|
2807
2808
|
}
|
|
2808
2809
|
}
|
|
2809
|
-
// Generated from /home/
|
|
2810
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2810
2811
|
declare namespace cast.receiver {
|
|
2811
2812
|
class CastReceiverManager {
|
|
2812
2813
|
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
@@ -2824,7 +2825,7 @@ declare namespace cast.receiver {
|
|
|
2824
2825
|
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
2825
2826
|
}
|
|
2826
2827
|
}
|
|
2827
|
-
// Generated from /home/
|
|
2828
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2828
2829
|
declare namespace cast.receiver.media {
|
|
2829
2830
|
enum MetadataType {
|
|
2830
2831
|
GENERIC = 0.0 ,
|
|
@@ -2834,7 +2835,7 @@ declare namespace cast.receiver.media {
|
|
|
2834
2835
|
TV_SHOW = 2.0 ,
|
|
2835
2836
|
}
|
|
2836
2837
|
}
|
|
2837
|
-
// Generated from /home/
|
|
2838
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2838
2839
|
declare namespace cast.receiver.system {
|
|
2839
2840
|
class SystemVolumeData {
|
|
2840
2841
|
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
@@ -2842,14 +2843,14 @@ declare namespace cast.receiver.system {
|
|
|
2842
2843
|
muted : boolean ;
|
|
2843
2844
|
}
|
|
2844
2845
|
}
|
|
2845
|
-
// Generated from /home/
|
|
2846
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2846
2847
|
declare namespace chrome.cast {
|
|
2847
2848
|
class ApiConfig {
|
|
2848
2849
|
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
2849
2850
|
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
2850
2851
|
}
|
|
2851
2852
|
}
|
|
2852
|
-
// Generated from /home/
|
|
2853
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2853
2854
|
declare namespace chrome.cast {
|
|
2854
2855
|
class Error {
|
|
2855
2856
|
private noStructuralTyping_chrome_cast_Error : any;
|
|
@@ -2859,14 +2860,14 @@ declare namespace chrome.cast {
|
|
|
2859
2860
|
details : object | null ;
|
|
2860
2861
|
}
|
|
2861
2862
|
}
|
|
2862
|
-
// Generated from /home/
|
|
2863
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2863
2864
|
declare namespace chrome.cast {
|
|
2864
2865
|
class Receiver {
|
|
2865
2866
|
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
2866
2867
|
friendlyName : string ;
|
|
2867
2868
|
}
|
|
2868
2869
|
}
|
|
2869
|
-
// Generated from /home/
|
|
2870
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2870
2871
|
declare namespace chrome.cast {
|
|
2871
2872
|
class Session {
|
|
2872
2873
|
private noStructuralTyping_chrome_cast_Session : any;
|
|
@@ -2882,32 +2883,32 @@ declare namespace chrome.cast {
|
|
|
2882
2883
|
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
2883
2884
|
}
|
|
2884
2885
|
}
|
|
2885
|
-
// Generated from /home/
|
|
2886
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2886
2887
|
declare namespace chrome.cast {
|
|
2887
2888
|
class SessionRequest {
|
|
2888
2889
|
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
2889
2890
|
constructor (appId : string ) ;
|
|
2890
2891
|
}
|
|
2891
2892
|
}
|
|
2892
|
-
// Generated from /home/
|
|
2893
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2893
2894
|
declare namespace chrome.cast.SessionStatus {
|
|
2894
2895
|
let STOPPED : string ;
|
|
2895
2896
|
}
|
|
2896
|
-
// Generated from /home/
|
|
2897
|
+
// Generated from /home/joey/hacking/work/clean/externs/chromecast.js
|
|
2897
2898
|
declare namespace chrome.cast {
|
|
2898
2899
|
let isAvailable : boolean ;
|
|
2899
2900
|
}
|
|
2900
|
-
// Generated from /home/
|
|
2901
|
+
// Generated from /home/joey/hacking/work/clean/externs/cmcd.js
|
|
2901
2902
|
declare namespace ಠ_ಠ.clutz {
|
|
2902
2903
|
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 } ;
|
|
2903
2904
|
}
|
|
2904
|
-
// Generated from /home/
|
|
2905
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2905
2906
|
declare namespace google.ima.AdErrorEvent {
|
|
2906
2907
|
enum Type {
|
|
2907
2908
|
AD_ERROR = 'AD_ERROR' ,
|
|
2908
2909
|
}
|
|
2909
2910
|
}
|
|
2910
|
-
// Generated from /home/
|
|
2911
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2911
2912
|
declare namespace google.ima.AdEvent {
|
|
2912
2913
|
enum Type {
|
|
2913
2914
|
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
@@ -2939,7 +2940,7 @@ declare namespace google.ima.AdEvent {
|
|
|
2939
2940
|
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
2940
2941
|
}
|
|
2941
2942
|
}
|
|
2942
|
-
// Generated from /home/
|
|
2943
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2943
2944
|
declare namespace google.ima {
|
|
2944
2945
|
class AdsLoader implements EventTarget {
|
|
2945
2946
|
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
@@ -2953,7 +2954,7 @@ declare namespace google.ima {
|
|
|
2953
2954
|
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
2954
2955
|
}
|
|
2955
2956
|
}
|
|
2956
|
-
// Generated from /home/
|
|
2957
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2957
2958
|
declare namespace google.ima {
|
|
2958
2959
|
class AdsManager implements EventTarget {
|
|
2959
2960
|
private noStructuralTyping_google_ima_AdsManager : any;
|
|
@@ -2975,17 +2976,17 @@ declare namespace google.ima {
|
|
|
2975
2976
|
stop ( ) : any ;
|
|
2976
2977
|
}
|
|
2977
2978
|
}
|
|
2978
|
-
// Generated from /home/
|
|
2979
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2979
2980
|
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
2980
2981
|
enum Type {
|
|
2981
2982
|
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
2982
2983
|
}
|
|
2983
2984
|
}
|
|
2984
|
-
// Generated from /home/
|
|
2985
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2985
2986
|
declare namespace google.ima {
|
|
2986
2987
|
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
2987
2988
|
}
|
|
2988
|
-
// Generated from /home/
|
|
2989
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2989
2990
|
declare namespace google.ima.ImaSdkSettings {
|
|
2990
2991
|
enum VpaidMode {
|
|
2991
2992
|
DISABLED = 0.0 ,
|
|
@@ -2993,14 +2994,14 @@ declare namespace google.ima.ImaSdkSettings {
|
|
|
2993
2994
|
INSECURE = 2.0 ,
|
|
2994
2995
|
}
|
|
2995
2996
|
}
|
|
2996
|
-
// Generated from /home/
|
|
2997
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
2997
2998
|
declare namespace google.ima {
|
|
2998
2999
|
enum ViewMode {
|
|
2999
3000
|
FULLSCREEN = 'FULLSCREEN' ,
|
|
3000
3001
|
NORMAL = 'NORMAL' ,
|
|
3001
3002
|
}
|
|
3002
3003
|
}
|
|
3003
|
-
// Generated from /home/
|
|
3004
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
3004
3005
|
declare namespace google.ima.dai.api.StreamEvent {
|
|
3005
3006
|
enum Type {
|
|
3006
3007
|
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
@@ -3023,7 +3024,7 @@ declare namespace google.ima.dai.api.StreamEvent {
|
|
|
3023
3024
|
VIDEO_CLICKED = 'videoClicked' ,
|
|
3024
3025
|
}
|
|
3025
3026
|
}
|
|
3026
|
-
// Generated from /home/
|
|
3027
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
3027
3028
|
declare namespace google.ima.dai.api {
|
|
3028
3029
|
class StreamManager implements EventTarget {
|
|
3029
3030
|
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
@@ -3042,11 +3043,11 @@ declare namespace google.ima.dai.api {
|
|
|
3042
3043
|
streamTimeForContentTime (contentTime : number ) : any ;
|
|
3043
3044
|
}
|
|
3044
3045
|
}
|
|
3045
|
-
// Generated from /home/
|
|
3046
|
+
// Generated from /home/joey/hacking/work/clean/externs/ima.js
|
|
3046
3047
|
declare namespace google.ima {
|
|
3047
3048
|
let settings : google.ima.ImaSdkSettings ;
|
|
3048
3049
|
}
|
|
3049
|
-
// Generated from /home/
|
|
3050
|
+
// Generated from /home/joey/hacking/work/clean/externs/jwk_set.js
|
|
3050
3051
|
declare namespace ಠ_ಠ.clutz {
|
|
3051
3052
|
/**
|
|
3052
3053
|
* A JSON Web Key.
|
|
@@ -3071,7 +3072,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3071
3072
|
kty : string ;
|
|
3072
3073
|
}
|
|
3073
3074
|
}
|
|
3074
|
-
// Generated from /home/
|
|
3075
|
+
// Generated from /home/joey/hacking/work/clean/externs/jwk_set.js
|
|
3075
3076
|
declare namespace ಠ_ಠ.clutz {
|
|
3076
3077
|
/**
|
|
3077
3078
|
* A JSON Web Key set.
|
|
@@ -3081,7 +3082,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3081
3082
|
keys : ( JWK | null ) [] | null ;
|
|
3082
3083
|
}
|
|
3083
3084
|
}
|
|
3084
|
-
// Generated from /home/
|
|
3085
|
+
// Generated from /home/joey/hacking/work/clean/externs/mdl.js
|
|
3085
3086
|
declare namespace ಠ_ಠ.clutz {
|
|
3086
3087
|
class MaterialLayout {
|
|
3087
3088
|
private noStructuralTyping_MaterialLayout : any;
|
|
@@ -3089,7 +3090,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3089
3090
|
toggleDrawer ( ) : any ;
|
|
3090
3091
|
}
|
|
3091
3092
|
}
|
|
3092
|
-
// Generated from /home/
|
|
3093
|
+
// Generated from /home/joey/hacking/work/clean/externs/mediasession.js
|
|
3093
3094
|
declare namespace ಠ_ಠ.clutz {
|
|
3094
3095
|
class MediaMetadata {
|
|
3095
3096
|
private noStructuralTyping_MediaMetadata : any;
|
|
@@ -3099,14 +3100,14 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3099
3100
|
title : string ;
|
|
3100
3101
|
}
|
|
3101
3102
|
}
|
|
3102
|
-
// Generated from /home/
|
|
3103
|
+
// Generated from /home/joey/hacking/work/clean/externs/mediasession.js
|
|
3103
3104
|
declare namespace ಠ_ಠ.clutz {
|
|
3104
3105
|
class MediaSession {
|
|
3105
3106
|
private noStructuralTyping_MediaSession : any;
|
|
3106
3107
|
metadata : MediaMetadata | null ;
|
|
3107
3108
|
}
|
|
3108
3109
|
}
|
|
3109
|
-
// Generated from /home/
|
|
3110
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3110
3111
|
declare namespace muxjs.mp4 {
|
|
3111
3112
|
class CaptionParser {
|
|
3112
3113
|
private noStructuralTyping_muxjs_mp4_CaptionParser : any;
|
|
@@ -3139,23 +3140,23 @@ declare namespace muxjs.mp4 {
|
|
|
3139
3140
|
resetCaptionStream ( ) : any ;
|
|
3140
3141
|
}
|
|
3141
3142
|
}
|
|
3142
|
-
// Generated from /home/
|
|
3143
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3143
3144
|
declare namespace muxjs.mp4 {
|
|
3144
3145
|
type ClosedCaption = { endPts : number , endTime : number , startPts : number , startTime : number , stream : string , text : string } ;
|
|
3145
3146
|
}
|
|
3146
|
-
// Generated from /home/
|
|
3147
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3147
3148
|
declare namespace muxjs.mp4 {
|
|
3148
3149
|
type Metadata = { cueTime : number , data : Uint8Array , dispatchType : string , dts : number , frames : muxjs.mp4.MetadataFrame [] , pts : number } ;
|
|
3149
3150
|
}
|
|
3150
|
-
// Generated from /home/
|
|
3151
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3151
3152
|
declare namespace muxjs.mp4 {
|
|
3152
3153
|
type MetadataFrame = { data : string , description : string , id : string , key : string , value : string } ;
|
|
3153
3154
|
}
|
|
3154
|
-
// Generated from /home/
|
|
3155
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3155
3156
|
declare namespace muxjs.mp4 {
|
|
3156
3157
|
type ParsedClosedCaptions = { captionStreams : { [ key: string ]: boolean } | null , captions : muxjs.mp4.ClosedCaption [] } ;
|
|
3157
3158
|
}
|
|
3158
|
-
// Generated from /home/
|
|
3159
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3159
3160
|
declare namespace muxjs.mp4 {
|
|
3160
3161
|
class Transmuxer {
|
|
3161
3162
|
private noStructuralTyping_muxjs_mp4_Transmuxer : any;
|
|
@@ -3181,11 +3182,11 @@ declare namespace muxjs.mp4 {
|
|
|
3181
3182
|
setBaseMediaDecodeTime (time : number ) : any ;
|
|
3182
3183
|
}
|
|
3183
3184
|
}
|
|
3184
|
-
// Generated from /home/
|
|
3185
|
+
// Generated from /home/joey/hacking/work/clean/externs/mux.js
|
|
3185
3186
|
declare namespace muxjs.mp4.Transmuxer {
|
|
3186
3187
|
type Segment = { captions : any [] , data : Uint8Array , initSegment : Uint8Array , metadata : any [] } ;
|
|
3187
3188
|
}
|
|
3188
|
-
// Generated from /home/
|
|
3189
|
+
// Generated from /home/joey/hacking/work/clean/externs/prefixed_eme.js
|
|
3189
3190
|
declare namespace ಠ_ಠ.clutz {
|
|
3190
3191
|
class MediaKeyError {
|
|
3191
3192
|
private noStructuralTyping_MediaKeyError : any;
|
|
@@ -3193,7 +3194,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3193
3194
|
systemCode : number ;
|
|
3194
3195
|
}
|
|
3195
3196
|
}
|
|
3196
|
-
// Generated from /home/
|
|
3197
|
+
// Generated from /home/joey/hacking/work/clean/externs/prefixed_eme.js
|
|
3197
3198
|
declare namespace ಠ_ಠ.clutz {
|
|
3198
3199
|
class MediaKeyEvent extends Event {
|
|
3199
3200
|
private noStructuralTyping_MediaKeyEvent : any;
|
|
@@ -3208,7 +3209,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3208
3209
|
target : HTMLMediaElement ;
|
|
3209
3210
|
}
|
|
3210
3211
|
}
|
|
3211
|
-
// Generated from /home/
|
|
3212
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abortable.js
|
|
3212
3213
|
declare namespace shaka.extern {
|
|
3213
3214
|
/**
|
|
3214
3215
|
* A representation of an abortable operation. Note that these are not
|
|
@@ -3234,7 +3235,7 @@ declare namespace shaka.extern {
|
|
|
3234
3235
|
promise : Promise < T > ;
|
|
3235
3236
|
}
|
|
3236
3237
|
}
|
|
3237
|
-
// Generated from /home/
|
|
3238
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3238
3239
|
declare namespace shaka.extern {
|
|
3239
3240
|
/**
|
|
3240
3241
|
* An object which selects Streams from a set of possible choices. This also
|
|
@@ -3301,14 +3302,14 @@ declare namespace shaka.extern {
|
|
|
3301
3302
|
stop ( ) : any ;
|
|
3302
3303
|
}
|
|
3303
3304
|
}
|
|
3304
|
-
// Generated from /home/
|
|
3305
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3305
3306
|
declare namespace shaka.extern.AbrManager {
|
|
3306
3307
|
/**
|
|
3307
3308
|
* A factory for creating the abr manager.
|
|
3308
3309
|
*/
|
|
3309
3310
|
type Factory = ( ) => shaka.extern.AbrManager ;
|
|
3310
3311
|
}
|
|
3311
|
-
// Generated from /home/
|
|
3312
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/abr_manager.js
|
|
3312
3313
|
declare namespace shaka.extern.AbrManager {
|
|
3313
3314
|
/**
|
|
3314
3315
|
* A callback into the Player that should be called when the AbrManager decides
|
|
@@ -3327,15 +3328,15 @@ declare namespace shaka.extern.AbrManager {
|
|
|
3327
3328
|
*/
|
|
3328
3329
|
type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
|
|
3329
3330
|
}
|
|
3330
|
-
// Generated from /home/
|
|
3331
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3331
3332
|
declare namespace shaka.extern {
|
|
3332
3333
|
type AdCuePoint = { end : number | null , start : number } ;
|
|
3333
3334
|
}
|
|
3334
|
-
// Generated from /home/
|
|
3335
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3335
3336
|
declare namespace shaka.extern {
|
|
3336
3337
|
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
3337
3338
|
}
|
|
3338
|
-
// Generated from /home/
|
|
3339
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3339
3340
|
declare namespace shaka.extern {
|
|
3340
3341
|
/**
|
|
3341
3342
|
* Interface for Ad objects.
|
|
@@ -3365,7 +3366,7 @@ declare namespace shaka.extern {
|
|
|
3365
3366
|
skip ( ) : any ;
|
|
3366
3367
|
}
|
|
3367
3368
|
}
|
|
3368
|
-
// Generated from /home/
|
|
3369
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3369
3370
|
declare namespace shaka.extern {
|
|
3370
3371
|
/**
|
|
3371
3372
|
* An object that's responsible for all the ad-related logic
|
|
@@ -3391,14 +3392,14 @@ declare namespace shaka.extern {
|
|
|
3391
3392
|
setLocale (locale : string ) : any ;
|
|
3392
3393
|
}
|
|
3393
3394
|
}
|
|
3394
|
-
// Generated from /home/
|
|
3395
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/ads.js
|
|
3395
3396
|
declare namespace shaka.extern.IAdManager {
|
|
3396
3397
|
/**
|
|
3397
3398
|
* A factory for creating the ad manager.
|
|
3398
3399
|
*/
|
|
3399
3400
|
type Factory = ( ) => shaka.extern.IAdManager ;
|
|
3400
3401
|
}
|
|
3401
|
-
// Generated from /home/
|
|
3402
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/error.js
|
|
3402
3403
|
declare namespace shaka.extern {
|
|
3403
3404
|
interface Error {
|
|
3404
3405
|
category : shaka.util.Error.Category ;
|
|
@@ -3408,11 +3409,11 @@ declare namespace shaka.extern {
|
|
|
3408
3409
|
severity : shaka.util.Error.Severity ;
|
|
3409
3410
|
}
|
|
3410
3411
|
}
|
|
3411
|
-
// Generated from /home/
|
|
3412
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/error.js
|
|
3412
3413
|
declare namespace shaka.extern {
|
|
3413
3414
|
type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
|
|
3414
3415
|
}
|
|
3415
|
-
// Generated from /home/
|
|
3416
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3416
3417
|
declare namespace shaka.extern {
|
|
3417
3418
|
/**
|
|
3418
3419
|
* Creates a SegmentIndex; returns a Promise that resolves after the
|
|
@@ -3420,27 +3421,27 @@ declare namespace shaka.extern {
|
|
|
3420
3421
|
*/
|
|
3421
3422
|
type CreateSegmentIndexFunction = ( ) => Promise < any > ;
|
|
3422
3423
|
}
|
|
3423
|
-
// Generated from /home/
|
|
3424
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3424
3425
|
declare namespace shaka.extern {
|
|
3425
3426
|
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 } ;
|
|
3426
3427
|
}
|
|
3427
|
-
// Generated from /home/
|
|
3428
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3428
3429
|
declare namespace shaka.extern {
|
|
3429
3430
|
type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
|
|
3430
3431
|
}
|
|
3431
|
-
// Generated from /home/
|
|
3432
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3432
3433
|
declare namespace shaka.extern {
|
|
3433
3434
|
type Manifest = { imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , textStreams : shaka.extern.Stream [] , variants : shaka.extern.Variant [] } ;
|
|
3434
3435
|
}
|
|
3435
|
-
// Generated from /home/
|
|
3436
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3436
3437
|
declare namespace shaka.extern {
|
|
3437
3438
|
type Stream = { 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 , forced : boolean , frameRate ? : number , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
|
|
3438
3439
|
}
|
|
3439
|
-
// Generated from /home/
|
|
3440
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest.js
|
|
3440
3441
|
declare namespace shaka.extern {
|
|
3441
3442
|
type Variant = { allowedByApplication : boolean , allowedByKeySystem : boolean , audio : shaka.extern.Stream | null , bandwidth : number , decodingInfos : ( any | null ) [] , id : number , language : string , primary : boolean , video : shaka.extern.Stream | null } ;
|
|
3442
3443
|
}
|
|
3443
|
-
// Generated from /home/
|
|
3444
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3444
3445
|
declare namespace shaka.extern {
|
|
3445
3446
|
/**
|
|
3446
3447
|
* Parses media manifests and handles manifest updates.
|
|
@@ -3503,7 +3504,7 @@ declare namespace shaka.extern {
|
|
|
3503
3504
|
update ( ) : any ;
|
|
3504
3505
|
}
|
|
3505
3506
|
}
|
|
3506
|
-
// Generated from /home/
|
|
3507
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3507
3508
|
declare namespace shaka.extern.ManifestParser {
|
|
3508
3509
|
/**
|
|
3509
3510
|
* A factory for creating the manifest parser. This function is registered with
|
|
@@ -3511,27 +3512,27 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
3511
3512
|
*/
|
|
3512
3513
|
type Factory = ( ) => shaka.extern.ManifestParser ;
|
|
3513
3514
|
}
|
|
3514
|
-
// Generated from /home/
|
|
3515
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/manifest_parser.js
|
|
3515
3516
|
declare namespace shaka.extern.ManifestParser {
|
|
3516
3517
|
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , modifyManifestRequest : (a : shaka.extern.Request , b : shaka.util.CmcdManager.ManifestInfo ) => any , modifySegmentRequest : (a : shaka.extern.Request , b : shaka.util.CmcdManager.SegmentInfo ) => any , networkingEngine : shaka.net.NetworkingEngine , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any } ;
|
|
3517
3518
|
}
|
|
3518
|
-
// Generated from /home/
|
|
3519
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/mp4_parser.js
|
|
3519
3520
|
declare namespace shaka.extern {
|
|
3520
3521
|
type ParsedBox = { flags : number | null , has64BitSize : boolean , parser : shaka.util.Mp4Parser , partialOkay : boolean , reader : shaka.util.DataViewReader , size : number , start : number , version : number | null } ;
|
|
3521
3522
|
}
|
|
3522
|
-
// Generated from /home/
|
|
3523
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3523
3524
|
declare namespace shaka.extern {
|
|
3524
3525
|
type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
|
|
3525
3526
|
}
|
|
3526
|
-
// Generated from /home/
|
|
3527
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3527
3528
|
declare namespace shaka.extern {
|
|
3528
3529
|
type ProgressUpdated = (a : number , b : number , c : number ) => any ;
|
|
3529
3530
|
}
|
|
3530
|
-
// Generated from /home/
|
|
3531
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3531
3532
|
declare namespace shaka.extern {
|
|
3532
3533
|
type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , headers : { [ key: string ]: string } , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
|
|
3533
3534
|
}
|
|
3534
|
-
// Generated from /home/
|
|
3535
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3535
3536
|
declare namespace shaka.extern {
|
|
3536
3537
|
/**
|
|
3537
3538
|
* Defines a filter for requests. This filter takes the request and modifies
|
|
@@ -3541,11 +3542,11 @@ declare namespace shaka.extern {
|
|
|
3541
3542
|
*/
|
|
3542
3543
|
type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request ) => Promise < any > | void ;
|
|
3543
3544
|
}
|
|
3544
|
-
// Generated from /home/
|
|
3545
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3545
3546
|
declare namespace shaka.extern {
|
|
3546
3547
|
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , status ? : number , timeMs ? : number , uri : string } ;
|
|
3547
3548
|
}
|
|
3548
|
-
// Generated from /home/
|
|
3549
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3549
3550
|
declare namespace shaka.extern {
|
|
3550
3551
|
/**
|
|
3551
3552
|
* Defines a filter for responses. This filter takes the response and modifies
|
|
@@ -3554,19 +3555,19 @@ declare namespace shaka.extern {
|
|
|
3554
3555
|
*/
|
|
3555
3556
|
type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response ) => Promise < any > | void ;
|
|
3556
3557
|
}
|
|
3557
|
-
// Generated from /home/
|
|
3558
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3558
3559
|
declare namespace shaka.extern {
|
|
3559
3560
|
type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
|
|
3560
3561
|
}
|
|
3561
|
-
// Generated from /home/
|
|
3562
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/net.js
|
|
3562
3563
|
declare namespace shaka.extern {
|
|
3563
3564
|
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 > ;
|
|
3564
3565
|
}
|
|
3565
|
-
// Generated from /home/
|
|
3566
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3566
3567
|
declare namespace shaka.extern {
|
|
3567
3568
|
type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
|
|
3568
3569
|
}
|
|
3569
|
-
// Generated from /home/
|
|
3570
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3570
3571
|
declare namespace shaka.extern {
|
|
3571
3572
|
/**
|
|
3572
3573
|
* Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
|
|
@@ -3592,23 +3593,23 @@ declare namespace shaka.extern {
|
|
|
3592
3593
|
remove (sessionIds : string [] ) : Promise < any > ;
|
|
3593
3594
|
}
|
|
3594
3595
|
}
|
|
3595
|
-
// Generated from /home/
|
|
3596
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3596
3597
|
declare namespace shaka.extern {
|
|
3597
3598
|
type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , isIncomplete ? : boolean , originalManifestUri : string , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] } ;
|
|
3598
3599
|
}
|
|
3599
|
-
// Generated from /home/
|
|
3600
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3600
3601
|
declare namespace shaka.extern {
|
|
3601
3602
|
type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
|
|
3602
3603
|
}
|
|
3603
|
-
// Generated from /home/
|
|
3604
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3604
3605
|
declare namespace shaka.extern {
|
|
3605
3606
|
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
3606
3607
|
}
|
|
3607
|
-
// Generated from /home/
|
|
3608
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3608
3609
|
declare namespace shaka.extern {
|
|
3609
3610
|
type SegmentDataDB = { data : ArrayBuffer } ;
|
|
3610
3611
|
}
|
|
3611
|
-
// Generated from /home/
|
|
3612
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3612
3613
|
declare namespace shaka.extern {
|
|
3613
3614
|
/**
|
|
3614
3615
|
* An interface that defines access to collection of segments and manifests. All
|
|
@@ -3684,7 +3685,7 @@ declare namespace shaka.extern {
|
|
|
3684
3685
|
updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
|
|
3685
3686
|
}
|
|
3686
3687
|
}
|
|
3687
|
-
// Generated from /home/
|
|
3688
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3688
3689
|
declare namespace shaka.extern {
|
|
3689
3690
|
/**
|
|
3690
3691
|
* Storage mechanisms are one of two exported storage APIs. Storage mechanisms
|
|
@@ -3728,167 +3729,167 @@ declare namespace shaka.extern {
|
|
|
3728
3729
|
init ( ) : Promise < any > ;
|
|
3729
3730
|
}
|
|
3730
3731
|
}
|
|
3731
|
-
// Generated from /home/
|
|
3732
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3732
3733
|
declare namespace shaka.extern {
|
|
3733
3734
|
type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
|
|
3734
3735
|
}
|
|
3735
|
-
// Generated from /home/
|
|
3736
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline.js
|
|
3736
3737
|
declare namespace shaka.extern {
|
|
3737
3738
|
type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : 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 , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
|
|
3738
3739
|
}
|
|
3739
|
-
// Generated from /home/
|
|
3740
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3740
3741
|
declare namespace shaka.extern {
|
|
3741
3742
|
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 } ;
|
|
3742
3743
|
}
|
|
3743
|
-
// Generated from /home/
|
|
3744
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3744
3745
|
declare namespace shaka.extern {
|
|
3745
3746
|
type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
|
|
3746
3747
|
}
|
|
3747
|
-
// Generated from /home/
|
|
3748
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3748
3749
|
declare namespace shaka.extern {
|
|
3749
3750
|
type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
|
|
3750
3751
|
}
|
|
3751
|
-
// Generated from /home/
|
|
3752
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3752
3753
|
declare namespace shaka.extern {
|
|
3753
3754
|
type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
|
|
3754
3755
|
}
|
|
3755
|
-
// Generated from /home/
|
|
3756
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v1.js
|
|
3756
3757
|
declare namespace shaka.extern {
|
|
3757
3758
|
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 } ;
|
|
3758
3759
|
}
|
|
3759
|
-
// Generated from /home/
|
|
3760
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3760
3761
|
declare namespace shaka.extern {
|
|
3761
3762
|
type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
|
|
3762
3763
|
}
|
|
3763
|
-
// Generated from /home/
|
|
3764
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3764
3765
|
declare namespace shaka.extern {
|
|
3765
3766
|
type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
|
|
3766
3767
|
}
|
|
3767
|
-
// Generated from /home/
|
|
3768
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3768
3769
|
declare namespace shaka.extern {
|
|
3769
3770
|
type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
|
|
3770
3771
|
}
|
|
3771
|
-
// Generated from /home/
|
|
3772
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3772
3773
|
declare namespace shaka.extern {
|
|
3773
3774
|
type SegmentDataDBV2 = { data : ArrayBuffer } ;
|
|
3774
3775
|
}
|
|
3775
|
-
// Generated from /home/
|
|
3776
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/offline_compat_v2.js
|
|
3776
3777
|
declare namespace shaka.extern {
|
|
3777
3778
|
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 } ;
|
|
3778
3779
|
}
|
|
3779
|
-
// Generated from /home/
|
|
3780
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3780
3781
|
declare namespace shaka.extern {
|
|
3781
3782
|
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , defaultBandwidthEstimate : number , enabled : boolean , restrictions : shaka.extern.Restrictions , switchInterval : number , useNetworkInformation : boolean } ;
|
|
3782
3783
|
}
|
|
3783
|
-
// Generated from /home/
|
|
3784
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3784
3785
|
declare namespace shaka.extern {
|
|
3785
3786
|
type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
|
|
3786
3787
|
}
|
|
3787
|
-
// Generated from /home/
|
|
3788
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3788
3789
|
declare namespace shaka.extern {
|
|
3789
3790
|
type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
3790
3791
|
}
|
|
3791
|
-
// Generated from /home/
|
|
3792
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3792
3793
|
declare namespace shaka.extern {
|
|
3793
3794
|
type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
|
|
3794
3795
|
}
|
|
3795
|
-
// Generated from /home/
|
|
3796
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3796
3797
|
declare namespace shaka.extern {
|
|
3797
3798
|
type BufferedRange = { end : number , start : number } ;
|
|
3798
3799
|
}
|
|
3799
|
-
// Generated from /home/
|
|
3800
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3800
3801
|
declare namespace shaka.extern {
|
|
3801
3802
|
type Chapter = { endTime : number , startTime : number , title : string } ;
|
|
3802
3803
|
}
|
|
3803
|
-
// Generated from /home/
|
|
3804
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3804
3805
|
declare namespace shaka.extern {
|
|
3805
3806
|
type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
|
|
3806
3807
|
}
|
|
3807
|
-
// Generated from /home/
|
|
3808
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3808
3809
|
declare namespace shaka.extern {
|
|
3809
3810
|
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 , xlinkFailGracefully : boolean } ;
|
|
3810
3811
|
}
|
|
3811
|
-
// Generated from /home/
|
|
3812
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3812
3813
|
declare namespace shaka.extern {
|
|
3813
3814
|
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
|
|
3814
3815
|
}
|
|
3815
|
-
// Generated from /home/
|
|
3816
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3816
3817
|
declare namespace shaka.extern {
|
|
3817
3818
|
type DrmSupportType = { persistentState : boolean } ;
|
|
3818
3819
|
}
|
|
3819
|
-
// Generated from /home/
|
|
3820
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3820
3821
|
declare namespace shaka.extern {
|
|
3821
3822
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
3822
3823
|
}
|
|
3823
|
-
// Generated from /home/
|
|
3824
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3824
3825
|
declare namespace shaka.extern {
|
|
3825
3826
|
type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreTextStreamFailures : boolean , useFullSegmentsForStartTime : boolean } ;
|
|
3826
3827
|
}
|
|
3827
|
-
// Generated from /home/
|
|
3828
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3828
3829
|
declare namespace shaka.extern {
|
|
3829
3830
|
type ID3Metadata = { [ key: string ]: any } ;
|
|
3830
3831
|
}
|
|
3831
|
-
// Generated from /home/
|
|
3832
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3832
3833
|
declare namespace shaka.extern {
|
|
3833
3834
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
3834
3835
|
}
|
|
3835
|
-
// Generated from /home/
|
|
3836
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3836
3837
|
declare namespace shaka.extern {
|
|
3837
3838
|
type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , retryParameters : shaka.extern.RetryParameters } ;
|
|
3838
3839
|
}
|
|
3839
|
-
// Generated from /home/
|
|
3840
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3840
3841
|
declare namespace shaka.extern {
|
|
3841
3842
|
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 } ;
|
|
3842
3843
|
}
|
|
3843
|
-
// Generated from /home/
|
|
3844
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3844
3845
|
declare namespace shaka.extern {
|
|
3845
3846
|
type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
|
|
3846
3847
|
}
|
|
3847
|
-
// Generated from /home/
|
|
3848
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3848
3849
|
declare namespace shaka.extern {
|
|
3849
3850
|
type PlayerConfiguration = { abr : shaka.extern.AbrConfiguration , abrFactory : shaka.extern.AbrManager.Factory , cmcd : shaka.extern.CmcdConfiguration , drm : shaka.extern.DrmConfiguration , manifest : shaka.extern.ManifestConfiguration , offline : shaka.extern.OfflineConfiguration , playRangeEnd : number , playRangeStart : number , preferForcedSubs : boolean , preferredAudioChannelCount : number , preferredAudioCodecs : string [] , preferredAudioLanguage : string , preferredDecodingAttributes : string [] , preferredTextLanguage : string , preferredTextRole : string , preferredVariantRole : string , preferredVideoCodecs : string [] , restrictions : shaka.extern.Restrictions , streaming : shaka.extern.StreamingConfiguration , textDisplayFactory : shaka.extern.TextDisplayer.Factory } ;
|
|
3850
3851
|
}
|
|
3851
|
-
// Generated from /home/
|
|
3852
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3852
3853
|
declare namespace shaka.extern {
|
|
3853
3854
|
type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
|
|
3854
3855
|
}
|
|
3855
|
-
// Generated from /home/
|
|
3856
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3856
3857
|
declare namespace shaka.extern {
|
|
3857
3858
|
type StateChange = { duration : number , state : string , timestamp : number } ;
|
|
3858
3859
|
}
|
|
3859
|
-
// Generated from /home/
|
|
3860
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3860
3861
|
declare namespace shaka.extern {
|
|
3861
3862
|
type Stats = { bufferingTime : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestTimeSeconds : number , maxSegmentDuration : number , pauseTime : number , playTime : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
|
|
3862
3863
|
}
|
|
3863
|
-
// Generated from /home/
|
|
3864
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3864
3865
|
declare namespace shaka.extern {
|
|
3865
3866
|
type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , dispatchAllEmsgBoxes : boolean , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , forceTransmuxTS : boolean , gapDetectionThreshold : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , jumpLargeGaps : boolean , lowLatencyMode : boolean , observeQualityChanges : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , smallGapLimit : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
|
|
3866
3867
|
}
|
|
3867
|
-
// Generated from /home/
|
|
3868
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3868
3869
|
declare namespace shaka.extern {
|
|
3869
3870
|
type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
|
|
3870
3871
|
}
|
|
3871
|
-
// Generated from /home/
|
|
3872
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3872
3873
|
declare namespace shaka.extern {
|
|
3873
3874
|
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
|
|
3874
3875
|
}
|
|
3875
|
-
// Generated from /home/
|
|
3876
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3876
3877
|
declare namespace shaka.extern {
|
|
3877
3878
|
type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
|
|
3878
3879
|
}
|
|
3879
|
-
// Generated from /home/
|
|
3880
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3880
3881
|
declare namespace shaka.extern {
|
|
3881
3882
|
type Track = { active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | 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 , 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 , width : number | null } ;
|
|
3882
3883
|
}
|
|
3883
|
-
// Generated from /home/
|
|
3884
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3884
3885
|
declare namespace shaka.extern {
|
|
3885
3886
|
type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
|
|
3886
3887
|
}
|
|
3887
|
-
// Generated from /home/
|
|
3888
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/player.js
|
|
3888
3889
|
declare namespace shaka.extern {
|
|
3889
3890
|
type TrackList = shaka.extern.Track [] ;
|
|
3890
3891
|
}
|
|
3891
|
-
// Generated from /home/
|
|
3892
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
3892
3893
|
declare namespace shaka.extern {
|
|
3893
3894
|
interface Cue {
|
|
3894
3895
|
/**
|
|
@@ -4060,7 +4061,7 @@ declare namespace shaka.extern {
|
|
|
4060
4061
|
writingMode : shaka.text.Cue.writingMode ;
|
|
4061
4062
|
}
|
|
4062
4063
|
}
|
|
4063
|
-
// Generated from /home/
|
|
4064
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4064
4065
|
declare namespace shaka.extern {
|
|
4065
4066
|
interface CueRegion {
|
|
4066
4067
|
/**
|
|
@@ -4116,7 +4117,7 @@ declare namespace shaka.extern {
|
|
|
4116
4117
|
widthUnits : shaka.text.CueRegion.units ;
|
|
4117
4118
|
}
|
|
4118
4119
|
}
|
|
4119
|
-
// Generated from /home/
|
|
4120
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4120
4121
|
declare namespace shaka.extern {
|
|
4121
4122
|
interface TextDisplayer extends shaka.util.IDestroyable {
|
|
4122
4123
|
/**
|
|
@@ -4143,14 +4144,14 @@ declare namespace shaka.extern {
|
|
|
4143
4144
|
setTextVisibility (on : boolean ) : any ;
|
|
4144
4145
|
}
|
|
4145
4146
|
}
|
|
4146
|
-
// Generated from /home/
|
|
4147
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4147
4148
|
declare namespace shaka.extern.TextDisplayer {
|
|
4148
4149
|
/**
|
|
4149
4150
|
* A factory for creating a TextDisplayer.
|
|
4150
4151
|
*/
|
|
4151
4152
|
type Factory = ( ) => shaka.extern.TextDisplayer ;
|
|
4152
4153
|
}
|
|
4153
|
-
// Generated from /home/
|
|
4154
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4154
4155
|
declare namespace shaka.extern {
|
|
4155
4156
|
/**
|
|
4156
4157
|
* An interface for plugins that parse text tracks.
|
|
@@ -4170,25 +4171,25 @@ declare namespace shaka.extern {
|
|
|
4170
4171
|
parseMedia (data : Uint8Array , timeContext : shaka.extern.TextParser.TimeContext ) : shaka.extern.Cue [] ;
|
|
4171
4172
|
}
|
|
4172
4173
|
}
|
|
4173
|
-
// Generated from /home/
|
|
4174
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4174
4175
|
declare namespace shaka.extern.TextParser {
|
|
4175
4176
|
/**
|
|
4176
4177
|
* A collection of time offsets used to adjust text cue times.
|
|
4177
4178
|
*/
|
|
4178
4179
|
type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number } ;
|
|
4179
4180
|
}
|
|
4180
|
-
// Generated from /home/
|
|
4181
|
+
// Generated from /home/joey/hacking/work/clean/externs/shaka/text.js
|
|
4181
4182
|
declare namespace shaka.extern {
|
|
4182
4183
|
type TextParserPlugin = ( ) => shaka.extern.TextParser ;
|
|
4183
4184
|
}
|
|
4184
|
-
// Generated from /home/
|
|
4185
|
+
// Generated from /home/joey/hacking/work/clean/externs/tippy.js
|
|
4185
4186
|
declare namespace ಠ_ಠ.clutz {
|
|
4186
4187
|
/**
|
|
4187
4188
|
* This is the subset of this method that we use in our demo code.
|
|
4188
4189
|
*/
|
|
4189
4190
|
function tippy (element : Element , config : object ) : any ;
|
|
4190
4191
|
}
|
|
4191
|
-
// Generated from /home/
|
|
4192
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
4192
4193
|
declare namespace ಠ_ಠ.clutz {
|
|
4193
4194
|
class WebKitMediaKeyError {
|
|
4194
4195
|
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
@@ -4202,7 +4203,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4202
4203
|
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
4203
4204
|
}
|
|
4204
4205
|
}
|
|
4205
|
-
// Generated from /home/
|
|
4206
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
4206
4207
|
declare namespace ಠ_ಠ.clutz {
|
|
4207
4208
|
interface WebKitMediaKeySession extends EventTarget {
|
|
4208
4209
|
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
@@ -4214,7 +4215,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4214
4215
|
update (message : Uint8Array | null ) : any ;
|
|
4215
4216
|
}
|
|
4216
4217
|
}
|
|
4217
|
-
// Generated from /home/
|
|
4218
|
+
// Generated from /home/joey/hacking/work/clean/externs/webkitmediakeys.js
|
|
4218
4219
|
declare namespace ಠ_ಠ.clutz {
|
|
4219
4220
|
class WebKitMediaKeys {
|
|
4220
4221
|
private noStructuralTyping_WebKitMediaKeys : any;
|
|
@@ -4223,5 +4224,3 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4223
4224
|
static isTypeSupported (keySystem : string , contentType : string ) : boolean ;
|
|
4224
4225
|
}
|
|
4225
4226
|
}
|
|
4226
|
-
|
|
4227
|
-
export default shaka;
|