shaka-player 4.4.3 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release-please.yaml +2 -27
- package/CHANGELOG.md +64 -45
- package/README.md +16 -10
- package/demo/asset_card.js +18 -21
- package/demo/cast_receiver/index.html +0 -1
- package/demo/close_button.js +0 -3
- package/demo/common/asset.js +22 -5
- package/demo/common/assets.js +132 -49
- package/demo/config.js +192 -253
- package/demo/custom.js +39 -98
- package/demo/front.js +7 -10
- package/demo/index.html +19 -22
- package/demo/input.js +6 -11
- package/demo/input_container.js +8 -9
- package/demo/main.js +51 -123
- package/demo/search.js +22 -34
- package/demo/service_worker.js +0 -3
- package/demo/tooltip.js +3 -5
- package/demo/visualizer.js +3 -5
- package/demo/visualizer_button.js +1 -20
- package/dist/demo.compiled.debug.js +152 -178
- package/dist/demo.compiled.debug.map +4 -4
- package/dist/demo.compiled.js +152 -178
- package/dist/demo.compiled.map +4 -4
- package/dist/deps.js +27 -24
- package/dist/locales.js +31 -31
- package/dist/receiver.compiled.debug.js +22 -43
- package/dist/receiver.compiled.debug.map +4 -4
- package/dist/receiver.compiled.js +22 -43
- package/dist/receiver.compiled.map +4 -4
- package/dist/shaka-player.compiled.d.ts +507 -365
- package/dist/shaka-player.compiled.debug.d.ts +507 -365
- package/dist/shaka-player.compiled.debug.externs.js +205 -51
- package/dist/shaka-player.compiled.debug.js +541 -450
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +205 -51
- package/dist/shaka-player.compiled.js +1120 -1066
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +562 -410
- package/dist/shaka-player.ui.debug.d.ts +562 -410
- package/dist/shaka-player.ui.debug.externs.js +226 -51
- package/dist/shaka-player.ui.debug.js +606 -506
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +226 -51
- package/dist/shaka-player.ui.js +1266 -1207
- package/dist/shaka-player.ui.map +4 -4
- package/docs/design/lcevc-integration.md +14 -14
- package/docs/tutorials/faq.md +27 -55
- package/docs/tutorials/index.json +2 -1
- package/docs/tutorials/lcevc.md +118 -0
- package/docs/tutorials/ui-customization.md +4 -0
- package/externs/css_style_declaration.js +19 -0
- package/externs/lcevc.js +37 -13
- package/externs/media_remote.js +68 -0
- package/externs/mediatailor.js +193 -0
- package/externs/pictureinpicture.js +11 -0
- package/externs/shaka/ads.js +27 -0
- package/externs/shaka/manifest.js +10 -5
- package/externs/shaka/manifest_parser.js +7 -1
- package/externs/shaka/offline.js +4 -0
- package/externs/shaka/player.js +12 -1
- package/karma.conf.js +7 -3
- package/lib/abr/simple_abr_manager.js +43 -3
- package/lib/ads/ad_manager.js +104 -50
- package/lib/ads/media_tailor_ad.js +297 -0
- package/lib/ads/media_tailor_ad_manager.js +828 -0
- package/lib/cea/ts_cea_parser.js +15 -2
- package/lib/config/codec_switching_strategy.js +24 -0
- package/lib/dash/content_protection.js +120 -2
- package/lib/dash/dash_parser.js +75 -12
- package/lib/dash/mpd_utils.js +10 -6
- package/lib/dash/segment_base.js +13 -5
- package/lib/dash/segment_list.js +13 -5
- package/lib/dash/segment_template.js +43 -85
- package/lib/dependencies/all.js +8 -7
- package/lib/hls/hls_parser.js +44 -16
- package/lib/lcevc/lcevc_dec.js +220 -0
- package/lib/media/adaptation_set.js +22 -11
- package/lib/media/adaptation_set_criteria.js +25 -7
- package/lib/media/media_source_engine.js +215 -27
- package/lib/media/segment_index.js +1 -1
- package/lib/media/segment_reference.js +7 -7
- package/lib/media/streaming_engine.js +33 -18
- package/lib/mss/mss_parser.js +1 -0
- package/lib/net/networking_engine.js +1 -0
- package/lib/offline/indexeddb/v1_storage_cell.js +1 -0
- package/lib/offline/indexeddb/v2_storage_cell.js +1 -0
- package/lib/offline/manifest_converter.js +1 -0
- package/lib/offline/storage.js +3 -0
- package/lib/player.js +142 -72
- package/lib/routing/payload.js +5 -1
- package/lib/text/cue.js +15 -0
- package/lib/text/ttml_text_parser.js +17 -0
- package/lib/text/ui_text_displayer.js +4 -0
- package/lib/text/vtt_text_parser.js +33 -20
- package/lib/transmuxer/h265.js +862 -0
- package/lib/transmuxer/mpeg_ts_transmuxer.js +3 -2
- package/lib/transmuxer/ts_transmuxer.js +160 -15
- package/lib/util/error.js +28 -9
- package/lib/util/exp_golomb.js +30 -2
- package/lib/util/fake_event.js +3 -0
- package/lib/util/mp4_generator.js +4 -4
- package/lib/util/periods.js +2 -0
- package/lib/util/platform.js +40 -0
- package/lib/util/player_configuration.js +8 -0
- package/lib/util/state_history.js +6 -2
- package/lib/util/stream_utils.js +133 -217
- package/lib/util/ts_parser.js +226 -40
- package/maintained-branches.md +3 -2
- package/package.json +4 -6
- package/roadmap.md +15 -5
- package/shaka-player.uncompiled.js +2 -1
- package/support.html +0 -1
- package/test/cast/cast_receiver_integration.js +47 -0
- package/test/codec_switching/codec_switching_integration.js +181 -0
- package/test/dash/dash_parser_content_protection_unit.js +2 -0
- package/test/dash/dash_parser_integration.js +73 -0
- package/test/dash/dash_parser_live_unit.js +2 -0
- package/test/dash/dash_parser_manifest_unit.js +42 -0
- package/test/dash/dash_parser_segment_base_unit.js +2 -0
- package/test/dash/dash_parser_segment_list_unit.js +2 -0
- package/test/dash/dash_parser_segment_template_unit.js +2 -0
- package/test/demo/demo_unit.js +0 -16
- package/test/hls/hls_live_unit.js +2 -0
- package/test/hls/hls_parser_unit.js +8 -6
- package/test/media/adaptation_set_criteria_unit.js +118 -0
- package/test/media/adaptation_set_unit.js +1 -0
- package/test/media/media_source_engine_unit.js +165 -1
- package/test/media/segment_index_unit.js +4 -4
- package/test/media/segment_prefetch_unit.js +1 -1
- package/test/media/streaming_engine_unit.js +17 -17
- package/test/mss/mss_parser_unit.js +2 -0
- package/test/offline/manifest_convert_unit.js +5 -0
- package/test/offline/storage_integration.js +1 -4
- package/test/player_unit.js +102 -131
- package/test/routing/walker_unit.js +1 -0
- package/test/test/assets/dash-aes-128/Fragments(video=0,format=mpd-time-csf) +0 -0
- package/test/test/assets/dash-aes-128/Fragments(video=20000000,format=mpd-time-csf) +0 -0
- package/test/test/assets/dash-aes-128/Fragments(video=40000000,format=mpd-time-csf) +0 -0
- package/test/test/assets/dash-aes-128/Fragments(video=60000000,format=mpd-time-csf) +0 -0
- package/test/test/assets/dash-aes-128/Fragments(video=i,format=mpd-time-csf) +0 -0
- package/test/test/assets/dash-aes-128/dash.mpd +18 -0
- package/test/test/assets/dash-aes-128/license +1 -0
- package/test/test/assets/dash-multi-codec/audio_en_2c_128k_aac.mp4 +0 -0
- package/test/test/assets/dash-multi-codec/audio_es_2c_64k_opus.webm +0 -0
- package/test/test/assets/dash-multi-codec/dash.mpd +32 -0
- package/test/test/assets/dash-multi-codec/video_144p_108k_h264.mp4 +0 -0
- package/test/test/assets/hls-ts-h265/0.ts +0 -0
- package/test/test/assets/hls-ts-h265/hevc.m3u8 +6 -0
- package/test/test/assets/hls-ts-h265/index.m3u8 +7 -0
- package/test/test/assets/hls-ts-muxed-aac-h265/0.ts +0 -0
- package/test/test/assets/hls-ts-muxed-aac-h265/1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-aac-h265/media.m3u8 +9 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/media.m3u8 +24 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00000.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00001.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00002.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00003.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00004.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ac3-h264/s_00005.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ec3-h264/ChID_voices_1280x720p_25fps_h264_6ch_256kbps_ddp_sub_0000.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ec3-h264/ChID_voices_1280x720p_25fps_h264_6ch_256kbps_ddp_sub_0001.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ec3-h264/ChID_voices_1280x720p_25fps_h264_6ch_256kbps_ddp_sub_0002.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ec3-h264/ChID_voices_1280x720p_25fps_h264_6ch_256kbps_ddp_sub_0003.ts +0 -0
- package/test/test/assets/hls-ts-muxed-ec3-h264/prog_index.m3u8 +14 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/index.m3u8 +23 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-1-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-2-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-3-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-4-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-5-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-6-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-7-v1-a1.ts +0 -0
- package/test/test/assets/hls-ts-muxed-mp3-h264/seg-8-v1-a1.ts +0 -0
- package/test/test/util/dash_parser_util.js +4 -0
- package/test/test/util/fake_ad_manager.js +20 -0
- package/test/test/util/fake_media_source_engine.js +8 -2
- package/test/test/util/manifest_generator.js +7 -3
- package/test/test/util/mss_parser_util.js +4 -0
- package/test/test/util/offline_utils.js +1 -0
- package/test/test/util/streaming_engine_util.js +7 -4
- package/test/text/ttml_text_parser_unit.js +52 -0
- package/test/text/vtt_text_parser_unit.js +103 -31
- package/test/transmuxer/transmuxer_integration.js +117 -0
- package/test/ui/ui_unit.js +3 -10
- package/test/util/stream_utils_unit.js +208 -74
- package/ui/controls.js +125 -0
- package/ui/externs/ui.js +8 -1
- package/ui/pip_button.js +22 -120
- package/ui/remote_button.js +201 -0
- package/ui/ui.js +5 -2
- package/demo/common/message_ids.js +0 -309
- package/demo/locales/en.json +0 -288
- package/demo/locales/source.json +0 -1146
- package/externs/mux.js +0 -69
- package/lib/lcevc/lcevc_dil.js +0 -152
- package/lib/transmuxer/muxjs_transmuxer.js +0 -242
- package/test/transmuxer/muxjs_transmuxer_integration.js +0 -177
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
declare class GlobalError extends Error {}
|
|
8
8
|
|
|
9
9
|
//!! generated by clutz.
|
|
10
|
-
// Generated from /home/
|
|
10
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.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;
|
|
@@ -410,7 +410,7 @@ declare namespace shaka {
|
|
|
410
410
|
* <code>load</code> but cannot interrupt calls to <code>attach</code>,
|
|
411
411
|
* <code>detach</code>, or <code>unload</code>.
|
|
412
412
|
*/
|
|
413
|
-
unload (initializeMediaSource ? : boolean ) : Promise < any > ;
|
|
413
|
+
unload (initializeMediaSource ? : boolean , keepAdManager ? : boolean ) : Promise < any > ;
|
|
414
414
|
/**
|
|
415
415
|
* Provides a way to update the stream start position during the media loading
|
|
416
416
|
* process. Can for example be called from the <code>manifestparsed</code>
|
|
@@ -446,7 +446,7 @@ declare namespace shaka {
|
|
|
446
446
|
static version : string ;
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
|
-
// Generated from /home/
|
|
449
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
450
450
|
declare namespace shaka.Player {
|
|
451
451
|
/**
|
|
452
452
|
* In order to know what method of loading the player used for some content, we
|
|
@@ -475,7 +475,7 @@ declare namespace shaka.Player {
|
|
|
475
475
|
SRC_EQUALS = 3.0 ,
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
// Generated from /home/
|
|
478
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
479
479
|
declare namespace shaka.abr {
|
|
480
480
|
class SimpleAbrManager implements shaka.extern.AbrManager , shaka.util.IReleasable {
|
|
481
481
|
private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
|
|
@@ -493,7 +493,7 @@ declare namespace shaka.abr {
|
|
|
493
493
|
stop ( ) : any ;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
// Generated from /home/
|
|
496
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
497
497
|
declare namespace shaka.ads {
|
|
498
498
|
/**
|
|
499
499
|
* A class responsible for ad-related interactions.
|
|
@@ -501,17 +501,21 @@ declare namespace shaka.ads {
|
|
|
501
501
|
class AdManager extends shaka.util.FakeEventTarget implements shaka.extern.IAdManager , shaka.util.IReleasable {
|
|
502
502
|
private noStructuralTyping_shaka_ads_AdManager : any;
|
|
503
503
|
configure (config : any ) : any ;
|
|
504
|
+
getCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
504
505
|
getServerSideCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
505
506
|
getStats ( ) : shaka.extern.AdsStats ;
|
|
506
507
|
initClientSide (adContainer : any , video : any , adsRenderingSettings : any ) : any ;
|
|
508
|
+
initMediaTailor (adContainer : any , networkingEngine : any , video : any ) : any ;
|
|
507
509
|
initServerSide (adContainer : any , video : any ) : any ;
|
|
508
510
|
onAssetUnload ( ) : any ;
|
|
509
511
|
onCueMetadataChange (value : any ) : any ;
|
|
510
512
|
onDashTimedMetadata (region : any ) : any ;
|
|
511
513
|
onHlsTimedMetadata (metadata : any , timestamp : any ) : any ;
|
|
514
|
+
onManifestUpdated (isLive : any ) : any ;
|
|
512
515
|
release ( ) : any ;
|
|
513
516
|
replaceServerSideAdTagParameters (adTagParameters : any ) : any ;
|
|
514
517
|
requestClientSideAds (imaRequest : any ) : any ;
|
|
518
|
+
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
515
519
|
requestServerSideStream (imaRequest : google.ima.dai.api.StreamRequest , backupUrl ? : string ) : Promise < string > ;
|
|
516
520
|
setLocale (locale : any ) : any ;
|
|
517
521
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : any ) : any ;
|
|
@@ -646,7 +650,7 @@ declare namespace shaka.ads {
|
|
|
646
650
|
static IMA_STREAM_MANAGER_LOADED : string ;
|
|
647
651
|
}
|
|
648
652
|
}
|
|
649
|
-
// Generated from /home/
|
|
653
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
650
654
|
declare namespace shaka.ads {
|
|
651
655
|
class ClientSideAd implements shaka.extern.IAd {
|
|
652
656
|
private noStructuralTyping_shaka_ads_ClientSideAd : any;
|
|
@@ -683,7 +687,44 @@ declare namespace shaka.ads {
|
|
|
683
687
|
skip ( ) : any ;
|
|
684
688
|
}
|
|
685
689
|
}
|
|
686
|
-
// Generated from /home/
|
|
690
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
691
|
+
declare namespace shaka.ads {
|
|
692
|
+
class MediaTailorAd implements shaka.extern.IAd {
|
|
693
|
+
private noStructuralTyping_shaka_ads_MediaTailorAd : any;
|
|
694
|
+
constructor (mediaTailorAd : mediaTailor.Ad , adPosition : number , totalAds : number , isLinear : any , video : HTMLMediaElement | null ) ;
|
|
695
|
+
canSkipNow ( ) : any ;
|
|
696
|
+
getAdId ( ) : any ;
|
|
697
|
+
getAdvertiserName ( ) : any ;
|
|
698
|
+
getCreativeAdId ( ) : any ;
|
|
699
|
+
getDescription ( ) : any ;
|
|
700
|
+
getDuration ( ) : any ;
|
|
701
|
+
getMediaUrl ( ) : any ;
|
|
702
|
+
getMinSuggestedDuration ( ) : any ;
|
|
703
|
+
getPodIndex ( ) : any ;
|
|
704
|
+
getPositionInSequence ( ) : any ;
|
|
705
|
+
getRemainingTime ( ) : any ;
|
|
706
|
+
getSequenceLength ( ) : any ;
|
|
707
|
+
getTimeOffset ( ) : any ;
|
|
708
|
+
getTimeUntilSkippable ( ) : any ;
|
|
709
|
+
getTitle ( ) : any ;
|
|
710
|
+
getVastMediaBitrate ( ) : any ;
|
|
711
|
+
getVastMediaHeight ( ) : any ;
|
|
712
|
+
getVastMediaWidth ( ) : any ;
|
|
713
|
+
getVolume ( ) : any ;
|
|
714
|
+
isLinear ( ) : any ;
|
|
715
|
+
isMuted ( ) : any ;
|
|
716
|
+
isPaused ( ) : any ;
|
|
717
|
+
isSkippable ( ) : any ;
|
|
718
|
+
pause ( ) : any ;
|
|
719
|
+
play ( ) : any ;
|
|
720
|
+
release ( ) : any ;
|
|
721
|
+
resize (width : any , height : any ) : any ;
|
|
722
|
+
setMuted (muted : any ) : any ;
|
|
723
|
+
setVolume (volume : any ) : any ;
|
|
724
|
+
skip ( ) : any ;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
687
728
|
declare namespace shaka.ads {
|
|
688
729
|
class ServerSideAd implements shaka.extern.IAd {
|
|
689
730
|
private noStructuralTyping_shaka_ads_ServerSideAd : any;
|
|
@@ -720,7 +761,7 @@ declare namespace shaka.ads {
|
|
|
720
761
|
skip ( ) : any ;
|
|
721
762
|
}
|
|
722
763
|
}
|
|
723
|
-
// Generated from /home/
|
|
764
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
724
765
|
declare namespace shaka.cast {
|
|
725
766
|
class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
726
767
|
private noStructuralTyping_shaka_cast_CastProxy : any;
|
|
@@ -760,7 +801,7 @@ declare namespace shaka.cast {
|
|
|
760
801
|
suggestDisconnect ( ) : any ;
|
|
761
802
|
}
|
|
762
803
|
}
|
|
763
|
-
// Generated from /home/
|
|
804
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
764
805
|
declare namespace shaka.cast {
|
|
765
806
|
/**
|
|
766
807
|
* A receiver to communicate between the Chromecast-hosted player and the
|
|
@@ -812,7 +853,7 @@ declare namespace shaka.cast {
|
|
|
812
853
|
setContentTitle (title : string ) : any ;
|
|
813
854
|
}
|
|
814
855
|
}
|
|
815
|
-
// Generated from /home/
|
|
856
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
816
857
|
declare namespace shaka.cea {
|
|
817
858
|
/**
|
|
818
859
|
* CEA-X08 captions decoder.
|
|
@@ -824,7 +865,7 @@ declare namespace shaka.cea {
|
|
|
824
865
|
extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
|
|
825
866
|
}
|
|
826
867
|
}
|
|
827
|
-
// Generated from /home/
|
|
868
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
828
869
|
declare namespace shaka.cea {
|
|
829
870
|
/**
|
|
830
871
|
* MPEG4 stream parser used for extracting 708 closed captions data.
|
|
@@ -835,7 +876,7 @@ declare namespace shaka.cea {
|
|
|
835
876
|
parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
|
|
836
877
|
}
|
|
837
878
|
}
|
|
838
|
-
// Generated from /home/
|
|
879
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
839
880
|
declare namespace shaka.cea {
|
|
840
881
|
/**
|
|
841
882
|
* MPEG TS CEA parser.
|
|
@@ -846,7 +887,7 @@ declare namespace shaka.cea {
|
|
|
846
887
|
parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
|
|
847
888
|
}
|
|
848
889
|
}
|
|
849
|
-
// Generated from /home/
|
|
890
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
850
891
|
declare namespace shaka.config {
|
|
851
892
|
enum AutoShowText {
|
|
852
893
|
ALWAYS = 1.0 ,
|
|
@@ -855,7 +896,14 @@ declare namespace shaka.config {
|
|
|
855
896
|
NEVER = 0.0 ,
|
|
856
897
|
}
|
|
857
898
|
}
|
|
858
|
-
// Generated from /home/
|
|
899
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
900
|
+
declare namespace shaka.config {
|
|
901
|
+
enum CodecSwitchingStrategy {
|
|
902
|
+
RELOAD = 'reload' ,
|
|
903
|
+
SMOOTH = 'smooth' ,
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
859
907
|
declare namespace shaka.dash {
|
|
860
908
|
/**
|
|
861
909
|
* Creates a new DASH parser.
|
|
@@ -869,7 +917,7 @@ declare namespace shaka.dash {
|
|
|
869
917
|
update ( ) : any ;
|
|
870
918
|
}
|
|
871
919
|
}
|
|
872
|
-
// Generated from /home/
|
|
920
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
873
921
|
declare namespace shaka {
|
|
874
922
|
class dependencies {
|
|
875
923
|
private noStructuralTyping_shaka_dependencies : any;
|
|
@@ -886,14 +934,14 @@ declare namespace shaka {
|
|
|
886
934
|
static has (key : shaka.dependencies.Allowed ) : boolean ;
|
|
887
935
|
}
|
|
888
936
|
}
|
|
889
|
-
// Generated from /home/
|
|
937
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
890
938
|
declare namespace shaka.dependencies {
|
|
891
939
|
enum Allowed {
|
|
892
940
|
ISOBoxer = 'ISOBoxer' ,
|
|
893
941
|
muxjs = 'muxjs' ,
|
|
894
942
|
}
|
|
895
943
|
}
|
|
896
|
-
// Generated from /home/
|
|
944
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
897
945
|
declare namespace shaka.hls {
|
|
898
946
|
/**
|
|
899
947
|
* HLS parser.
|
|
@@ -907,18 +955,18 @@ declare namespace shaka.hls {
|
|
|
907
955
|
update ( ) : any ;
|
|
908
956
|
}
|
|
909
957
|
}
|
|
910
|
-
// Generated from /home/
|
|
958
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
911
959
|
declare namespace shaka.lcevc {
|
|
912
|
-
class
|
|
913
|
-
private
|
|
914
|
-
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null ,
|
|
960
|
+
class Dec implements shaka.util.IReleasable {
|
|
961
|
+
private noStructuralTyping_shaka_lcevc_Dec : any;
|
|
962
|
+
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null , lcevcConfig : shaka.extern.LcevcConfiguration ) ;
|
|
915
963
|
/**
|
|
916
|
-
* Close LCEVC
|
|
964
|
+
* Close LCEVC Decoder.
|
|
917
965
|
*/
|
|
918
966
|
release ( ) : any ;
|
|
919
967
|
}
|
|
920
968
|
}
|
|
921
|
-
// Generated from /home/
|
|
969
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
922
970
|
declare namespace shaka.media {
|
|
923
971
|
/**
|
|
924
972
|
* Closed Caption Parser provides all operations for parsing the closed captions
|
|
@@ -939,7 +987,7 @@ declare namespace shaka.media {
|
|
|
939
987
|
static unregisterParser (mimeType : string ) : any ;
|
|
940
988
|
}
|
|
941
989
|
}
|
|
942
|
-
// Generated from /home/
|
|
990
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
943
991
|
declare namespace shaka.media {
|
|
944
992
|
/**
|
|
945
993
|
* The IClosedCaptionParser defines the interface to provide all operations for
|
|
@@ -950,7 +998,7 @@ declare namespace shaka.media {
|
|
|
950
998
|
interface IClosedCaptionParser {
|
|
951
999
|
}
|
|
952
1000
|
}
|
|
953
|
-
// Generated from /home/
|
|
1001
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
954
1002
|
declare namespace shaka.media {
|
|
955
1003
|
/**
|
|
956
1004
|
* Creates an InitSegmentReference, which provides the location to an
|
|
@@ -958,7 +1006,7 @@ declare namespace shaka.media {
|
|
|
958
1006
|
*/
|
|
959
1007
|
class InitSegmentReference {
|
|
960
1008
|
private noStructuralTyping_shaka_media_InitSegmentReference : any;
|
|
961
|
-
constructor (uris : ( ) => string [] , startByte : number , endByte : number | null , mediaQuality ? : null | shaka.extern.MediaQualityInfo , timescale ? : null | number , segmentData ? : null | ArrayBuffer | ArrayBufferView , aes128Key ? : shaka.extern.
|
|
1009
|
+
constructor (uris : ( ) => string [] , startByte : number , endByte : number | null , mediaQuality ? : null | shaka.extern.MediaQualityInfo , timescale ? : null | number , segmentData ? : null | ArrayBuffer | ArrayBufferView , aes128Key ? : shaka.extern.aes128Key | null ) ;
|
|
962
1010
|
/**
|
|
963
1011
|
* Returns the offset from the start of the resource to the end of the
|
|
964
1012
|
* segment, inclusive. A value of null indicates that the segment extends
|
|
@@ -972,7 +1020,7 @@ declare namespace shaka.media {
|
|
|
972
1020
|
getStartByte ( ) : number ;
|
|
973
1021
|
}
|
|
974
1022
|
}
|
|
975
|
-
// Generated from /home/
|
|
1023
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
976
1024
|
declare namespace shaka.media {
|
|
977
1025
|
class ManifestParser {
|
|
978
1026
|
private noStructuralTyping_shaka_media_ManifestParser : any;
|
|
@@ -995,14 +1043,14 @@ declare namespace shaka.media {
|
|
|
995
1043
|
static unregisterParserByMime (mimeType : string ) : any ;
|
|
996
1044
|
}
|
|
997
1045
|
}
|
|
998
|
-
// Generated from /home/
|
|
1046
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
999
1047
|
declare namespace shaka.media.ManifestParser {
|
|
1000
1048
|
enum AccessibilityPurpose {
|
|
1001
1049
|
HARD_OF_HEARING = 'hard of hearing' ,
|
|
1002
1050
|
VISUALLY_IMPAIRED = 'visually impaired' ,
|
|
1003
1051
|
}
|
|
1004
1052
|
}
|
|
1005
|
-
// Generated from /home/
|
|
1053
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1006
1054
|
declare namespace shaka.media {
|
|
1007
1055
|
/**
|
|
1008
1056
|
* A meta-SegmentIndex composed of multiple other SegmentIndexes.
|
|
@@ -1028,7 +1076,7 @@ declare namespace shaka.media {
|
|
|
1028
1076
|
updateEvery (interval : number , updateCallback : ( ) => ( shaka.media.SegmentReference | null ) [] | null ) : any ;
|
|
1029
1077
|
}
|
|
1030
1078
|
}
|
|
1031
|
-
// Generated from /home/
|
|
1079
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1032
1080
|
declare namespace shaka.media {
|
|
1033
1081
|
/**
|
|
1034
1082
|
* PresentationTimeline.
|
|
@@ -1165,11 +1213,11 @@ declare namespace shaka.media {
|
|
|
1165
1213
|
usingPresentationStartTime ( ) : boolean ;
|
|
1166
1214
|
}
|
|
1167
1215
|
}
|
|
1168
|
-
// Generated from /home/
|
|
1216
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1169
1217
|
declare namespace shaka.media.PresentationTimeline {
|
|
1170
1218
|
type TimeRange = { end : number , start : number , unscaledStart : number } ;
|
|
1171
1219
|
}
|
|
1172
|
-
// Generated from /home/
|
|
1220
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1173
1221
|
declare namespace shaka.media {
|
|
1174
1222
|
/**
|
|
1175
1223
|
* SegmentIndex.
|
|
@@ -1257,7 +1305,7 @@ declare namespace shaka.media {
|
|
|
1257
1305
|
static forSingleSegment (startTime : number , duration : number , uris : string [] ) : shaka.media.SegmentIndex ;
|
|
1258
1306
|
}
|
|
1259
1307
|
}
|
|
1260
|
-
// Generated from /home/
|
|
1308
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1261
1309
|
declare namespace shaka.media {
|
|
1262
1310
|
/**
|
|
1263
1311
|
* An iterator over a SegmentIndex's references.
|
|
@@ -1273,11 +1321,11 @@ declare namespace shaka.media {
|
|
|
1273
1321
|
next ( ) : any ;
|
|
1274
1322
|
}
|
|
1275
1323
|
}
|
|
1276
|
-
// Generated from /home/
|
|
1324
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1277
1325
|
declare namespace shaka.media.SegmentPrefetch {
|
|
1278
1326
|
type FetchDispatcher = (a : shaka.media.InitSegmentReference | shaka.media.SegmentReference , b : shaka.extern.Stream , c ? : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null ) => shaka.net.NetworkingEngine.PendingRequest ;
|
|
1279
1327
|
}
|
|
1280
|
-
// Generated from /home/
|
|
1328
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1281
1329
|
declare namespace shaka.media {
|
|
1282
1330
|
/**
|
|
1283
1331
|
* SegmentReference provides the start time, end time, and location to a media
|
|
@@ -1285,7 +1333,7 @@ declare namespace shaka.media {
|
|
|
1285
1333
|
*/
|
|
1286
1334
|
class SegmentReference {
|
|
1287
1335
|
private noStructuralTyping_shaka_media_SegmentReference : any;
|
|
1288
|
-
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null , syncTime ? : number | null , status ? : shaka.media.SegmentReference.Status ,
|
|
1336
|
+
constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null , syncTime ? : number | null , status ? : shaka.media.SegmentReference.Status , aes128Key ? : shaka.extern.aes128Key | null ) ;
|
|
1289
1337
|
/**
|
|
1290
1338
|
* Returns the offset from the start of the resource to the end of the
|
|
1291
1339
|
* segment, inclusive. A value of null indicates that the segment extends to
|
|
@@ -1372,7 +1420,7 @@ declare namespace shaka.media {
|
|
|
1372
1420
|
syncAgainst (lowestSyncTime : number ) : any ;
|
|
1373
1421
|
}
|
|
1374
1422
|
}
|
|
1375
|
-
// Generated from /home/
|
|
1423
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1376
1424
|
declare namespace shaka.media.SegmentReference {
|
|
1377
1425
|
/**
|
|
1378
1426
|
* Rather than using booleans to communicate what the state of the reference,
|
|
@@ -1388,11 +1436,11 @@ declare namespace shaka.media.SegmentReference {
|
|
|
1388
1436
|
UNAVAILABLE = 1.0 ,
|
|
1389
1437
|
}
|
|
1390
1438
|
}
|
|
1391
|
-
// Generated from /home/
|
|
1439
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1392
1440
|
declare namespace shaka.media.SegmentReference {
|
|
1393
1441
|
type ThumbnailSprite = { height : number , positionX : number , positionY : number , width : number } ;
|
|
1394
1442
|
}
|
|
1395
|
-
// Generated from /home/
|
|
1443
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1396
1444
|
declare namespace shaka.mss {
|
|
1397
1445
|
/**
|
|
1398
1446
|
* Creates a new MSS parser.
|
|
@@ -1406,14 +1454,14 @@ declare namespace shaka.mss {
|
|
|
1406
1454
|
update ( ) : any ;
|
|
1407
1455
|
}
|
|
1408
1456
|
}
|
|
1409
|
-
// Generated from /home/
|
|
1457
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1410
1458
|
declare namespace shaka.net {
|
|
1411
1459
|
class DataUriPlugin {
|
|
1412
1460
|
private noStructuralTyping_shaka_net_DataUriPlugin : any;
|
|
1413
1461
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1414
1462
|
}
|
|
1415
1463
|
}
|
|
1416
|
-
// Generated from /home/
|
|
1464
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1417
1465
|
declare namespace shaka.net {
|
|
1418
1466
|
class HttpFetchPlugin {
|
|
1419
1467
|
private noStructuralTyping_shaka_net_HttpFetchPlugin : any;
|
|
@@ -1426,14 +1474,14 @@ declare namespace shaka.net {
|
|
|
1426
1474
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
|
|
1427
1475
|
}
|
|
1428
1476
|
}
|
|
1429
|
-
// Generated from /home/
|
|
1477
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1430
1478
|
declare namespace shaka.net {
|
|
1431
1479
|
class HttpXHRPlugin {
|
|
1432
1480
|
private noStructuralTyping_shaka_net_HttpXHRPlugin : any;
|
|
1433
1481
|
static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
|
|
1434
1482
|
}
|
|
1435
1483
|
}
|
|
1436
|
-
// Generated from /home/
|
|
1484
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1437
1485
|
declare namespace shaka.net {
|
|
1438
1486
|
/**
|
|
1439
1487
|
* NetworkingEngine wraps all networking operations. This accepts plugins that
|
|
@@ -1502,7 +1550,7 @@ declare namespace shaka.net {
|
|
|
1502
1550
|
static unregisterScheme (scheme : string ) : any ;
|
|
1503
1551
|
}
|
|
1504
1552
|
}
|
|
1505
|
-
// Generated from /home/
|
|
1553
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1506
1554
|
declare namespace shaka.net.NetworkingEngine {
|
|
1507
1555
|
/**
|
|
1508
1556
|
* A more advanced form of the RequestType structure, meant to describe
|
|
@@ -1527,7 +1575,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1527
1575
|
MSS = 5.0 ,
|
|
1528
1576
|
}
|
|
1529
1577
|
}
|
|
1530
|
-
// Generated from /home/
|
|
1578
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1531
1579
|
declare namespace shaka.net.NetworkingEngine {
|
|
1532
1580
|
/**
|
|
1533
1581
|
* A wrapper class for the number of bytes remaining to be downloaded for the
|
|
@@ -1540,19 +1588,19 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1540
1588
|
private noStructuralTyping_shaka_net_NetworkingEngine_NumBytesRemainingClass : any;
|
|
1541
1589
|
}
|
|
1542
1590
|
}
|
|
1543
|
-
// Generated from /home/
|
|
1591
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1544
1592
|
declare namespace shaka.net.NetworkingEngine {
|
|
1545
1593
|
type OnDownloadFailed = (a : shaka.extern.Request , b : shaka.util.Error | null , c : number , d : boolean ) => any ;
|
|
1546
1594
|
}
|
|
1547
|
-
// Generated from /home/
|
|
1595
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1548
1596
|
declare namespace shaka.net.NetworkingEngine {
|
|
1549
1597
|
type OnHeadersReceived = (a : { [ key: string ]: string } , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType ) => any ;
|
|
1550
1598
|
}
|
|
1551
|
-
// Generated from /home/
|
|
1599
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1552
1600
|
declare namespace shaka.net.NetworkingEngine {
|
|
1553
1601
|
type OnRequest = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c : shaka.extern.RequestContext | undefined ) => any ;
|
|
1554
1602
|
}
|
|
1555
|
-
// Generated from /home/
|
|
1603
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1556
1604
|
declare namespace shaka.net.NetworkingEngine {
|
|
1557
1605
|
/**
|
|
1558
1606
|
* A pending network request. This can track the current progress of the
|
|
@@ -1567,7 +1615,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1567
1615
|
constructor (promise : Promise < any > , onAbort : shaka.extern.CreateSegmentIndexFunction , numBytesRemainingObj : shaka.net.NetworkingEngine.NumBytesRemainingClass | null ) ;
|
|
1568
1616
|
}
|
|
1569
1617
|
}
|
|
1570
|
-
// Generated from /home/
|
|
1618
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1571
1619
|
declare namespace shaka.net.NetworkingEngine {
|
|
1572
1620
|
/**
|
|
1573
1621
|
* Priority level for network scheme plugins.
|
|
@@ -1585,7 +1633,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1585
1633
|
PREFERRED = 2.0 ,
|
|
1586
1634
|
}
|
|
1587
1635
|
}
|
|
1588
|
-
// Generated from /home/
|
|
1636
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1589
1637
|
declare namespace shaka.net.NetworkingEngine {
|
|
1590
1638
|
/**
|
|
1591
1639
|
* Request types. Allows a filter to decide which requests to read/alter.
|
|
@@ -1594,6 +1642,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1594
1642
|
* Request types. Allows a filter to decide which requests to read/alter.
|
|
1595
1643
|
*/
|
|
1596
1644
|
enum RequestType {
|
|
1645
|
+
ADS = 7.0 ,
|
|
1597
1646
|
APP = 3.0 ,
|
|
1598
1647
|
KEY = 6.0 ,
|
|
1599
1648
|
LICENSE = 2.0 ,
|
|
@@ -1603,14 +1652,14 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1603
1652
|
TIMING = 4.0 ,
|
|
1604
1653
|
}
|
|
1605
1654
|
}
|
|
1606
|
-
// Generated from /home/
|
|
1655
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1607
1656
|
declare namespace shaka.offline {
|
|
1608
1657
|
class OfflineScheme {
|
|
1609
1658
|
private noStructuralTyping_shaka_offline_OfflineScheme : any;
|
|
1610
1659
|
static plugin (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
|
|
1611
1660
|
}
|
|
1612
1661
|
}
|
|
1613
|
-
// Generated from /home/
|
|
1662
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1614
1663
|
declare namespace shaka.offline {
|
|
1615
1664
|
class Storage implements shaka.util.IDestroyable {
|
|
1616
1665
|
private noStructuralTyping_shaka_offline_Storage : any;
|
|
@@ -1681,7 +1730,7 @@ declare namespace shaka.offline {
|
|
|
1681
1730
|
static support ( ) : boolean ;
|
|
1682
1731
|
}
|
|
1683
1732
|
}
|
|
1684
|
-
// Generated from /home/
|
|
1733
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1685
1734
|
declare namespace shaka.offline {
|
|
1686
1735
|
/**
|
|
1687
1736
|
* StorageMuxer is responsible for managing StorageMechanisms and addressing
|
|
@@ -1714,7 +1763,7 @@ declare namespace shaka.offline {
|
|
|
1714
1763
|
static unregister (name : string ) : any ;
|
|
1715
1764
|
}
|
|
1716
1765
|
}
|
|
1717
|
-
// Generated from /home/
|
|
1766
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1718
1767
|
declare namespace shaka {
|
|
1719
1768
|
class polyfill {
|
|
1720
1769
|
private noStructuralTyping_shaka_polyfill : any;
|
|
@@ -1729,7 +1778,7 @@ declare namespace shaka {
|
|
|
1729
1778
|
static register (polyfill : ( ) => any , priority ? : number ) : any ;
|
|
1730
1779
|
}
|
|
1731
1780
|
}
|
|
1732
|
-
// Generated from /home/
|
|
1781
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1733
1782
|
declare namespace shaka.polyfill {
|
|
1734
1783
|
class AbortController extends AbortController {
|
|
1735
1784
|
private noStructuralTyping_shaka_polyfill_AbortController : any;
|
|
@@ -1739,7 +1788,7 @@ declare namespace shaka.polyfill {
|
|
|
1739
1788
|
static install ( ) : any ;
|
|
1740
1789
|
}
|
|
1741
1790
|
}
|
|
1742
|
-
// Generated from /home/
|
|
1791
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1743
1792
|
declare namespace shaka.polyfill {
|
|
1744
1793
|
class Aria {
|
|
1745
1794
|
private noStructuralTyping_shaka_polyfill_Aria : any;
|
|
@@ -1749,7 +1798,7 @@ declare namespace shaka.polyfill {
|
|
|
1749
1798
|
static install ( ) : any ;
|
|
1750
1799
|
}
|
|
1751
1800
|
}
|
|
1752
|
-
// Generated from /home/
|
|
1801
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1753
1802
|
declare namespace shaka.polyfill {
|
|
1754
1803
|
class EncryptionScheme {
|
|
1755
1804
|
private noStructuralTyping_shaka_polyfill_EncryptionScheme : any;
|
|
@@ -1759,7 +1808,7 @@ declare namespace shaka.polyfill {
|
|
|
1759
1808
|
static install ( ) : any ;
|
|
1760
1809
|
}
|
|
1761
1810
|
}
|
|
1762
|
-
// Generated from /home/
|
|
1811
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1763
1812
|
declare namespace shaka.polyfill {
|
|
1764
1813
|
class Fullscreen {
|
|
1765
1814
|
private noStructuralTyping_shaka_polyfill_Fullscreen : any;
|
|
@@ -1769,7 +1818,7 @@ declare namespace shaka.polyfill {
|
|
|
1769
1818
|
static install ( ) : any ;
|
|
1770
1819
|
}
|
|
1771
1820
|
}
|
|
1772
|
-
// Generated from /home/
|
|
1821
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1773
1822
|
declare namespace shaka.polyfill {
|
|
1774
1823
|
class MediaCapabilities {
|
|
1775
1824
|
private noStructuralTyping_shaka_polyfill_MediaCapabilities : any;
|
|
@@ -1785,7 +1834,7 @@ declare namespace shaka.polyfill {
|
|
|
1785
1834
|
static originalMcap : any | null ;
|
|
1786
1835
|
}
|
|
1787
1836
|
}
|
|
1788
|
-
// Generated from /home/
|
|
1837
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1789
1838
|
declare namespace shaka.polyfill {
|
|
1790
1839
|
class MediaSource {
|
|
1791
1840
|
private noStructuralTyping_shaka_polyfill_MediaSource : any;
|
|
@@ -1795,7 +1844,7 @@ declare namespace shaka.polyfill {
|
|
|
1795
1844
|
static install ( ) : any ;
|
|
1796
1845
|
}
|
|
1797
1846
|
}
|
|
1798
|
-
// Generated from /home/
|
|
1847
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1799
1848
|
declare namespace shaka.polyfill {
|
|
1800
1849
|
class Orientation {
|
|
1801
1850
|
private noStructuralTyping_shaka_polyfill_Orientation : any;
|
|
@@ -1805,7 +1854,7 @@ declare namespace shaka.polyfill {
|
|
|
1805
1854
|
static install ( ) : any ;
|
|
1806
1855
|
}
|
|
1807
1856
|
}
|
|
1808
|
-
// Generated from /home/
|
|
1857
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1809
1858
|
declare namespace shaka.polyfill {
|
|
1810
1859
|
class PatchedMediaKeysApple {
|
|
1811
1860
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysApple : any;
|
|
@@ -1820,7 +1869,7 @@ declare namespace shaka.polyfill {
|
|
|
1820
1869
|
static uninstall ( ) : any ;
|
|
1821
1870
|
}
|
|
1822
1871
|
}
|
|
1823
|
-
// Generated from /home/
|
|
1872
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1824
1873
|
declare namespace shaka.polyfill {
|
|
1825
1874
|
class PatchedMediaKeysNop {
|
|
1826
1875
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysNop : any;
|
|
@@ -1830,7 +1879,7 @@ declare namespace shaka.polyfill {
|
|
|
1830
1879
|
static install ( ) : any ;
|
|
1831
1880
|
}
|
|
1832
1881
|
}
|
|
1833
|
-
// Generated from /home/
|
|
1882
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1834
1883
|
declare namespace shaka.polyfill {
|
|
1835
1884
|
class PatchedMediaKeysWebkit {
|
|
1836
1885
|
private noStructuralTyping_shaka_polyfill_PatchedMediaKeysWebkit : any;
|
|
@@ -1840,7 +1889,7 @@ declare namespace shaka.polyfill {
|
|
|
1840
1889
|
static install ( ) : any ;
|
|
1841
1890
|
}
|
|
1842
1891
|
}
|
|
1843
|
-
// Generated from /home/
|
|
1892
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1844
1893
|
declare namespace shaka.polyfill {
|
|
1845
1894
|
class PiPWebkit {
|
|
1846
1895
|
private noStructuralTyping_shaka_polyfill_PiPWebkit : any;
|
|
@@ -1850,7 +1899,7 @@ declare namespace shaka.polyfill {
|
|
|
1850
1899
|
static install ( ) : any ;
|
|
1851
1900
|
}
|
|
1852
1901
|
}
|
|
1853
|
-
// Generated from /home/
|
|
1902
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1854
1903
|
declare namespace shaka.polyfill {
|
|
1855
1904
|
class RandomUUID {
|
|
1856
1905
|
private noStructuralTyping_shaka_polyfill_RandomUUID : any;
|
|
@@ -1860,7 +1909,7 @@ declare namespace shaka.polyfill {
|
|
|
1860
1909
|
static install ( ) : any ;
|
|
1861
1910
|
}
|
|
1862
1911
|
}
|
|
1863
|
-
// Generated from /home/
|
|
1912
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1864
1913
|
declare namespace shaka.polyfill {
|
|
1865
1914
|
class StorageEstimate {
|
|
1866
1915
|
private noStructuralTyping_shaka_polyfill_StorageEstimate : any;
|
|
@@ -1870,7 +1919,7 @@ declare namespace shaka.polyfill {
|
|
|
1870
1919
|
static install ( ) : any ;
|
|
1871
1920
|
}
|
|
1872
1921
|
}
|
|
1873
|
-
// Generated from /home/
|
|
1922
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1874
1923
|
declare namespace shaka.polyfill {
|
|
1875
1924
|
class Symbol {
|
|
1876
1925
|
private noStructuralTyping_shaka_polyfill_Symbol : any;
|
|
@@ -1880,7 +1929,7 @@ declare namespace shaka.polyfill {
|
|
|
1880
1929
|
static install ( ) : any ;
|
|
1881
1930
|
}
|
|
1882
1931
|
}
|
|
1883
|
-
// Generated from /home/
|
|
1932
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1884
1933
|
declare namespace shaka.polyfill {
|
|
1885
1934
|
class VTTCue {
|
|
1886
1935
|
private noStructuralTyping_shaka_polyfill_VTTCue : any;
|
|
@@ -1890,7 +1939,7 @@ declare namespace shaka.polyfill {
|
|
|
1890
1939
|
static install ( ) : any ;
|
|
1891
1940
|
}
|
|
1892
1941
|
}
|
|
1893
|
-
// Generated from /home/
|
|
1942
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1894
1943
|
declare namespace shaka.polyfill {
|
|
1895
1944
|
class VideoPlayPromise {
|
|
1896
1945
|
private noStructuralTyping_shaka_polyfill_VideoPlayPromise : any;
|
|
@@ -1900,7 +1949,7 @@ declare namespace shaka.polyfill {
|
|
|
1900
1949
|
static install ( ) : any ;
|
|
1901
1950
|
}
|
|
1902
1951
|
}
|
|
1903
|
-
// Generated from /home/
|
|
1952
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1904
1953
|
declare namespace shaka.polyfill {
|
|
1905
1954
|
class VideoPlaybackQuality {
|
|
1906
1955
|
private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
|
|
@@ -1910,7 +1959,7 @@ declare namespace shaka.polyfill {
|
|
|
1910
1959
|
static install ( ) : any ;
|
|
1911
1960
|
}
|
|
1912
1961
|
}
|
|
1913
|
-
// Generated from /home/
|
|
1962
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
1914
1963
|
declare namespace shaka.text {
|
|
1915
1964
|
class Cue {
|
|
1916
1965
|
private noStructuralTyping_shaka_text_Cue : any;
|
|
@@ -2047,6 +2096,11 @@ declare namespace shaka.text {
|
|
|
2047
2096
|
* because nested cues are inline elements.
|
|
2048
2097
|
*/
|
|
2049
2098
|
region : shaka.text.CueRegion | null ;
|
|
2099
|
+
/**
|
|
2100
|
+
* Used to indicate the type of ruby tag that should be used when rendering
|
|
2101
|
+
* the cue. Valid values: ruby, rp, rt.
|
|
2102
|
+
*/
|
|
2103
|
+
rubyTag : string | null ;
|
|
2050
2104
|
/**
|
|
2051
2105
|
* Size of the cue box (in percents), where 0 means "auto".
|
|
2052
2106
|
*/
|
|
@@ -2060,6 +2114,10 @@ declare namespace shaka.text {
|
|
|
2060
2114
|
* Alignment of the text inside the cue box.
|
|
2061
2115
|
*/
|
|
2062
2116
|
textAlign : shaka.text.Cue.textAlign ;
|
|
2117
|
+
/**
|
|
2118
|
+
* Text combine upright as a CSS text-combine-upright value.
|
|
2119
|
+
*/
|
|
2120
|
+
textCombineUpright : string ;
|
|
2063
2121
|
/**
|
|
2064
2122
|
* Text decoration. A combination of underline, overline
|
|
2065
2123
|
* and line through. Empty array means no decoration.
|
|
@@ -2087,7 +2145,7 @@ declare namespace shaka.text {
|
|
|
2087
2145
|
writingMode : shaka.text.Cue.writingMode ;
|
|
2088
2146
|
}
|
|
2089
2147
|
}
|
|
2090
|
-
// Generated from /home/
|
|
2148
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2091
2149
|
declare namespace shaka.text.Cue {
|
|
2092
2150
|
/**
|
|
2093
2151
|
* Default text background color according to
|
|
@@ -2108,7 +2166,7 @@ declare namespace shaka.text.Cue {
|
|
|
2108
2166
|
bg_yellow = 'yellow' ,
|
|
2109
2167
|
}
|
|
2110
2168
|
}
|
|
2111
|
-
// Generated from /home/
|
|
2169
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2112
2170
|
declare namespace shaka.text.Cue {
|
|
2113
2171
|
/**
|
|
2114
2172
|
* Default text color according to
|
|
@@ -2129,14 +2187,14 @@ declare namespace shaka.text.Cue {
|
|
|
2129
2187
|
yellow = 'yellow' ,
|
|
2130
2188
|
}
|
|
2131
2189
|
}
|
|
2132
|
-
// Generated from /home/
|
|
2190
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2133
2191
|
declare namespace shaka.text.Cue {
|
|
2134
2192
|
enum direction {
|
|
2135
2193
|
HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
|
|
2136
2194
|
HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
|
|
2137
2195
|
}
|
|
2138
2196
|
}
|
|
2139
|
-
// Generated from /home/
|
|
2197
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2140
2198
|
declare namespace shaka.text.Cue {
|
|
2141
2199
|
/**
|
|
2142
2200
|
* Vertical alignments of the cues within their extents.
|
|
@@ -2154,7 +2212,7 @@ declare namespace shaka.text.Cue {
|
|
|
2154
2212
|
CENTER = 'center' ,
|
|
2155
2213
|
}
|
|
2156
2214
|
}
|
|
2157
|
-
// Generated from /home/
|
|
2215
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2158
2216
|
declare namespace shaka.text.Cue {
|
|
2159
2217
|
enum fontStyle {
|
|
2160
2218
|
ITALIC = 'italic' ,
|
|
@@ -2162,7 +2220,7 @@ declare namespace shaka.text.Cue {
|
|
|
2162
2220
|
OBLIQUE = 'oblique' ,
|
|
2163
2221
|
}
|
|
2164
2222
|
}
|
|
2165
|
-
// Generated from /home/
|
|
2223
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2166
2224
|
declare namespace shaka.text.Cue {
|
|
2167
2225
|
/**
|
|
2168
2226
|
* In CSS font weight can be a number, where 400 is normal and 700 is bold.
|
|
@@ -2177,7 +2235,7 @@ declare namespace shaka.text.Cue {
|
|
|
2177
2235
|
NORMAL = 400.0 ,
|
|
2178
2236
|
}
|
|
2179
2237
|
}
|
|
2180
|
-
// Generated from /home/
|
|
2238
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2181
2239
|
declare namespace shaka.text.Cue {
|
|
2182
2240
|
enum lineAlign {
|
|
2183
2241
|
CENTER = 'center' ,
|
|
@@ -2185,14 +2243,14 @@ declare namespace shaka.text.Cue {
|
|
|
2185
2243
|
START = 'start' ,
|
|
2186
2244
|
}
|
|
2187
2245
|
}
|
|
2188
|
-
// Generated from /home/
|
|
2246
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2189
2247
|
declare namespace shaka.text.Cue {
|
|
2190
2248
|
enum lineInterpretation {
|
|
2191
2249
|
LINE_NUMBER = 0.0 ,
|
|
2192
2250
|
PERCENTAGE = 1.0 ,
|
|
2193
2251
|
}
|
|
2194
2252
|
}
|
|
2195
|
-
// Generated from /home/
|
|
2253
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2196
2254
|
declare namespace shaka.text.Cue {
|
|
2197
2255
|
enum positionAlign {
|
|
2198
2256
|
AUTO = 'auto' ,
|
|
@@ -2201,7 +2259,7 @@ declare namespace shaka.text.Cue {
|
|
|
2201
2259
|
RIGHT = 'line-right' ,
|
|
2202
2260
|
}
|
|
2203
2261
|
}
|
|
2204
|
-
// Generated from /home/
|
|
2262
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2205
2263
|
declare namespace shaka.text.Cue {
|
|
2206
2264
|
enum textAlign {
|
|
2207
2265
|
CENTER = 'center' ,
|
|
@@ -2211,7 +2269,7 @@ declare namespace shaka.text.Cue {
|
|
|
2211
2269
|
START = 'start' ,
|
|
2212
2270
|
}
|
|
2213
2271
|
}
|
|
2214
|
-
// Generated from /home/
|
|
2272
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2215
2273
|
declare namespace shaka.text.Cue {
|
|
2216
2274
|
enum textDecoration {
|
|
2217
2275
|
LINE_THROUGH = 'lineThrough' ,
|
|
@@ -2219,7 +2277,7 @@ declare namespace shaka.text.Cue {
|
|
|
2219
2277
|
UNDERLINE = 'underline' ,
|
|
2220
2278
|
}
|
|
2221
2279
|
}
|
|
2222
|
-
// Generated from /home/
|
|
2280
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2223
2281
|
declare namespace shaka.text.Cue {
|
|
2224
2282
|
enum writingMode {
|
|
2225
2283
|
HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
|
|
@@ -2227,7 +2285,7 @@ declare namespace shaka.text.Cue {
|
|
|
2227
2285
|
VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
|
|
2228
2286
|
}
|
|
2229
2287
|
}
|
|
2230
|
-
// Generated from /home/
|
|
2288
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2231
2289
|
declare namespace shaka.text {
|
|
2232
2290
|
class CueRegion {
|
|
2233
2291
|
private noStructuralTyping_shaka_text_CueRegion : any;
|
|
@@ -2284,14 +2342,14 @@ declare namespace shaka.text {
|
|
|
2284
2342
|
widthUnits : shaka.text.CueRegion.units ;
|
|
2285
2343
|
}
|
|
2286
2344
|
}
|
|
2287
|
-
// Generated from /home/
|
|
2345
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2288
2346
|
declare namespace shaka.text.CueRegion {
|
|
2289
2347
|
enum scrollMode {
|
|
2290
2348
|
NONE = '' ,
|
|
2291
2349
|
UP = 'up' ,
|
|
2292
2350
|
}
|
|
2293
2351
|
}
|
|
2294
|
-
// Generated from /home/
|
|
2352
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2295
2353
|
declare namespace shaka.text.CueRegion {
|
|
2296
2354
|
enum units {
|
|
2297
2355
|
LINES = 2.0 ,
|
|
@@ -2299,7 +2357,7 @@ declare namespace shaka.text.CueRegion {
|
|
|
2299
2357
|
PX = 0.0 ,
|
|
2300
2358
|
}
|
|
2301
2359
|
}
|
|
2302
|
-
// Generated from /home/
|
|
2360
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2303
2361
|
declare namespace shaka.text {
|
|
2304
2362
|
/**
|
|
2305
2363
|
* LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
|
|
@@ -2312,7 +2370,7 @@ declare namespace shaka.text {
|
|
|
2312
2370
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2313
2371
|
}
|
|
2314
2372
|
}
|
|
2315
|
-
// Generated from /home/
|
|
2373
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2316
2374
|
declare namespace shaka.text {
|
|
2317
2375
|
class Mp4TtmlParser implements shaka.extern.TextParser {
|
|
2318
2376
|
private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
|
|
@@ -2322,7 +2380,7 @@ declare namespace shaka.text {
|
|
|
2322
2380
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2323
2381
|
}
|
|
2324
2382
|
}
|
|
2325
|
-
// Generated from /home/
|
|
2383
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2326
2384
|
declare namespace shaka.text {
|
|
2327
2385
|
class Mp4VttParser implements shaka.extern.TextParser {
|
|
2328
2386
|
private noStructuralTyping_shaka_text_Mp4VttParser : any;
|
|
@@ -2332,7 +2390,7 @@ declare namespace shaka.text {
|
|
|
2332
2390
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2333
2391
|
}
|
|
2334
2392
|
}
|
|
2335
|
-
// Generated from /home/
|
|
2393
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2336
2394
|
declare namespace shaka.text {
|
|
2337
2395
|
class SbvTextParser implements shaka.extern.TextParser {
|
|
2338
2396
|
private noStructuralTyping_shaka_text_SbvTextParser : any;
|
|
@@ -2342,7 +2400,7 @@ declare namespace shaka.text {
|
|
|
2342
2400
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2343
2401
|
}
|
|
2344
2402
|
}
|
|
2345
|
-
// Generated from /home/
|
|
2403
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2346
2404
|
declare namespace shaka.text {
|
|
2347
2405
|
/**
|
|
2348
2406
|
* A text displayer plugin using the browser's native VTTCue interface.
|
|
@@ -2360,7 +2418,7 @@ declare namespace shaka.text {
|
|
|
2360
2418
|
setTextVisibility (on : any ) : any ;
|
|
2361
2419
|
}
|
|
2362
2420
|
}
|
|
2363
|
-
// Generated from /home/
|
|
2421
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2364
2422
|
declare namespace shaka.text {
|
|
2365
2423
|
class SrtTextParser implements shaka.extern.TextParser {
|
|
2366
2424
|
private noStructuralTyping_shaka_text_SrtTextParser : any;
|
|
@@ -2374,7 +2432,7 @@ declare namespace shaka.text {
|
|
|
2374
2432
|
static srt2webvtt (data : string ) : string ;
|
|
2375
2433
|
}
|
|
2376
2434
|
}
|
|
2377
|
-
// Generated from /home/
|
|
2435
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2378
2436
|
declare namespace shaka.text {
|
|
2379
2437
|
/**
|
|
2380
2438
|
* Documentation: http://moodub.free.fr/video/ass-specs.doc
|
|
@@ -2388,7 +2446,7 @@ declare namespace shaka.text {
|
|
|
2388
2446
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2389
2447
|
}
|
|
2390
2448
|
}
|
|
2391
|
-
// Generated from /home/
|
|
2449
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2392
2450
|
declare namespace shaka.text {
|
|
2393
2451
|
class TextEngine implements shaka.util.IDestroyable {
|
|
2394
2452
|
private noStructuralTyping_shaka_text_TextEngine : any;
|
|
@@ -2399,7 +2457,7 @@ declare namespace shaka.text {
|
|
|
2399
2457
|
static unregisterParser (mimeType : string ) : any ;
|
|
2400
2458
|
}
|
|
2401
2459
|
}
|
|
2402
|
-
// Generated from /home/
|
|
2460
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2403
2461
|
declare namespace shaka.text {
|
|
2404
2462
|
class TtmlTextParser implements shaka.extern.TextParser {
|
|
2405
2463
|
private noStructuralTyping_shaka_text_TtmlTextParser : any;
|
|
@@ -2409,7 +2467,7 @@ declare namespace shaka.text {
|
|
|
2409
2467
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2410
2468
|
}
|
|
2411
2469
|
}
|
|
2412
|
-
// Generated from /home/
|
|
2470
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2413
2471
|
declare namespace shaka.text {
|
|
2414
2472
|
/**
|
|
2415
2473
|
* The text displayer plugin for the Shaka Player UI. Can also be used directly
|
|
@@ -2429,7 +2487,7 @@ declare namespace shaka.text {
|
|
|
2429
2487
|
setTextVisibility (on : any ) : any ;
|
|
2430
2488
|
}
|
|
2431
2489
|
}
|
|
2432
|
-
// Generated from /home/
|
|
2490
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2433
2491
|
declare namespace shaka.text {
|
|
2434
2492
|
class VttTextParser implements shaka.extern.TextParser {
|
|
2435
2493
|
private noStructuralTyping_shaka_text_VttTextParser : any;
|
|
@@ -2439,13 +2497,13 @@ declare namespace shaka.text {
|
|
|
2439
2497
|
setSequenceMode (sequenceMode : any ) : any ;
|
|
2440
2498
|
}
|
|
2441
2499
|
}
|
|
2442
|
-
// Generated from /home/
|
|
2500
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2443
2501
|
declare namespace shaka.text {
|
|
2444
2502
|
class WebVttGenerator {
|
|
2445
2503
|
private noStructuralTyping_shaka_text_WebVttGenerator : any;
|
|
2446
2504
|
}
|
|
2447
2505
|
}
|
|
2448
|
-
// Generated from /home/
|
|
2506
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2449
2507
|
declare namespace shaka.transmuxer {
|
|
2450
2508
|
class AacTransmuxer implements shaka.extern.Transmuxer {
|
|
2451
2509
|
private noStructuralTyping_shaka_transmuxer_AacTransmuxer : any;
|
|
@@ -2460,7 +2518,7 @@ declare namespace shaka.transmuxer {
|
|
|
2460
2518
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2461
2519
|
}
|
|
2462
2520
|
}
|
|
2463
|
-
// Generated from /home/
|
|
2521
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2464
2522
|
declare namespace shaka.transmuxer {
|
|
2465
2523
|
class Ac3Transmuxer implements shaka.extern.Transmuxer {
|
|
2466
2524
|
private noStructuralTyping_shaka_transmuxer_Ac3Transmuxer : any;
|
|
@@ -2475,7 +2533,7 @@ declare namespace shaka.transmuxer {
|
|
|
2475
2533
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2476
2534
|
}
|
|
2477
2535
|
}
|
|
2478
|
-
// Generated from /home/
|
|
2536
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2479
2537
|
declare namespace shaka.transmuxer {
|
|
2480
2538
|
class Ec3Transmuxer implements shaka.extern.Transmuxer {
|
|
2481
2539
|
private noStructuralTyping_shaka_transmuxer_Ec3Transmuxer : any;
|
|
@@ -2490,7 +2548,7 @@ declare namespace shaka.transmuxer {
|
|
|
2490
2548
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2491
2549
|
}
|
|
2492
2550
|
}
|
|
2493
|
-
// Generated from /home/
|
|
2551
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2494
2552
|
declare namespace shaka.transmuxer {
|
|
2495
2553
|
class Mp3Transmuxer implements shaka.extern.Transmuxer {
|
|
2496
2554
|
private noStructuralTyping_shaka_transmuxer_Mp3Transmuxer : any;
|
|
@@ -2505,7 +2563,7 @@ declare namespace shaka.transmuxer {
|
|
|
2505
2563
|
transmux (data : any , stream : any , reference : any , duration : any ) : any ;
|
|
2506
2564
|
}
|
|
2507
2565
|
}
|
|
2508
|
-
// Generated from /home/
|
|
2566
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2509
2567
|
declare namespace shaka.transmuxer {
|
|
2510
2568
|
class MpegTsTransmuxer implements shaka.extern.Transmuxer {
|
|
2511
2569
|
private noStructuralTyping_shaka_transmuxer_MpegTsTransmuxer : any;
|
|
@@ -2517,10 +2575,10 @@ declare namespace shaka.transmuxer {
|
|
|
2517
2575
|
* Check if the mime type and the content type is supported.
|
|
2518
2576
|
*/
|
|
2519
2577
|
isSupported (mimeType : string , contentType ? : string ) : boolean ;
|
|
2520
|
-
transmux (data : any ) : any ;
|
|
2578
|
+
transmux (data : any , stream : any , reference : any , duration : any , contentType : any ) : any ;
|
|
2521
2579
|
}
|
|
2522
2580
|
}
|
|
2523
|
-
// Generated from /home/
|
|
2581
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2524
2582
|
declare namespace shaka.transmuxer {
|
|
2525
2583
|
class MssTransmuxer implements shaka.extern.Transmuxer {
|
|
2526
2584
|
private noStructuralTyping_shaka_transmuxer_MssTransmuxer : any;
|
|
@@ -2535,22 +2593,7 @@ declare namespace shaka.transmuxer {
|
|
|
2535
2593
|
transmux (data : any , stream : any , reference : any ) : any ;
|
|
2536
2594
|
}
|
|
2537
2595
|
}
|
|
2538
|
-
// Generated from /home/
|
|
2539
|
-
declare namespace shaka.transmuxer {
|
|
2540
|
-
class MuxjsTransmuxer implements shaka.extern.Transmuxer {
|
|
2541
|
-
private noStructuralTyping_shaka_transmuxer_MuxjsTransmuxer : any;
|
|
2542
|
-
constructor (mimeType : string ) ;
|
|
2543
|
-
convertCodecs (contentType : any , mimeType : any ) : any ;
|
|
2544
|
-
destroy ( ) : any ;
|
|
2545
|
-
getOrginalMimeType ( ) : any ;
|
|
2546
|
-
/**
|
|
2547
|
-
* Check if the mime type and the content type is supported.
|
|
2548
|
-
*/
|
|
2549
|
-
isSupported (mimeType : string , contentType ? : string ) : boolean ;
|
|
2550
|
-
transmux (data : any ) : any ;
|
|
2551
|
-
}
|
|
2552
|
-
}
|
|
2553
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.ui.externs.js
|
|
2596
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2554
2597
|
declare namespace shaka.transmuxer {
|
|
2555
2598
|
class TransmuxerEngine implements shaka.util.IDestroyable {
|
|
2556
2599
|
private noStructuralTyping_shaka_transmuxer_TransmuxerEngine : any;
|
|
@@ -2560,7 +2603,7 @@ declare namespace shaka.transmuxer {
|
|
|
2560
2603
|
static unregisterTransmuxer (mimeType : string , priority : number ) : any ;
|
|
2561
2604
|
}
|
|
2562
2605
|
}
|
|
2563
|
-
// Generated from /home/
|
|
2606
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2564
2607
|
declare namespace shaka.transmuxer.TransmuxerEngine {
|
|
2565
2608
|
/**
|
|
2566
2609
|
* Priority level for transmuxer plugins.
|
|
@@ -2579,7 +2622,7 @@ declare namespace shaka.transmuxer.TransmuxerEngine {
|
|
|
2579
2622
|
PREFERRED_SECONDARY = 2.0 ,
|
|
2580
2623
|
}
|
|
2581
2624
|
}
|
|
2582
|
-
// Generated from /home/
|
|
2625
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2583
2626
|
declare namespace shaka.transmuxer {
|
|
2584
2627
|
class TsTransmuxer implements shaka.extern.Transmuxer {
|
|
2585
2628
|
private noStructuralTyping_shaka_transmuxer_TsTransmuxer : any;
|
|
@@ -2594,49 +2637,49 @@ declare namespace shaka.transmuxer {
|
|
|
2594
2637
|
transmux (data : any , stream : any , reference : any , duration : any , contentType : any ) : any ;
|
|
2595
2638
|
}
|
|
2596
2639
|
}
|
|
2597
|
-
// Generated from /home/
|
|
2640
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2598
2641
|
declare namespace shaka.ui {
|
|
2599
2642
|
class AdCounter extends shaka.ui.Element {
|
|
2600
2643
|
private noStructuralTyping_shaka_ui_AdCounter : any;
|
|
2601
2644
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2602
2645
|
}
|
|
2603
2646
|
}
|
|
2604
|
-
// Generated from /home/
|
|
2647
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2605
2648
|
declare namespace shaka.ui {
|
|
2606
2649
|
class AdPosition extends shaka.ui.Element {
|
|
2607
2650
|
private noStructuralTyping_shaka_ui_AdPosition : any;
|
|
2608
2651
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2609
2652
|
}
|
|
2610
2653
|
}
|
|
2611
|
-
// Generated from /home/
|
|
2654
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2612
2655
|
declare namespace shaka.ui {
|
|
2613
2656
|
class AirPlayButton extends shaka.ui.Element {
|
|
2614
2657
|
private noStructuralTyping_shaka_ui_AirPlayButton : any;
|
|
2615
2658
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2616
2659
|
}
|
|
2617
2660
|
}
|
|
2618
|
-
// Generated from /home/
|
|
2661
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2619
2662
|
declare namespace shaka.ui {
|
|
2620
2663
|
class AudioLanguageSelection extends shaka.ui.SettingsMenu {
|
|
2621
2664
|
private noStructuralTyping_shaka_ui_AudioLanguageSelection : any;
|
|
2622
2665
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2623
2666
|
}
|
|
2624
2667
|
}
|
|
2625
|
-
// Generated from /home/
|
|
2668
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2626
2669
|
declare namespace shaka.ui {
|
|
2627
2670
|
class BigPlayButton extends shaka.ui.PlayButton {
|
|
2628
2671
|
private noStructuralTyping_shaka_ui_BigPlayButton : any;
|
|
2629
2672
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2630
2673
|
}
|
|
2631
2674
|
}
|
|
2632
|
-
// Generated from /home/
|
|
2675
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2633
2676
|
declare namespace shaka.ui {
|
|
2634
2677
|
class CastButton extends shaka.ui.Element {
|
|
2635
2678
|
private noStructuralTyping_shaka_ui_CastButton : any;
|
|
2636
2679
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2637
2680
|
}
|
|
2638
2681
|
}
|
|
2639
|
-
// Generated from /home/
|
|
2682
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2640
2683
|
declare namespace shaka.ui {
|
|
2641
2684
|
class ContextMenu extends shaka.ui.Element {
|
|
2642
2685
|
private noStructuralTyping_shaka_ui_ContextMenu : any;
|
|
@@ -2644,7 +2687,7 @@ declare namespace shaka.ui {
|
|
|
2644
2687
|
static registerElement (name : string , factory : shaka.extern.IUIElement.Factory ) : any ;
|
|
2645
2688
|
}
|
|
2646
2689
|
}
|
|
2647
|
-
// Generated from /home/
|
|
2690
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2648
2691
|
declare namespace shaka.ui {
|
|
2649
2692
|
/**
|
|
2650
2693
|
* A container for custom video controls.
|
|
@@ -2681,6 +2724,8 @@ declare namespace shaka.ui {
|
|
|
2681
2724
|
isFullScreenEnabled ( ) : boolean ;
|
|
2682
2725
|
isFullScreenSupported ( ) : boolean ;
|
|
2683
2726
|
isOpaque ( ) : boolean ;
|
|
2727
|
+
isPiPAllowed ( ) : boolean ;
|
|
2728
|
+
isPiPEnabled ( ) : boolean ;
|
|
2684
2729
|
isSeeking ( ) : boolean ;
|
|
2685
2730
|
/**
|
|
2686
2731
|
* Used by the application to notify the controls that a load operation is
|
|
@@ -2702,11 +2747,12 @@ declare namespace shaka.ui {
|
|
|
2702
2747
|
setSeeking (seeking : boolean ) : any ;
|
|
2703
2748
|
showAdUI ( ) : any ;
|
|
2704
2749
|
toggleFullScreen ( ) : any ;
|
|
2750
|
+
togglePiP ( ) : any ;
|
|
2705
2751
|
static registerElement (name : string , factory : shaka.extern.IUIElement.Factory ) : any ;
|
|
2706
2752
|
static registerSeekBar (factory : shaka.extern.IUISeekBar.Factory ) : any ;
|
|
2707
2753
|
}
|
|
2708
2754
|
}
|
|
2709
|
-
// Generated from /home/
|
|
2755
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2710
2756
|
declare namespace shaka.ui {
|
|
2711
2757
|
abstract class Element implements shaka.extern.IUIElement {
|
|
2712
2758
|
private noStructuralTyping_shaka_ui_Element : any;
|
|
@@ -2722,21 +2768,21 @@ player : shaka.Player | null ;
|
|
|
2722
2768
|
video : HTMLMediaElement | null ;
|
|
2723
2769
|
}
|
|
2724
2770
|
}
|
|
2725
|
-
// Generated from /home/
|
|
2771
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2726
2772
|
declare namespace shaka.ui {
|
|
2727
2773
|
class FastForwardButton extends shaka.ui.Element {
|
|
2728
2774
|
private noStructuralTyping_shaka_ui_FastForwardButton : any;
|
|
2729
2775
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2730
2776
|
}
|
|
2731
2777
|
}
|
|
2732
|
-
// Generated from /home/
|
|
2778
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2733
2779
|
declare namespace shaka.ui {
|
|
2734
2780
|
class FullscreenButton extends shaka.ui.Element {
|
|
2735
2781
|
private noStructuralTyping_shaka_ui_FullscreenButton : any;
|
|
2736
2782
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2737
2783
|
}
|
|
2738
2784
|
}
|
|
2739
|
-
// Generated from /home/
|
|
2785
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2740
2786
|
declare namespace shaka.ui {
|
|
2741
2787
|
/**
|
|
2742
2788
|
* Localization system provided by the shaka ui library.
|
|
@@ -2811,7 +2857,7 @@ declare namespace shaka.ui {
|
|
|
2811
2857
|
static UNKNOWN_LOCALIZATION : string ;
|
|
2812
2858
|
}
|
|
2813
2859
|
}
|
|
2814
|
-
// Generated from /home/
|
|
2860
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2815
2861
|
declare namespace shaka.ui.Localization {
|
|
2816
2862
|
/**
|
|
2817
2863
|
* An enum for how the localization system should resolve conflicts between old
|
|
@@ -2826,21 +2872,21 @@ declare namespace shaka.ui.Localization {
|
|
|
2826
2872
|
USE_OLD = 0.0 ,
|
|
2827
2873
|
}
|
|
2828
2874
|
}
|
|
2829
|
-
// Generated from /home/
|
|
2875
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2830
2876
|
declare namespace shaka.ui {
|
|
2831
2877
|
class LoopButton extends shaka.ui.Element {
|
|
2832
2878
|
private noStructuralTyping_shaka_ui_LoopButton : any;
|
|
2833
2879
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2834
2880
|
}
|
|
2835
2881
|
}
|
|
2836
|
-
// Generated from /home/
|
|
2882
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2837
2883
|
declare namespace shaka.ui {
|
|
2838
2884
|
class MuteButton extends shaka.ui.Element {
|
|
2839
2885
|
private noStructuralTyping_shaka_ui_MuteButton : any;
|
|
2840
2886
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2841
2887
|
}
|
|
2842
2888
|
}
|
|
2843
|
-
// Generated from /home/
|
|
2889
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2844
2890
|
declare namespace shaka.ui {
|
|
2845
2891
|
class OverflowMenu extends shaka.ui.Element {
|
|
2846
2892
|
private noStructuralTyping_shaka_ui_OverflowMenu : any;
|
|
@@ -2848,7 +2894,7 @@ declare namespace shaka.ui {
|
|
|
2848
2894
|
static registerElement (name : string , factory : shaka.extern.IUIElement.Factory ) : any ;
|
|
2849
2895
|
}
|
|
2850
2896
|
}
|
|
2851
|
-
// Generated from /home/
|
|
2897
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2852
2898
|
declare namespace shaka.ui {
|
|
2853
2899
|
class Overlay implements shaka.util.IDestroyable {
|
|
2854
2900
|
private noStructuralTyping_shaka_ui_Overlay : any;
|
|
@@ -2868,7 +2914,7 @@ declare namespace shaka.ui {
|
|
|
2868
2914
|
setEnabled (enabled : boolean ) : any ;
|
|
2869
2915
|
}
|
|
2870
2916
|
}
|
|
2871
|
-
// Generated from /home/
|
|
2917
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2872
2918
|
declare namespace shaka.ui.Overlay {
|
|
2873
2919
|
/**
|
|
2874
2920
|
* Describes the possible reasons that the UI might fail to load.
|
|
@@ -2881,7 +2927,7 @@ declare namespace shaka.ui.Overlay {
|
|
|
2881
2927
|
PLAYER_FAILED_TO_LOAD = 1.0 ,
|
|
2882
2928
|
}
|
|
2883
2929
|
}
|
|
2884
|
-
// Generated from /home/
|
|
2930
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2885
2931
|
declare namespace shaka.ui.Overlay {
|
|
2886
2932
|
/**
|
|
2887
2933
|
* Describes what information should show up in labels for selecting audio
|
|
@@ -2898,35 +2944,35 @@ declare namespace shaka.ui.Overlay {
|
|
|
2898
2944
|
ROLE = 1.0 ,
|
|
2899
2945
|
}
|
|
2900
2946
|
}
|
|
2901
|
-
// Generated from /home/
|
|
2947
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2902
2948
|
declare namespace shaka.ui {
|
|
2903
2949
|
class PipButton extends shaka.ui.Element {
|
|
2904
2950
|
private noStructuralTyping_shaka_ui_PipButton : any;
|
|
2905
2951
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2906
2952
|
}
|
|
2907
2953
|
}
|
|
2908
|
-
// Generated from /home/
|
|
2954
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2909
2955
|
declare namespace shaka.ui {
|
|
2910
2956
|
class PlayButton extends shaka.ui.Element {
|
|
2911
2957
|
private noStructuralTyping_shaka_ui_PlayButton : any;
|
|
2912
2958
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2913
2959
|
}
|
|
2914
2960
|
}
|
|
2915
|
-
// Generated from /home/
|
|
2961
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2916
2962
|
declare namespace shaka.ui {
|
|
2917
2963
|
class PlaybackRateSelection extends shaka.ui.SettingsMenu {
|
|
2918
2964
|
private noStructuralTyping_shaka_ui_PlaybackRateSelection : any;
|
|
2919
2965
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2920
2966
|
}
|
|
2921
2967
|
}
|
|
2922
|
-
// Generated from /home/
|
|
2968
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2923
2969
|
declare namespace shaka.ui {
|
|
2924
2970
|
class PresentationTimeTracker extends shaka.ui.Element {
|
|
2925
2971
|
private noStructuralTyping_shaka_ui_PresentationTimeTracker : any;
|
|
2926
2972
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2927
2973
|
}
|
|
2928
2974
|
}
|
|
2929
|
-
// Generated from /home/
|
|
2975
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2930
2976
|
declare namespace shaka.ui {
|
|
2931
2977
|
/**
|
|
2932
2978
|
* A range element, built to work across browsers.
|
|
@@ -2975,21 +3021,28 @@ declare namespace shaka.ui {
|
|
|
2975
3021
|
setValue (value : any ) : any ;
|
|
2976
3022
|
}
|
|
2977
3023
|
}
|
|
2978
|
-
// Generated from /home/
|
|
3024
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3025
|
+
declare namespace shaka.ui {
|
|
3026
|
+
class RemoteButton extends shaka.ui.Element {
|
|
3027
|
+
private noStructuralTyping_shaka_ui_RemoteButton : any;
|
|
3028
|
+
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2979
3032
|
declare namespace shaka.ui {
|
|
2980
3033
|
class ResolutionSelection extends shaka.ui.SettingsMenu {
|
|
2981
3034
|
private noStructuralTyping_shaka_ui_ResolutionSelection : any;
|
|
2982
3035
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2983
3036
|
}
|
|
2984
3037
|
}
|
|
2985
|
-
// Generated from /home/
|
|
3038
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2986
3039
|
declare namespace shaka.ui {
|
|
2987
3040
|
class RewindButton extends shaka.ui.Element {
|
|
2988
3041
|
private noStructuralTyping_shaka_ui_RewindButton : any;
|
|
2989
3042
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
2990
3043
|
}
|
|
2991
3044
|
}
|
|
2992
|
-
// Generated from /home/
|
|
3045
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
2993
3046
|
declare namespace shaka.ui {
|
|
2994
3047
|
class SeekBar extends shaka.ui.RangeElement implements shaka.extern.IUISeekBar {
|
|
2995
3048
|
private noStructuralTyping_shaka_ui_SeekBar : any;
|
|
@@ -2998,14 +3051,14 @@ declare namespace shaka.ui {
|
|
|
2998
3051
|
update ( ) : any ;
|
|
2999
3052
|
}
|
|
3000
3053
|
}
|
|
3001
|
-
// Generated from /home/
|
|
3054
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3002
3055
|
declare namespace shaka.ui.SeekBar {
|
|
3003
3056
|
class Factory implements shaka.extern.IUISeekBar.Factory {
|
|
3004
3057
|
private noStructuralTyping_shaka_ui_SeekBar_Factory : any;
|
|
3005
3058
|
create (rootElement : HTMLElement , controls : shaka.ui.Controls ) : shaka.extern.IUISeekBar ;
|
|
3006
3059
|
}
|
|
3007
3060
|
}
|
|
3008
|
-
// Generated from /home/
|
|
3061
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3009
3062
|
declare namespace shaka.ui {
|
|
3010
3063
|
class SettingsMenu extends shaka.ui.Element implements shaka.extern.IUISettingsMenu {
|
|
3011
3064
|
private noStructuralTyping_shaka_ui_SettingsMenu : any;
|
|
@@ -3019,49 +3072,49 @@ declare namespace shaka.ui {
|
|
|
3019
3072
|
nameSpan : HTMLElement ;
|
|
3020
3073
|
}
|
|
3021
3074
|
}
|
|
3022
|
-
// Generated from /home/
|
|
3075
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3023
3076
|
declare namespace shaka.ui {
|
|
3024
3077
|
class SkipAdButton extends shaka.ui.Element {
|
|
3025
3078
|
private noStructuralTyping_shaka_ui_SkipAdButton : any;
|
|
3026
3079
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3027
3080
|
}
|
|
3028
3081
|
}
|
|
3029
|
-
// Generated from /home/
|
|
3082
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3030
3083
|
declare namespace shaka.ui {
|
|
3031
3084
|
class SmallPlayButton extends shaka.ui.PlayButton {
|
|
3032
3085
|
private noStructuralTyping_shaka_ui_SmallPlayButton : any;
|
|
3033
3086
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3034
3087
|
}
|
|
3035
3088
|
}
|
|
3036
|
-
// Generated from /home/
|
|
3089
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3037
3090
|
declare namespace shaka.ui {
|
|
3038
3091
|
class Spacer extends shaka.ui.Element {
|
|
3039
3092
|
private noStructuralTyping_shaka_ui_Spacer : any;
|
|
3040
3093
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3041
3094
|
}
|
|
3042
3095
|
}
|
|
3043
|
-
// Generated from /home/
|
|
3096
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3044
3097
|
declare namespace shaka.ui {
|
|
3045
3098
|
class StatisticsButton extends shaka.ui.Element {
|
|
3046
3099
|
private noStructuralTyping_shaka_ui_StatisticsButton : any;
|
|
3047
3100
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3048
3101
|
}
|
|
3049
3102
|
}
|
|
3050
|
-
// Generated from /home/
|
|
3103
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3051
3104
|
declare namespace shaka.ui {
|
|
3052
3105
|
class TextSelection extends shaka.ui.SettingsMenu {
|
|
3053
3106
|
private noStructuralTyping_shaka_ui_TextSelection : any;
|
|
3054
3107
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3055
3108
|
}
|
|
3056
3109
|
}
|
|
3057
|
-
// Generated from /home/
|
|
3110
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3058
3111
|
declare namespace shaka.ui {
|
|
3059
3112
|
class VolumeBar extends shaka.ui.RangeElement {
|
|
3060
3113
|
private noStructuralTyping_shaka_ui_VolumeBar : any;
|
|
3061
3114
|
constructor (parent : HTMLElement , controls : shaka.ui.Controls ) ;
|
|
3062
3115
|
}
|
|
3063
3116
|
}
|
|
3064
|
-
// Generated from /home/
|
|
3117
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3065
3118
|
declare namespace shaka.util {
|
|
3066
3119
|
/**
|
|
3067
3120
|
* A utility to wrap abortable operations. Note that these are not cancelable.
|
|
@@ -3087,7 +3140,7 @@ declare namespace shaka.util {
|
|
|
3087
3140
|
static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
|
|
3088
3141
|
}
|
|
3089
3142
|
}
|
|
3090
|
-
// Generated from /home/
|
|
3143
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3091
3144
|
declare namespace shaka.util {
|
|
3092
3145
|
class BufferUtils {
|
|
3093
3146
|
private noStructuralTyping_shaka_util_BufferUtils : any;
|
|
@@ -3117,7 +3170,7 @@ declare namespace shaka.util {
|
|
|
3117
3170
|
static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
|
|
3118
3171
|
}
|
|
3119
3172
|
}
|
|
3120
|
-
// Generated from /home/
|
|
3173
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3121
3174
|
declare namespace shaka.util.CmcdManager {
|
|
3122
3175
|
enum StreamingFormat {
|
|
3123
3176
|
DASH = 'd' ,
|
|
@@ -3126,7 +3179,7 @@ declare namespace shaka.util.CmcdManager {
|
|
|
3126
3179
|
SMOOTH = 's' ,
|
|
3127
3180
|
}
|
|
3128
3181
|
}
|
|
3129
|
-
// Generated from /home/
|
|
3182
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3130
3183
|
declare namespace shaka.util {
|
|
3131
3184
|
class ConfigUtils {
|
|
3132
3185
|
private noStructuralTyping_shaka_util_ConfigUtils : any;
|
|
@@ -3139,7 +3192,7 @@ declare namespace shaka.util {
|
|
|
3139
3192
|
static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
|
|
3140
3193
|
}
|
|
3141
3194
|
}
|
|
3142
|
-
// Generated from /home/
|
|
3195
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3143
3196
|
declare namespace shaka.util {
|
|
3144
3197
|
class DataViewReader {
|
|
3145
3198
|
private noStructuralTyping_shaka_util_DataViewReader : any;
|
|
@@ -3200,7 +3253,7 @@ declare namespace shaka.util {
|
|
|
3200
3253
|
skip (bytes : number ) : any ;
|
|
3201
3254
|
}
|
|
3202
3255
|
}
|
|
3203
|
-
// Generated from /home/
|
|
3256
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3204
3257
|
declare namespace shaka.util.DataViewReader {
|
|
3205
3258
|
/**
|
|
3206
3259
|
* Endianness.
|
|
@@ -3213,7 +3266,7 @@ declare namespace shaka.util.DataViewReader {
|
|
|
3213
3266
|
LITTLE_ENDIAN = 1.0 ,
|
|
3214
3267
|
}
|
|
3215
3268
|
}
|
|
3216
|
-
// Generated from /home/
|
|
3269
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3217
3270
|
declare namespace shaka.util {
|
|
3218
3271
|
class Dom {
|
|
3219
3272
|
private noStructuralTyping_shaka_util_Dom : any;
|
|
@@ -3223,7 +3276,7 @@ declare namespace shaka.util {
|
|
|
3223
3276
|
static removeAllChildren (element : Element ) : any ;
|
|
3224
3277
|
}
|
|
3225
3278
|
}
|
|
3226
|
-
// Generated from /home/
|
|
3279
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3227
3280
|
declare namespace shaka.util {
|
|
3228
3281
|
class Error extends GlobalError implements shaka.extern.Error {
|
|
3229
3282
|
private noStructuralTyping_shaka_util_Error : any;
|
|
@@ -3235,7 +3288,7 @@ declare namespace shaka.util {
|
|
|
3235
3288
|
severity : any ;
|
|
3236
3289
|
}
|
|
3237
3290
|
}
|
|
3238
|
-
// Generated from /home/
|
|
3291
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3239
3292
|
declare namespace shaka.util.Error {
|
|
3240
3293
|
enum Category {
|
|
3241
3294
|
ADS = 10.0 ,
|
|
@@ -3250,9 +3303,11 @@ declare namespace shaka.util.Error {
|
|
|
3250
3303
|
TEXT = 2.0 ,
|
|
3251
3304
|
}
|
|
3252
3305
|
}
|
|
3253
|
-
// Generated from /home/
|
|
3306
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3254
3307
|
declare namespace shaka.util.Error {
|
|
3255
3308
|
enum Code {
|
|
3309
|
+
AES_128_INVALID_IV_LENGTH = 4048.0 ,
|
|
3310
|
+
AES_128_INVALID_KEY_LENGTH = 4049.0 ,
|
|
3256
3311
|
ALREADY_CASTING = 8002.0 ,
|
|
3257
3312
|
ATTEMPTS_EXHAUSTED = 1010.0 ,
|
|
3258
3313
|
BAD_ENCODING = 2004.0 ,
|
|
@@ -3274,6 +3329,7 @@ declare namespace shaka.util.Error {
|
|
|
3274
3329
|
CS_AD_MANAGER_NOT_INITIALIZED = 10001.0 ,
|
|
3275
3330
|
CS_IMA_SDK_MISSING = 10000.0 ,
|
|
3276
3331
|
CURRENT_DAI_REQUEST_NOT_FINISHED = 10004.0 ,
|
|
3332
|
+
DASH_CONFLICTING_AES_128 = 4050.0 ,
|
|
3277
3333
|
DASH_CONFLICTING_KEY_IDS = 4010.0 ,
|
|
3278
3334
|
DASH_DUPLICATE_REPRESENTATION_ID = 4018.0 ,
|
|
3279
3335
|
DASH_EMPTY_ADAPTATION_SET = 4003.0 ,
|
|
@@ -3283,6 +3339,7 @@ declare namespace shaka.util.Error {
|
|
|
3283
3339
|
DASH_NO_COMMON_KEY_SYSTEM = 4008.0 ,
|
|
3284
3340
|
DASH_NO_SEGMENT_INFO = 4002.0 ,
|
|
3285
3341
|
DASH_PSSH_BAD_ENCODING = 4007.0 ,
|
|
3342
|
+
DASH_UNSUPPORTED_AES_128 = 4051.0 ,
|
|
3286
3343
|
DASH_UNSUPPORTED_CONTAINER = 4006.0 ,
|
|
3287
3344
|
DASH_UNSUPPORTED_XLINK_ACTUATE = 4027.0 ,
|
|
3288
3345
|
DASH_WEBM_MISSING_INIT = 4005.0 ,
|
|
@@ -3298,8 +3355,6 @@ declare namespace shaka.util.Error {
|
|
|
3298
3355
|
FAILED_TO_CREATE_CDM = 6002.0 ,
|
|
3299
3356
|
FAILED_TO_CREATE_SESSION = 6005.0 ,
|
|
3300
3357
|
FAILED_TO_GENERATE_LICENSE_REQUEST = 6006.0 ,
|
|
3301
|
-
HLS_AES_128_INVALID_IV_LENGTH = 4043.0 ,
|
|
3302
|
-
HLS_AES_128_INVALID_KEY_LENGTH = 4044.0 ,
|
|
3303
3358
|
HLS_COULD_NOT_GUESS_CODECS = 4025.0 ,
|
|
3304
3359
|
HLS_INVALID_PLAYLIST_HIERARCHY = 4017.0 ,
|
|
3305
3360
|
HLS_KEYFORMATS_NOT_SUPPORTED = 4026.0 ,
|
|
@@ -3346,6 +3401,7 @@ declare namespace shaka.util.Error {
|
|
|
3346
3401
|
MSS_MISSING_DATA_FOR_TRANSMUXING = 3020.0 ,
|
|
3347
3402
|
MSS_TRANSMUXING_CODEC_UNKNOWN = 3021.0 ,
|
|
3348
3403
|
MSS_TRANSMUXING_FAILED = 3022.0 ,
|
|
3404
|
+
MT_AD_MANAGER_NOT_INITIALIZED = 10005.0 ,
|
|
3349
3405
|
NEW_KEY_OPERATION_NOT_SUPPORTED = 9011.0 ,
|
|
3350
3406
|
NO_CAST_RECEIVERS = 8001.0 ,
|
|
3351
3407
|
NO_INIT_DATA_FOR_OFFLINE = 9007.0 ,
|
|
@@ -3393,14 +3449,14 @@ declare namespace shaka.util.Error {
|
|
|
3393
3449
|
WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
|
|
3394
3450
|
}
|
|
3395
3451
|
}
|
|
3396
|
-
// Generated from /home/
|
|
3452
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3397
3453
|
declare namespace shaka.util.Error {
|
|
3398
3454
|
enum Severity {
|
|
3399
3455
|
CRITICAL = 2.0 ,
|
|
3400
3456
|
RECOVERABLE = 1.0 ,
|
|
3401
3457
|
}
|
|
3402
3458
|
}
|
|
3403
|
-
// Generated from /home/
|
|
3459
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3404
3460
|
declare namespace shaka.util {
|
|
3405
3461
|
class EventManager implements shaka.util.IReleasable {
|
|
3406
3462
|
private noStructuralTyping_shaka_util_EventManager : any;
|
|
@@ -3438,18 +3494,18 @@ declare namespace shaka.util {
|
|
|
3438
3494
|
unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
|
|
3439
3495
|
}
|
|
3440
3496
|
}
|
|
3441
|
-
// Generated from /home/
|
|
3497
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3442
3498
|
declare namespace shaka.util.EventManager {
|
|
3443
3499
|
type ListenerType = (a : Event ) => any ;
|
|
3444
3500
|
}
|
|
3445
|
-
// Generated from /home/
|
|
3501
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3446
3502
|
declare namespace shaka.util {
|
|
3447
3503
|
class ExpGolomb {
|
|
3448
3504
|
private noStructuralTyping_shaka_util_ExpGolomb : any;
|
|
3449
|
-
constructor (data : Uint8Array ) ;
|
|
3505
|
+
constructor (data : Uint8Array , convertEbsp2rbsp ? : boolean ) ;
|
|
3450
3506
|
}
|
|
3451
3507
|
}
|
|
3452
|
-
// Generated from /home/
|
|
3508
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3453
3509
|
declare namespace shaka.util {
|
|
3454
3510
|
class FairPlayUtils {
|
|
3455
3511
|
private noStructuralTyping_shaka_util_FairPlayUtils : any;
|
|
@@ -3513,14 +3569,14 @@ declare namespace shaka.util {
|
|
|
3513
3569
|
static verimatrixInitDataTransform (initData : Uint8Array , initDataType : string , drmInfo : shaka.extern.DrmInfo | null ) : any ;
|
|
3514
3570
|
}
|
|
3515
3571
|
}
|
|
3516
|
-
// Generated from /home/
|
|
3572
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3517
3573
|
declare namespace shaka.util {
|
|
3518
3574
|
class FakeEvent extends Event {
|
|
3519
3575
|
private noStructuralTyping_shaka_util_FakeEvent : any;
|
|
3520
3576
|
constructor (type : string , dict ? : Map < string , object | null > | null ) ;
|
|
3521
3577
|
}
|
|
3522
3578
|
}
|
|
3523
|
-
// Generated from /home/
|
|
3579
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3524
3580
|
declare namespace shaka.util {
|
|
3525
3581
|
class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
|
|
3526
3582
|
private noStructuralTyping_shaka_util_FakeEventTarget : any;
|
|
@@ -3552,14 +3608,14 @@ declare namespace shaka.util {
|
|
|
3552
3608
|
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
|
|
3553
3609
|
}
|
|
3554
3610
|
}
|
|
3555
|
-
// Generated from /home/
|
|
3611
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3556
3612
|
declare namespace shaka.util.FakeEventTarget {
|
|
3557
3613
|
/**
|
|
3558
3614
|
* These are the listener types defined in the closure extern for EventTarget.
|
|
3559
3615
|
*/
|
|
3560
3616
|
type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
|
|
3561
3617
|
}
|
|
3562
|
-
// Generated from /home/
|
|
3618
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3563
3619
|
declare namespace shaka.util {
|
|
3564
3620
|
/**
|
|
3565
3621
|
* An interface to standardize how objects are destroyed.
|
|
@@ -3573,7 +3629,7 @@ declare namespace shaka.util {
|
|
|
3573
3629
|
destroy ( ) : Promise < any > ;
|
|
3574
3630
|
}
|
|
3575
3631
|
}
|
|
3576
|
-
// Generated from /home/
|
|
3632
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3577
3633
|
declare namespace shaka.util {
|
|
3578
3634
|
/**
|
|
3579
3635
|
* An interface to standardize how objects release internal references
|
|
@@ -3587,7 +3643,7 @@ declare namespace shaka.util {
|
|
|
3587
3643
|
release ( ) : any ;
|
|
3588
3644
|
}
|
|
3589
3645
|
}
|
|
3590
|
-
// Generated from /home/
|
|
3646
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3591
3647
|
declare namespace shaka.util {
|
|
3592
3648
|
class Id3Utils {
|
|
3593
3649
|
private noStructuralTyping_shaka_util_Id3Utils : any;
|
|
@@ -3605,7 +3661,7 @@ declare namespace shaka.util {
|
|
|
3605
3661
|
static getID3Frames (id3Data : Uint8Array | null ) : shaka.extern.MetadataFrame [] ;
|
|
3606
3662
|
}
|
|
3607
3663
|
}
|
|
3608
|
-
// Generated from /home/
|
|
3664
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3609
3665
|
declare namespace shaka.util {
|
|
3610
3666
|
class LanguageUtils {
|
|
3611
3667
|
private noStructuralTyping_shaka_util_LanguageUtils : any;
|
|
@@ -3719,7 +3775,7 @@ declare namespace shaka.util {
|
|
|
3719
3775
|
static relatedness (target : string , candidate : string ) : number ;
|
|
3720
3776
|
}
|
|
3721
3777
|
}
|
|
3722
|
-
// Generated from /home/
|
|
3778
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3723
3779
|
declare namespace shaka.util {
|
|
3724
3780
|
class MimeUtils {
|
|
3725
3781
|
private noStructuralTyping_shaka_util_MimeUtils : any;
|
|
@@ -3735,7 +3791,7 @@ declare namespace shaka.util {
|
|
|
3735
3791
|
static getFullTypeWithAllCodecs (mimeType : string , codecs ? : string ) : string ;
|
|
3736
3792
|
}
|
|
3737
3793
|
}
|
|
3738
|
-
// Generated from /home/
|
|
3794
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3739
3795
|
declare namespace shaka.util {
|
|
3740
3796
|
class Mp4Parser {
|
|
3741
3797
|
private noStructuralTyping_shaka_util_Mp4Parser : any;
|
|
@@ -3802,11 +3858,11 @@ declare namespace shaka.util {
|
|
|
3802
3858
|
static visualSampleEntry (box : shaka.extern.ParsedBox ) : any ;
|
|
3803
3859
|
}
|
|
3804
3860
|
}
|
|
3805
|
-
// Generated from /home/
|
|
3861
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3806
3862
|
declare namespace shaka.util.Mp4Parser {
|
|
3807
3863
|
type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
|
|
3808
3864
|
}
|
|
3809
|
-
// Generated from /home/
|
|
3865
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3810
3866
|
declare namespace shaka.util {
|
|
3811
3867
|
/**
|
|
3812
3868
|
* A utility to combine streams across periods.
|
|
@@ -3820,7 +3876,7 @@ declare namespace shaka.util {
|
|
|
3820
3876
|
release ( ) : any ;
|
|
3821
3877
|
}
|
|
3822
3878
|
}
|
|
3823
|
-
// Generated from /home/
|
|
3879
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3824
3880
|
declare namespace shaka.util {
|
|
3825
3881
|
class PlayerConfiguration {
|
|
3826
3882
|
private noStructuralTyping_shaka_util_PlayerConfiguration : any;
|
|
@@ -3832,14 +3888,14 @@ declare namespace shaka.util {
|
|
|
3832
3888
|
static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
|
|
3833
3889
|
}
|
|
3834
3890
|
}
|
|
3835
|
-
// Generated from /home/
|
|
3891
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3836
3892
|
declare namespace shaka.util {
|
|
3837
3893
|
class StreamUtils {
|
|
3838
3894
|
private noStructuralTyping_shaka_util_StreamUtils : any;
|
|
3839
3895
|
static meetsRestrictions (variant : shaka.extern.Variant , restrictions : shaka.extern.Restrictions , maxHwRes : { height : number , width : number } ) : boolean ;
|
|
3840
3896
|
}
|
|
3841
3897
|
}
|
|
3842
|
-
// Generated from /home/
|
|
3898
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3843
3899
|
declare namespace shaka.util {
|
|
3844
3900
|
class StringUtils {
|
|
3845
3901
|
private noStructuralTyping_shaka_util_StringUtils : any;
|
|
@@ -3873,7 +3929,7 @@ declare namespace shaka.util {
|
|
|
3873
3929
|
static toUTF8 (str : string ) : ArrayBuffer ;
|
|
3874
3930
|
}
|
|
3875
3931
|
}
|
|
3876
|
-
// Generated from /home/
|
|
3932
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3877
3933
|
declare namespace shaka.util {
|
|
3878
3934
|
/**
|
|
3879
3935
|
* A timer allows a single function to be executed at a later time or at
|
|
@@ -3902,7 +3958,7 @@ declare namespace shaka.util {
|
|
|
3902
3958
|
tickNow ( ) : shaka.util.Timer ;
|
|
3903
3959
|
}
|
|
3904
3960
|
}
|
|
3905
|
-
// Generated from /home/
|
|
3961
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3906
3962
|
declare namespace shaka.util {
|
|
3907
3963
|
class TsParser {
|
|
3908
3964
|
private noStructuralTyping_shaka_util_TsParser : any;
|
|
@@ -3952,6 +4008,12 @@ declare namespace shaka.util {
|
|
|
3952
4008
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
3953
4009
|
*/
|
|
3954
4010
|
parseAvcNalus (pes : shaka.extern.MPEG_PES , nextPes ? : shaka.extern.MPEG_PES | null ) : shaka.extern.VideoNalu [] ;
|
|
4011
|
+
/**
|
|
4012
|
+
* Parse AVC and HVC Nalus
|
|
4013
|
+
* The code is based on hls.js
|
|
4014
|
+
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
4015
|
+
*/
|
|
4016
|
+
parseNalus (pes : shaka.extern.MPEG_PES , nextPes ? : shaka.extern.MPEG_PES | null , lastNalu ? : shaka.extern.VideoNalu | null ) : shaka.extern.VideoNalu [] ;
|
|
3955
4017
|
static Timescale : number ;
|
|
3956
4018
|
/**
|
|
3957
4019
|
* Check if the passed data corresponds to an MPEG2-TS
|
|
@@ -3963,7 +4025,7 @@ declare namespace shaka.util {
|
|
|
3963
4025
|
static syncOffset (data : Uint8Array | null ) : number ;
|
|
3964
4026
|
}
|
|
3965
4027
|
}
|
|
3966
|
-
// Generated from /home/
|
|
4028
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.ui.externs.js
|
|
3967
4029
|
declare namespace shaka.util {
|
|
3968
4030
|
class Uint8ArrayUtils {
|
|
3969
4031
|
private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
|
|
@@ -3997,7 +4059,7 @@ declare namespace shaka.util {
|
|
|
3997
4059
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
3998
4060
|
}
|
|
3999
4061
|
}
|
|
4000
|
-
// Generated from /home/
|
|
4062
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/airplay.js
|
|
4001
4063
|
declare namespace ಠ_ಠ.clutz {
|
|
4002
4064
|
class AirPlayEvent extends Event {
|
|
4003
4065
|
private noStructuralTyping_AirPlayEvent : any;
|
|
@@ -4005,7 +4067,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4005
4067
|
availability : String | null ;
|
|
4006
4068
|
}
|
|
4007
4069
|
}
|
|
4008
|
-
// Generated from /home/
|
|
4070
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/awesomplete.js
|
|
4009
4071
|
declare namespace ಠ_ಠ.clutz {
|
|
4010
4072
|
class Awesomplete {
|
|
4011
4073
|
private noStructuralTyping_Awesomplete : any;
|
|
@@ -4015,18 +4077,18 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4015
4077
|
evaluate ( ) : any ;
|
|
4016
4078
|
}
|
|
4017
4079
|
}
|
|
4018
|
-
// Generated from /home/
|
|
4080
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4019
4081
|
declare namespace ಠ_ಠ.clutz {
|
|
4020
4082
|
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
4021
4083
|
}
|
|
4022
|
-
// Generated from /home/
|
|
4084
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4023
4085
|
declare namespace cast.receiver {
|
|
4024
4086
|
class CastChannel {
|
|
4025
4087
|
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
4026
4088
|
send (message : any ) : any ;
|
|
4027
4089
|
}
|
|
4028
4090
|
}
|
|
4029
|
-
// Generated from /home/
|
|
4091
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4030
4092
|
declare namespace cast.receiver {
|
|
4031
4093
|
class CastMessageBus {
|
|
4032
4094
|
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
@@ -4035,7 +4097,7 @@ declare namespace cast.receiver {
|
|
|
4035
4097
|
onMessage : Function | null ;
|
|
4036
4098
|
}
|
|
4037
4099
|
}
|
|
4038
|
-
// Generated from /home/
|
|
4100
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4039
4101
|
declare namespace cast.receiver.CastMessageBus {
|
|
4040
4102
|
class Event {
|
|
4041
4103
|
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
@@ -4043,7 +4105,7 @@ declare namespace cast.receiver.CastMessageBus {
|
|
|
4043
4105
|
senderId : string ;
|
|
4044
4106
|
}
|
|
4045
4107
|
}
|
|
4046
|
-
// Generated from /home/
|
|
4108
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4047
4109
|
declare namespace cast.receiver {
|
|
4048
4110
|
class CastReceiverManager {
|
|
4049
4111
|
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
@@ -4061,7 +4123,7 @@ declare namespace cast.receiver {
|
|
|
4061
4123
|
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
4062
4124
|
}
|
|
4063
4125
|
}
|
|
4064
|
-
// Generated from /home/
|
|
4126
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4065
4127
|
declare namespace cast.receiver.media {
|
|
4066
4128
|
enum MetadataType {
|
|
4067
4129
|
GENERIC = 0.0 ,
|
|
@@ -4071,7 +4133,7 @@ declare namespace cast.receiver.media {
|
|
|
4071
4133
|
TV_SHOW = 2.0 ,
|
|
4072
4134
|
}
|
|
4073
4135
|
}
|
|
4074
|
-
// Generated from /home/
|
|
4136
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4075
4137
|
declare namespace cast.receiver.system {
|
|
4076
4138
|
class SystemVolumeData {
|
|
4077
4139
|
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
@@ -4079,14 +4141,14 @@ declare namespace cast.receiver.system {
|
|
|
4079
4141
|
muted : boolean ;
|
|
4080
4142
|
}
|
|
4081
4143
|
}
|
|
4082
|
-
// Generated from /home/
|
|
4144
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4083
4145
|
declare namespace chrome.cast {
|
|
4084
4146
|
class ApiConfig {
|
|
4085
4147
|
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
4086
4148
|
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
4087
4149
|
}
|
|
4088
4150
|
}
|
|
4089
|
-
// Generated from /home/
|
|
4151
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4090
4152
|
declare namespace chrome.cast {
|
|
4091
4153
|
class Error {
|
|
4092
4154
|
private noStructuralTyping_chrome_cast_Error : any;
|
|
@@ -4096,14 +4158,14 @@ declare namespace chrome.cast {
|
|
|
4096
4158
|
details : object | null ;
|
|
4097
4159
|
}
|
|
4098
4160
|
}
|
|
4099
|
-
// Generated from /home/
|
|
4161
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4100
4162
|
declare namespace chrome.cast {
|
|
4101
4163
|
class Receiver {
|
|
4102
4164
|
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
4103
4165
|
friendlyName : string ;
|
|
4104
4166
|
}
|
|
4105
4167
|
}
|
|
4106
|
-
// Generated from /home/
|
|
4168
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4107
4169
|
declare namespace chrome.cast {
|
|
4108
4170
|
class Session {
|
|
4109
4171
|
private noStructuralTyping_chrome_cast_Session : any;
|
|
@@ -4119,32 +4181,32 @@ declare namespace chrome.cast {
|
|
|
4119
4181
|
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
4120
4182
|
}
|
|
4121
4183
|
}
|
|
4122
|
-
// Generated from /home/
|
|
4184
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4123
4185
|
declare namespace chrome.cast {
|
|
4124
4186
|
class SessionRequest {
|
|
4125
4187
|
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
4126
4188
|
constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
|
|
4127
4189
|
}
|
|
4128
4190
|
}
|
|
4129
|
-
// Generated from /home/
|
|
4191
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4130
4192
|
declare namespace chrome.cast.SessionStatus {
|
|
4131
4193
|
let STOPPED : string ;
|
|
4132
4194
|
}
|
|
4133
|
-
// Generated from /home/
|
|
4195
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
4134
4196
|
declare namespace chrome.cast {
|
|
4135
4197
|
let isAvailable : boolean ;
|
|
4136
4198
|
}
|
|
4137
|
-
// Generated from /home/
|
|
4199
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/cmcd.js
|
|
4138
4200
|
declare namespace ಠ_ಠ.clutz {
|
|
4139
4201
|
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 } ;
|
|
4140
4202
|
}
|
|
4141
|
-
// Generated from /home/
|
|
4203
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4142
4204
|
declare namespace google.ima.AdErrorEvent {
|
|
4143
4205
|
enum Type {
|
|
4144
4206
|
AD_ERROR = 'AD_ERROR' ,
|
|
4145
4207
|
}
|
|
4146
4208
|
}
|
|
4147
|
-
// Generated from /home/
|
|
4209
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4148
4210
|
declare namespace google.ima.AdEvent {
|
|
4149
4211
|
enum Type {
|
|
4150
4212
|
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
@@ -4176,7 +4238,7 @@ declare namespace google.ima.AdEvent {
|
|
|
4176
4238
|
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
4177
4239
|
}
|
|
4178
4240
|
}
|
|
4179
|
-
// Generated from /home/
|
|
4241
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4180
4242
|
declare namespace google.ima {
|
|
4181
4243
|
class AdsLoader implements EventTarget {
|
|
4182
4244
|
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
@@ -4190,7 +4252,7 @@ declare namespace google.ima {
|
|
|
4190
4252
|
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
4191
4253
|
}
|
|
4192
4254
|
}
|
|
4193
|
-
// Generated from /home/
|
|
4255
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4194
4256
|
declare namespace google.ima {
|
|
4195
4257
|
class AdsManager implements EventTarget {
|
|
4196
4258
|
private noStructuralTyping_google_ima_AdsManager : any;
|
|
@@ -4213,21 +4275,21 @@ declare namespace google.ima {
|
|
|
4213
4275
|
updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
4214
4276
|
}
|
|
4215
4277
|
}
|
|
4216
|
-
// Generated from /home/
|
|
4278
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4217
4279
|
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
4218
4280
|
enum Type {
|
|
4219
4281
|
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
4220
4282
|
}
|
|
4221
4283
|
}
|
|
4222
|
-
// Generated from /home/
|
|
4284
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4223
4285
|
declare namespace google.ima {
|
|
4224
4286
|
type AdsRenderingSettings = { autoAlign : boolean , bitrate : number , enablePreloading : boolean , loadVideoTimeout : number , mimeTypes : string [] | null , playAdsAfterTime : number , restoreCustomPlaybackStateOnAdBreakComplete : boolean , uiElements : string [] | null , useStyledLinearAds : boolean , useStyledNonLinearAds : boolean } ;
|
|
4225
4287
|
}
|
|
4226
|
-
// Generated from /home/
|
|
4288
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4227
4289
|
declare namespace google.ima {
|
|
4228
4290
|
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
4229
4291
|
}
|
|
4230
|
-
// Generated from /home/
|
|
4292
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4231
4293
|
declare namespace google.ima.ImaSdkSettings {
|
|
4232
4294
|
enum VpaidMode {
|
|
4233
4295
|
DISABLED = 0.0 ,
|
|
@@ -4235,14 +4297,14 @@ declare namespace google.ima.ImaSdkSettings {
|
|
|
4235
4297
|
INSECURE = 2.0 ,
|
|
4236
4298
|
}
|
|
4237
4299
|
}
|
|
4238
|
-
// Generated from /home/
|
|
4300
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4239
4301
|
declare namespace google.ima {
|
|
4240
4302
|
enum ViewMode {
|
|
4241
4303
|
FULLSCREEN = 'FULLSCREEN' ,
|
|
4242
4304
|
NORMAL = 'NORMAL' ,
|
|
4243
4305
|
}
|
|
4244
4306
|
}
|
|
4245
|
-
// Generated from /home/
|
|
4307
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4246
4308
|
declare namespace google.ima.dai.api {
|
|
4247
4309
|
enum OmidAccessMode {
|
|
4248
4310
|
DOMAIN = 'domain' ,
|
|
@@ -4250,7 +4312,7 @@ declare namespace google.ima.dai.api {
|
|
|
4250
4312
|
LIMITED = 'limited' ,
|
|
4251
4313
|
}
|
|
4252
4314
|
}
|
|
4253
|
-
// Generated from /home/
|
|
4315
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4254
4316
|
declare namespace google.ima.dai.api {
|
|
4255
4317
|
enum OmidVerificationVendor {
|
|
4256
4318
|
COMSCORE = 7.0 ,
|
|
@@ -4264,7 +4326,7 @@ declare namespace google.ima.dai.api {
|
|
|
4264
4326
|
PIXELATE = 5.0 ,
|
|
4265
4327
|
}
|
|
4266
4328
|
}
|
|
4267
|
-
// Generated from /home/
|
|
4329
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4268
4330
|
declare namespace google.ima.dai.api.StreamEvent {
|
|
4269
4331
|
enum Type {
|
|
4270
4332
|
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
@@ -4287,7 +4349,7 @@ declare namespace google.ima.dai.api.StreamEvent {
|
|
|
4287
4349
|
VIDEO_CLICKED = 'videoClicked' ,
|
|
4288
4350
|
}
|
|
4289
4351
|
}
|
|
4290
|
-
// Generated from /home/
|
|
4352
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4291
4353
|
declare namespace google.ima.dai.api {
|
|
4292
4354
|
class StreamManager implements EventTarget {
|
|
4293
4355
|
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
@@ -4306,18 +4368,18 @@ declare namespace google.ima.dai.api {
|
|
|
4306
4368
|
streamTimeForContentTime (contentTime : number ) : any ;
|
|
4307
4369
|
}
|
|
4308
4370
|
}
|
|
4309
|
-
// Generated from /home/
|
|
4371
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4310
4372
|
declare namespace google.ima.dai.api.StreamRequest {
|
|
4311
4373
|
enum StreamFormat {
|
|
4312
4374
|
DASH = 'dash' ,
|
|
4313
4375
|
HLS = 'hls' ,
|
|
4314
4376
|
}
|
|
4315
4377
|
}
|
|
4316
|
-
// Generated from /home/
|
|
4378
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
4317
4379
|
declare namespace google.ima {
|
|
4318
4380
|
let settings : google.ima.ImaSdkSettings ;
|
|
4319
4381
|
}
|
|
4320
|
-
// Generated from /home/
|
|
4382
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
4321
4383
|
declare namespace ಠ_ಠ.clutz {
|
|
4322
4384
|
/**
|
|
4323
4385
|
* A JSON Web Key.
|
|
@@ -4342,7 +4404,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4342
4404
|
kty : string ;
|
|
4343
4405
|
}
|
|
4344
4406
|
}
|
|
4345
|
-
// Generated from /home/
|
|
4407
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
4346
4408
|
declare namespace ಠ_ಠ.clutz {
|
|
4347
4409
|
/**
|
|
4348
4410
|
* A JSON Web Key set.
|
|
@@ -4352,14 +4414,17 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4352
4414
|
keys : ( JWK | null ) [] | null ;
|
|
4353
4415
|
}
|
|
4354
4416
|
}
|
|
4355
|
-
// Generated from /home/
|
|
4356
|
-
declare namespace
|
|
4417
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4418
|
+
declare namespace LCEVCdec {
|
|
4357
4419
|
/**
|
|
4358
|
-
* LCEVC
|
|
4420
|
+
* LCEVC Dec constructor
|
|
4359
4421
|
*/
|
|
4360
|
-
class
|
|
4361
|
-
private
|
|
4362
|
-
|
|
4422
|
+
class LCEVCdec {
|
|
4423
|
+
private noStructuralTyping_LCEVCdec_LCEVCdec : any;
|
|
4424
|
+
/**
|
|
4425
|
+
* LCEVC Dec constructor
|
|
4426
|
+
*/
|
|
4427
|
+
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null , lcevcConfig : shaka.extern.LcevcConfiguration ) ;
|
|
4363
4428
|
/**
|
|
4364
4429
|
* Append the video buffers before they are appended to
|
|
4365
4430
|
* Media Source Extensions SourceBuffer. Here the lcevc data
|
|
@@ -4367,10 +4432,11 @@ declare namespace LcevcDil {
|
|
|
4367
4432
|
* @param data Video Buffer Data.
|
|
4368
4433
|
* @param type Type of Video Buffer Data.
|
|
4369
4434
|
* @param variantId Variant that the fragment belongs to.
|
|
4435
|
+
* @param timestampOffset Timestamp offset for appended segments
|
|
4370
4436
|
*/
|
|
4371
|
-
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number ) : any ;
|
|
4437
|
+
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number , timestampOffset : number ) : any ;
|
|
4372
4438
|
/**
|
|
4373
|
-
* Close LCEVC
|
|
4439
|
+
* Close LCEVC DEC
|
|
4374
4440
|
*/
|
|
4375
4441
|
close ( ) : any ;
|
|
4376
4442
|
/**
|
|
@@ -4380,33 +4446,54 @@ declare namespace LcevcDil {
|
|
|
4380
4446
|
setContainerFormat (containerFormat : number ) : any ;
|
|
4381
4447
|
/**
|
|
4382
4448
|
* Set current variant as variantId to the LCEVC decoder
|
|
4383
|
-
* @param autoBufferSwitch is
|
|
4449
|
+
* @param autoBufferSwitch is lcevcDec mode that switches variant when the downloaded buffer from last variant has finished playing and buffers from the new variant starts to play.
|
|
4384
4450
|
*/
|
|
4385
4451
|
setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
|
|
4452
|
+
/**
|
|
4453
|
+
* Set streaming Format for LCEVC Data Parsing.
|
|
4454
|
+
* @param streamingFormat container type of the stream.
|
|
4455
|
+
*/
|
|
4456
|
+
setStreamingFormat (streamingFormat : number ) : any ;
|
|
4386
4457
|
}
|
|
4387
4458
|
}
|
|
4388
|
-
// Generated from /home/
|
|
4389
|
-
declare namespace
|
|
4459
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4460
|
+
declare namespace LCEVCdec {
|
|
4461
|
+
/**
|
|
4462
|
+
* The older module interface, for backward compatibility.
|
|
4463
|
+
* Typed to the same interface, but under a different name.
|
|
4464
|
+
*/
|
|
4465
|
+
export import LcevcDil = LCEVCdec.LCEVCdec ;
|
|
4466
|
+
}
|
|
4467
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4468
|
+
declare namespace LCEVCdec.SupportObject {
|
|
4390
4469
|
/**
|
|
4391
4470
|
* LCEVC Support CheckList Error if any.
|
|
4392
4471
|
*/
|
|
4393
4472
|
let SupportError : string ;
|
|
4394
4473
|
}
|
|
4395
|
-
// Generated from /home/
|
|
4396
|
-
declare namespace
|
|
4474
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4475
|
+
declare namespace LCEVCdec.SupportObject {
|
|
4397
4476
|
/**
|
|
4398
4477
|
* LCEVC Support Checklist Result
|
|
4399
4478
|
*/
|
|
4400
4479
|
let SupportStatus : boolean ;
|
|
4401
4480
|
}
|
|
4402
|
-
// Generated from /home/
|
|
4403
|
-
declare namespace
|
|
4481
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4482
|
+
declare namespace LCEVCdec.SupportObject {
|
|
4404
4483
|
/**
|
|
4405
4484
|
* Check if canvas has WebGL support
|
|
4406
4485
|
*/
|
|
4407
4486
|
function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
|
|
4408
4487
|
}
|
|
4409
|
-
// Generated from /home/
|
|
4488
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4489
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4490
|
+
/**
|
|
4491
|
+
* Typedef for the module interface. Both LCEVCdec (new module) and LcevcDil
|
|
4492
|
+
* (old module) implement roughly the same interface.
|
|
4493
|
+
*/
|
|
4494
|
+
type LCEVCmodule = typeof LCEVCdec ;
|
|
4495
|
+
}
|
|
4496
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mdl.js
|
|
4410
4497
|
declare namespace ಠ_ಠ.clutz {
|
|
4411
4498
|
class MaterialLayout {
|
|
4412
4499
|
private noStructuralTyping_MaterialLayout : any;
|
|
@@ -4414,7 +4501,43 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4414
4501
|
toggleDrawer ( ) : any ;
|
|
4415
4502
|
}
|
|
4416
4503
|
}
|
|
4417
|
-
// Generated from /home/
|
|
4504
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/media_remote.js
|
|
4505
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4506
|
+
class RemotePlayback implements EventTarget {
|
|
4507
|
+
private noStructuralTyping_RemotePlayback : any;
|
|
4508
|
+
addEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | AddEventListenerOptions ) : void ;
|
|
4509
|
+
/**
|
|
4510
|
+
* The cancelWatchAvailability() method of the RemotePlayback interface
|
|
4511
|
+
* cancels the request to watch for one or all available devices.
|
|
4512
|
+
*/
|
|
4513
|
+
cancelWatchAvailability (id : number ) : Promise < any > ;
|
|
4514
|
+
dispatchEvent (evt : Event ) : boolean ;
|
|
4515
|
+
/**
|
|
4516
|
+
* The prompt() method of the RemotePlayback interface prompts the user
|
|
4517
|
+
* to select an available remote playback device and give permission
|
|
4518
|
+
* for the current media to be played using that device.
|
|
4519
|
+
*
|
|
4520
|
+
* If the user gives permission, the state will be set to connecting and
|
|
4521
|
+
* the user agent will connect to the device to initiate playback.
|
|
4522
|
+
*
|
|
4523
|
+
* If the user chooses to instead disconnect from the device, the state will
|
|
4524
|
+
* be set to disconnected and user agent will disconnect from this device.
|
|
4525
|
+
*/
|
|
4526
|
+
prompt ( ) : Promise < any > ;
|
|
4527
|
+
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | EventListenerOptions ) : void ;
|
|
4528
|
+
/**
|
|
4529
|
+
* Represents the RemotePlayback connection's state.
|
|
4530
|
+
*/
|
|
4531
|
+
state : string ;
|
|
4532
|
+
/**
|
|
4533
|
+
* The watchAvailability() method of the RemotePlayback interface watches
|
|
4534
|
+
* the list of available remote playback devices and returns a Promise that
|
|
4535
|
+
* resolves with the callbackId of a remote playback device.
|
|
4536
|
+
*/
|
|
4537
|
+
watchAvailability (callback : (a : boolean ) => any ) : Promise < any > ;
|
|
4538
|
+
}
|
|
4539
|
+
}
|
|
4540
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
4418
4541
|
declare namespace ಠ_ಠ.clutz {
|
|
4419
4542
|
class MediaMetadata {
|
|
4420
4543
|
private noStructuralTyping_MediaMetadata : any;
|
|
@@ -4424,44 +4547,58 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4424
4547
|
title : string ;
|
|
4425
4548
|
}
|
|
4426
4549
|
}
|
|
4427
|
-
// Generated from /home/
|
|
4550
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
4428
4551
|
declare namespace ಠ_ಠ.clutz {
|
|
4429
4552
|
class MediaSession {
|
|
4430
4553
|
private noStructuralTyping_MediaSession : any;
|
|
4431
4554
|
metadata : MediaMetadata | null ;
|
|
4432
4555
|
}
|
|
4433
4556
|
}
|
|
4434
|
-
// Generated from /home/
|
|
4435
|
-
declare namespace
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4557
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4558
|
+
declare namespace mediaTailor {
|
|
4559
|
+
type Ad = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeId : string , creativeSequence : string , durationInSeconds : number , nonLinearAdList : mediaTailor.NonLinearAd [] , skipOffset : number | null , startTimeInSeconds : number , trackingEvents : mediaTailor.TrackingEvent [] } ;
|
|
4560
|
+
}
|
|
4561
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4562
|
+
declare namespace mediaTailor {
|
|
4563
|
+
type AdBreak = { adBreakTrackingEvents : mediaTailor.TrackingEvent [] , ads : mediaTailor.Ad [] , durationInSeconds : number , nonLinearAdsList : mediaTailor.Ad [] , startTimeInSeconds : number } ;
|
|
4564
|
+
}
|
|
4565
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4566
|
+
declare namespace mediaTailor {
|
|
4567
|
+
type NonLinearAd = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeAdId : string , creativeId : string , creativeSequence : string , height : number | null , staticResource : string , width : number | null } ;
|
|
4568
|
+
}
|
|
4569
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4570
|
+
declare namespace mediaTailor {
|
|
4571
|
+
type SessionResponse = { manifestUrl : string | null , trackingUrl : string | null } ;
|
|
4572
|
+
}
|
|
4573
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4574
|
+
declare namespace mediaTailor {
|
|
4575
|
+
type TrackingEvent = { beaconUrls : string [] , eventType : string } ;
|
|
4576
|
+
}
|
|
4577
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4578
|
+
declare namespace mediaTailor {
|
|
4579
|
+
type TrackingResponse = { avails : mediaTailor.AdBreak [] } ;
|
|
4580
|
+
}
|
|
4581
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4582
|
+
declare namespace mediaTailorExternalResource {
|
|
4583
|
+
type App = { data : mediaTailorExternalResource.AppData , placeholder : mediaTailorExternalResource.AppPlaceholder } ;
|
|
4584
|
+
}
|
|
4585
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4586
|
+
declare namespace mediaTailorExternalResource {
|
|
4587
|
+
type AppData = { source : mediaTailorExternalResource.AppDataSource [] } ;
|
|
4459
4588
|
}
|
|
4460
|
-
// Generated from /home/
|
|
4461
|
-
declare namespace
|
|
4462
|
-
type
|
|
4589
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4590
|
+
declare namespace mediaTailorExternalResource {
|
|
4591
|
+
type AppDataSource = { url : string } ;
|
|
4463
4592
|
}
|
|
4464
|
-
// Generated from /home/
|
|
4593
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4594
|
+
declare namespace mediaTailorExternalResource {
|
|
4595
|
+
type AppPlaceholder = { left : number , top : number } ;
|
|
4596
|
+
}
|
|
4597
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4598
|
+
declare namespace mediaTailorExternalResource {
|
|
4599
|
+
type Response = { apps : mediaTailorExternalResource.App [] } ;
|
|
4600
|
+
}
|
|
4601
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
4465
4602
|
declare namespace ಠ_ಠ.clutz {
|
|
4466
4603
|
class DocumentPictureInPicture implements EventTarget {
|
|
4467
4604
|
private noStructuralTyping_DocumentPictureInPicture : any;
|
|
@@ -4472,15 +4609,23 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4472
4609
|
window : Window | null ;
|
|
4473
4610
|
}
|
|
4474
4611
|
}
|
|
4475
|
-
// Generated from /home/
|
|
4612
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
4613
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4614
|
+
class DocumentPictureInPictureEvent extends Event {
|
|
4615
|
+
private noStructuralTyping_DocumentPictureInPictureEvent : any;
|
|
4616
|
+
constructor ( ) ;
|
|
4617
|
+
window : Window | null ;
|
|
4618
|
+
}
|
|
4619
|
+
}
|
|
4620
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
4476
4621
|
declare namespace ಠ_ಠ.clutz {
|
|
4477
4622
|
type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
|
|
4478
4623
|
}
|
|
4479
|
-
// Generated from /home/
|
|
4624
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/polyfill.js
|
|
4480
4625
|
declare namespace window {
|
|
4481
4626
|
let shakaMediaKeysPolyfill : boolean ;
|
|
4482
4627
|
}
|
|
4483
|
-
// Generated from /home/
|
|
4628
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
4484
4629
|
declare namespace ಠ_ಠ.clutz {
|
|
4485
4630
|
class MediaKeyError {
|
|
4486
4631
|
private noStructuralTyping_MediaKeyError : any;
|
|
@@ -4488,7 +4633,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4488
4633
|
systemCode : number ;
|
|
4489
4634
|
}
|
|
4490
4635
|
}
|
|
4491
|
-
// Generated from /home/
|
|
4636
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
4492
4637
|
declare namespace ಠ_ಠ.clutz {
|
|
4493
4638
|
class MediaKeyEvent extends Event {
|
|
4494
4639
|
private noStructuralTyping_MediaKeyEvent : any;
|
|
@@ -4503,7 +4648,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4503
4648
|
target : HTMLMediaElement ;
|
|
4504
4649
|
}
|
|
4505
4650
|
}
|
|
4506
|
-
// Generated from /home/
|
|
4651
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abortable.js
|
|
4507
4652
|
declare namespace shaka.extern {
|
|
4508
4653
|
/**
|
|
4509
4654
|
* A representation of an abortable operation. Note that these are not
|
|
@@ -4529,7 +4674,7 @@ declare namespace shaka.extern {
|
|
|
4529
4674
|
promise : Promise < T > ;
|
|
4530
4675
|
}
|
|
4531
4676
|
}
|
|
4532
|
-
// Generated from /home/
|
|
4677
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4533
4678
|
declare namespace shaka.extern {
|
|
4534
4679
|
/**
|
|
4535
4680
|
* An object which selects Streams from a set of possible choices. This also
|
|
@@ -4604,14 +4749,14 @@ declare namespace shaka.extern {
|
|
|
4604
4749
|
stop ( ) : any ;
|
|
4605
4750
|
}
|
|
4606
4751
|
}
|
|
4607
|
-
// Generated from /home/
|
|
4752
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4608
4753
|
declare namespace shaka.extern.AbrManager {
|
|
4609
4754
|
/**
|
|
4610
4755
|
* A factory for creating the abr manager.
|
|
4611
4756
|
*/
|
|
4612
4757
|
type Factory = ( ) => shaka.extern.AbrManager ;
|
|
4613
4758
|
}
|
|
4614
|
-
// Generated from /home/
|
|
4759
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4615
4760
|
declare namespace shaka.extern.AbrManager {
|
|
4616
4761
|
/**
|
|
4617
4762
|
* A callback into the Player that should be called when the AbrManager decides
|
|
@@ -4630,15 +4775,15 @@ declare namespace shaka.extern.AbrManager {
|
|
|
4630
4775
|
*/
|
|
4631
4776
|
type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
|
|
4632
4777
|
}
|
|
4633
|
-
// Generated from /home/
|
|
4778
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4634
4779
|
declare namespace shaka.extern {
|
|
4635
4780
|
type AdCuePoint = { end : number | null , start : number } ;
|
|
4636
4781
|
}
|
|
4637
|
-
// Generated from /home/
|
|
4782
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4638
4783
|
declare namespace shaka.extern {
|
|
4639
4784
|
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
4640
4785
|
}
|
|
4641
|
-
// Generated from /home/
|
|
4786
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4642
4787
|
declare namespace shaka.extern {
|
|
4643
4788
|
/**
|
|
4644
4789
|
* Interface for Ad objects.
|
|
@@ -4679,7 +4824,7 @@ declare namespace shaka.extern {
|
|
|
4679
4824
|
skip ( ) : any ;
|
|
4680
4825
|
}
|
|
4681
4826
|
}
|
|
4682
|
-
// Generated from /home/
|
|
4827
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4683
4828
|
declare namespace shaka.extern {
|
|
4684
4829
|
/**
|
|
4685
4830
|
* An object that's responsible for all the ad-related logic
|
|
@@ -4692,6 +4837,7 @@ declare namespace shaka.extern {
|
|
|
4692
4837
|
* Must be called at least once before init*().
|
|
4693
4838
|
*/
|
|
4694
4839
|
configure (config : shaka.extern.AdsConfiguration ) : any ;
|
|
4840
|
+
getCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
4695
4841
|
getServerSideCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
4696
4842
|
/**
|
|
4697
4843
|
* Get statistics for the current playback session. If the player is not
|
|
@@ -4699,35 +4845,41 @@ declare namespace shaka.extern {
|
|
|
4699
4845
|
*/
|
|
4700
4846
|
getStats ( ) : any ;
|
|
4701
4847
|
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings : google.ima.AdsRenderingSettings | null ) : any ;
|
|
4848
|
+
initMediaTailor (adContainer : HTMLElement , networkingEngine : shaka.net.NetworkingEngine , video : HTMLMediaElement ) : any ;
|
|
4702
4849
|
initServerSide (adContainer : HTMLElement , video : HTMLMediaElement ) : any ;
|
|
4703
4850
|
onAssetUnload ( ) : any ;
|
|
4704
4851
|
onCueMetadataChange (value : shaka.extern.MetadataFrame ) : any ;
|
|
4705
4852
|
onDashTimedMetadata (region : shaka.extern.TimelineRegionInfo ) : any ;
|
|
4706
4853
|
onHlsTimedMetadata (metadata : shaka.extern.ID3Metadata , timestampOffset : number ) : any ;
|
|
4854
|
+
/**
|
|
4855
|
+
* Fired when the manifest is updated.
|
|
4856
|
+
*/
|
|
4857
|
+
onManifestUpdated (isLive : boolean ) : any ;
|
|
4707
4858
|
release ( ) : any ;
|
|
4708
4859
|
replaceServerSideAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4709
4860
|
requestClientSideAds (imaRequest : google.ima.AdsRequest ) : any ;
|
|
4861
|
+
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
4710
4862
|
requestServerSideStream (imaRequest : google.ima.dai.api.StreamRequest , backupUrl ? : string ) : Promise < string > ;
|
|
4711
4863
|
setLocale (locale : string ) : any ;
|
|
4712
4864
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
4713
4865
|
}
|
|
4714
4866
|
}
|
|
4715
|
-
// Generated from /home/
|
|
4867
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4716
4868
|
declare namespace shaka.extern.IAdManager {
|
|
4717
4869
|
/**
|
|
4718
4870
|
* A factory for creating the ad manager.
|
|
4719
4871
|
*/
|
|
4720
4872
|
type Factory = ( ) => shaka.extern.IAdManager ;
|
|
4721
4873
|
}
|
|
4722
|
-
// Generated from /home/
|
|
4874
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4723
4875
|
declare namespace shaka.extern {
|
|
4724
4876
|
type CaptionDecoderPlugin = ( ) => shaka.extern.ICaptionDecoder ;
|
|
4725
4877
|
}
|
|
4726
|
-
// Generated from /home/
|
|
4878
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4727
4879
|
declare namespace shaka.extern {
|
|
4728
4880
|
type CeaParserPlugin = ( ) => shaka.extern.ICeaParser ;
|
|
4729
4881
|
}
|
|
4730
|
-
// Generated from /home/
|
|
4882
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4731
4883
|
declare namespace shaka.extern {
|
|
4732
4884
|
/**
|
|
4733
4885
|
* Interface for decoding inband closed captions from packets.
|
|
@@ -4754,14 +4906,14 @@ declare namespace shaka.extern {
|
|
|
4754
4906
|
extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
|
|
4755
4907
|
}
|
|
4756
4908
|
}
|
|
4757
|
-
// Generated from /home/
|
|
4909
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4758
4910
|
declare namespace shaka.extern.ICaptionDecoder {
|
|
4759
4911
|
/**
|
|
4760
4912
|
* Parsed Cue.
|
|
4761
4913
|
*/
|
|
4762
4914
|
type ClosedCaption = { cue : shaka.text.Cue , stream : string } ;
|
|
4763
4915
|
}
|
|
4764
|
-
// Generated from /home/
|
|
4916
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4765
4917
|
declare namespace shaka.extern {
|
|
4766
4918
|
/**
|
|
4767
4919
|
* Interface for parsing inband closed caption data from MP4 streams.
|
|
@@ -4779,19 +4931,19 @@ declare namespace shaka.extern {
|
|
|
4779
4931
|
parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
|
|
4780
4932
|
}
|
|
4781
4933
|
}
|
|
4782
|
-
// Generated from /home/
|
|
4934
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4783
4935
|
declare namespace shaka.extern.ICeaParser {
|
|
4784
4936
|
type CaptionPacket = { packet : Uint8Array , pts : number } ;
|
|
4785
4937
|
}
|
|
4786
|
-
// Generated from /home/
|
|
4938
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4787
4939
|
declare namespace shaka.extern {
|
|
4788
4940
|
type MPEG_PES = { data : Uint8Array | null , dts : number | null , packetLength : number , pts : number | null } ;
|
|
4789
4941
|
}
|
|
4790
|
-
// Generated from /home/
|
|
4942
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4791
4943
|
declare namespace shaka.extern {
|
|
4792
4944
|
type VideoNalu = { data : Uint8Array , fullData : Uint8Array , time : number | null , type : number } ;
|
|
4793
4945
|
}
|
|
4794
|
-
// Generated from /home/
|
|
4946
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4795
4947
|
declare namespace shaka.extern {
|
|
4796
4948
|
interface Error {
|
|
4797
4949
|
category : shaka.util.Error.Category ;
|
|
@@ -4801,11 +4953,11 @@ declare namespace shaka.extern {
|
|
|
4801
4953
|
severity : shaka.util.Error.Severity ;
|
|
4802
4954
|
}
|
|
4803
4955
|
}
|
|
4804
|
-
// Generated from /home/
|
|
4956
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4805
4957
|
declare namespace shaka.extern {
|
|
4806
4958
|
type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
|
|
4807
4959
|
}
|
|
4808
|
-
// Generated from /home/
|
|
4960
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4809
4961
|
declare namespace shaka.extern {
|
|
4810
4962
|
/**
|
|
4811
4963
|
* Creates a SegmentIndex; returns a Promise that resolves after the
|
|
@@ -4813,11 +4965,11 @@ declare namespace shaka.extern {
|
|
|
4813
4965
|
*/
|
|
4814
4966
|
type CreateSegmentIndexFunction = ( ) => Promise < any > ;
|
|
4815
4967
|
}
|
|
4816
|
-
// Generated from /home/
|
|
4968
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4817
4969
|
declare namespace shaka.extern {
|
|
4818
4970
|
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 } ;
|
|
4819
4971
|
}
|
|
4820
|
-
// Generated from /home/
|
|
4972
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4821
4973
|
declare namespace shaka.extern {
|
|
4822
4974
|
/**
|
|
4823
4975
|
* A function that fetches the crypto keys for AES-128.
|
|
@@ -4825,39 +4977,39 @@ declare namespace shaka.extern {
|
|
|
4825
4977
|
*/
|
|
4826
4978
|
type FetchCryptoKeysFunction = ( ) => Promise < any > ;
|
|
4827
4979
|
}
|
|
4828
|
-
// Generated from /home/
|
|
4829
|
-
declare namespace shaka.extern {
|
|
4830
|
-
type HlsAes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
|
|
4831
|
-
}
|
|
4832
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4980
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4833
4981
|
declare namespace shaka.extern {
|
|
4834
4982
|
type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
|
|
4835
4983
|
}
|
|
4836
|
-
// Generated from /home/
|
|
4984
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4837
4985
|
declare namespace shaka.extern {
|
|
4838
4986
|
type Manifest = { ignoreManifestTimestampsInSegmentsMode : boolean , imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , sequenceMode : boolean , serviceDescription : shaka.extern.ServiceDescription | null , textStreams : shaka.extern.Stream [] , type : string , variants : shaka.extern.Variant [] } ;
|
|
4839
4987
|
}
|
|
4840
|
-
// Generated from /home/
|
|
4988
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4841
4989
|
declare namespace shaka.extern {
|
|
4842
4990
|
type MssPrivateData = { codecPrivateData : string | null , duration : number , timescale : number } ;
|
|
4843
4991
|
}
|
|
4844
|
-
// Generated from /home/
|
|
4992
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4845
4993
|
declare namespace shaka.extern {
|
|
4846
4994
|
type Period = { audioStreams : shaka.extern.Stream [] , id : string , imageStreams : shaka.extern.Stream [] , textStreams : shaka.extern.Stream [] , videoStreams : shaka.extern.Stream [] } ;
|
|
4847
4995
|
}
|
|
4848
|
-
// Generated from /home/
|
|
4996
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4849
4997
|
declare namespace shaka.extern {
|
|
4850
4998
|
type ServiceDescription = { maxLatency : number | null , maxPlaybackRate : number | null } ;
|
|
4851
4999
|
}
|
|
4852
|
-
// Generated from /home/
|
|
5000
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4853
5001
|
declare namespace shaka.extern {
|
|
4854
|
-
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
|
|
5002
|
+
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , groupId : string | null , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
|
|
4855
5003
|
}
|
|
4856
|
-
// Generated from /home/
|
|
5004
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4857
5005
|
declare namespace shaka.extern {
|
|
4858
5006
|
type Variant = { allowedByApplication : boolean , allowedByKeySystem : boolean , audio : shaka.extern.Stream | null , bandwidth : number , decodingInfos : ( any | null ) [] , disabledUntilTime : number , id : number , language : string , primary : boolean , video : shaka.extern.Stream | null } ;
|
|
4859
5007
|
}
|
|
4860
|
-
// Generated from /home/
|
|
5008
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
5009
|
+
declare namespace shaka.extern {
|
|
5010
|
+
type aes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
|
|
5011
|
+
}
|
|
5012
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4861
5013
|
declare namespace shaka.extern {
|
|
4862
5014
|
/**
|
|
4863
5015
|
* Parses media manifests and handles manifest updates.
|
|
@@ -4920,7 +5072,7 @@ declare namespace shaka.extern {
|
|
|
4920
5072
|
update ( ) : any ;
|
|
4921
5073
|
}
|
|
4922
5074
|
}
|
|
4923
|
-
// Generated from /home/
|
|
5075
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4924
5076
|
declare namespace shaka.extern.ManifestParser {
|
|
4925
5077
|
/**
|
|
4926
5078
|
* A factory for creating the manifest parser. This function is registered with
|
|
@@ -4928,31 +5080,31 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
4928
5080
|
*/
|
|
4929
5081
|
type Factory = ( ) => shaka.extern.ManifestParser ;
|
|
4930
5082
|
}
|
|
4931
|
-
// Generated from /home/
|
|
5083
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4932
5084
|
declare namespace shaka.extern.ManifestParser {
|
|
4933
|
-
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
|
|
5085
|
+
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , getBandwidthEstimate : ( ) => number , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onManifestUpdated : ( ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
|
|
4934
5086
|
}
|
|
4935
|
-
// Generated from /home/
|
|
5087
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/mp4_parser.js
|
|
4936
5088
|
declare namespace shaka.extern {
|
|
4937
5089
|
type ParsedBox = { flags : number | null , has64BitSize : boolean , name : string , parser : shaka.util.Mp4Parser , partialOkay : boolean , reader : shaka.util.DataViewReader , size : number , start : number , version : number | null } ;
|
|
4938
5090
|
}
|
|
4939
|
-
// Generated from /home/
|
|
5091
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4940
5092
|
declare namespace shaka.extern {
|
|
4941
5093
|
type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
|
|
4942
5094
|
}
|
|
4943
|
-
// Generated from /home/
|
|
5095
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4944
5096
|
declare namespace shaka.extern {
|
|
4945
5097
|
type ProgressUpdated = (a : number , b : number , c : number ) => any ;
|
|
4946
5098
|
}
|
|
4947
|
-
// Generated from /home/
|
|
5099
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4948
5100
|
declare namespace shaka.extern {
|
|
4949
5101
|
type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , drmInfo : shaka.extern.DrmInfo | null , headers : { [ key: string ]: string } , initData : Uint8Array | null , initDataType : string | null , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
|
|
4950
5102
|
}
|
|
4951
|
-
// Generated from /home/
|
|
5103
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4952
5104
|
declare namespace shaka.extern {
|
|
4953
5105
|
type RequestContext = { segment ? : shaka.media.SegmentReference | null , stream ? : shaka.extern.Stream , type ? : shaka.net.NetworkingEngine.AdvancedRequestType } ;
|
|
4954
5106
|
}
|
|
4955
|
-
// Generated from /home/
|
|
5107
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4956
5108
|
declare namespace shaka.extern {
|
|
4957
5109
|
/**
|
|
4958
5110
|
* Defines a filter for requests. This filter takes the request and modifies
|
|
@@ -4965,11 +5117,11 @@ declare namespace shaka.extern {
|
|
|
4965
5117
|
*/
|
|
4966
5118
|
type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4967
5119
|
}
|
|
4968
|
-
// Generated from /home/
|
|
5120
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4969
5121
|
declare namespace shaka.extern {
|
|
4970
5122
|
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
|
|
4971
5123
|
}
|
|
4972
|
-
// Generated from /home/
|
|
5124
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4973
5125
|
declare namespace shaka.extern {
|
|
4974
5126
|
/**
|
|
4975
5127
|
* Defines a filter for responses. This filter takes the response and modifies
|
|
@@ -4981,19 +5133,19 @@ declare namespace shaka.extern {
|
|
|
4981
5133
|
*/
|
|
4982
5134
|
type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4983
5135
|
}
|
|
4984
|
-
// Generated from /home/
|
|
5136
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4985
5137
|
declare namespace shaka.extern {
|
|
4986
5138
|
type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
|
|
4987
5139
|
}
|
|
4988
|
-
// Generated from /home/
|
|
5140
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4989
5141
|
declare namespace shaka.extern {
|
|
4990
5142
|
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 > ;
|
|
4991
5143
|
}
|
|
4992
|
-
// Generated from /home/
|
|
5144
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4993
5145
|
declare namespace shaka.extern {
|
|
4994
5146
|
type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
|
|
4995
5147
|
}
|
|
4996
|
-
// Generated from /home/
|
|
5148
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4997
5149
|
declare namespace shaka.extern {
|
|
4998
5150
|
/**
|
|
4999
5151
|
* Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
|
|
@@ -5019,23 +5171,23 @@ declare namespace shaka.extern {
|
|
|
5019
5171
|
remove (sessionIds : string [] ) : Promise < any > ;
|
|
5020
5172
|
}
|
|
5021
5173
|
}
|
|
5022
|
-
// Generated from /home/
|
|
5174
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5023
5175
|
declare namespace shaka.extern {
|
|
5024
5176
|
type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , isIncomplete ? : boolean , originalManifestUri : string , sequenceMode ? : boolean , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] , type ? : string } ;
|
|
5025
5177
|
}
|
|
5026
|
-
// Generated from /home/
|
|
5178
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5027
5179
|
declare namespace shaka.extern {
|
|
5028
5180
|
type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
|
|
5029
5181
|
}
|
|
5030
|
-
// Generated from /home/
|
|
5182
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5031
5183
|
declare namespace shaka.extern {
|
|
5032
5184
|
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
5033
5185
|
}
|
|
5034
|
-
// Generated from /home/
|
|
5186
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5035
5187
|
declare namespace shaka.extern {
|
|
5036
5188
|
type SegmentDataDB = { data : ArrayBuffer } ;
|
|
5037
5189
|
}
|
|
5038
|
-
// Generated from /home/
|
|
5190
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5039
5191
|
declare namespace shaka.extern {
|
|
5040
5192
|
/**
|
|
5041
5193
|
* An interface that defines access to collection of segments and manifests. All
|
|
@@ -5111,7 +5263,7 @@ declare namespace shaka.extern {
|
|
|
5111
5263
|
updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
|
|
5112
5264
|
}
|
|
5113
5265
|
}
|
|
5114
|
-
// Generated from /home/
|
|
5266
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5115
5267
|
declare namespace shaka.extern {
|
|
5116
5268
|
/**
|
|
5117
5269
|
* Storage mechanisms are one of two exported storage APIs. Storage mechanisms
|
|
@@ -5155,207 +5307,207 @@ declare namespace shaka.extern {
|
|
|
5155
5307
|
init ( ) : Promise < any > ;
|
|
5156
5308
|
}
|
|
5157
5309
|
}
|
|
5158
|
-
// Generated from /home/
|
|
5310
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5159
5311
|
declare namespace shaka.extern {
|
|
5160
5312
|
type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
|
|
5161
5313
|
}
|
|
5162
|
-
// Generated from /home/
|
|
5314
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
5163
5315
|
declare namespace shaka.extern {
|
|
5164
|
-
type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , originalLanguage ? : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
|
|
5316
|
+
type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , groupId : string | null , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , originalLanguage ? : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
|
|
5165
5317
|
}
|
|
5166
|
-
// Generated from /home/
|
|
5318
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
5167
5319
|
declare namespace shaka.extern {
|
|
5168
5320
|
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 } ;
|
|
5169
5321
|
}
|
|
5170
|
-
// Generated from /home/
|
|
5322
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
5171
5323
|
declare namespace shaka.extern {
|
|
5172
5324
|
type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
|
|
5173
5325
|
}
|
|
5174
|
-
// Generated from /home/
|
|
5326
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
5175
5327
|
declare namespace shaka.extern {
|
|
5176
5328
|
type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
|
|
5177
5329
|
}
|
|
5178
|
-
// Generated from /home/
|
|
5330
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
5179
5331
|
declare namespace shaka.extern {
|
|
5180
5332
|
type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
|
|
5181
5333
|
}
|
|
5182
|
-
// Generated from /home/
|
|
5334
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
5183
5335
|
declare namespace shaka.extern {
|
|
5184
5336
|
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 } ;
|
|
5185
5337
|
}
|
|
5186
|
-
// Generated from /home/
|
|
5338
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
5187
5339
|
declare namespace shaka.extern {
|
|
5188
5340
|
type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
|
|
5189
5341
|
}
|
|
5190
|
-
// Generated from /home/
|
|
5342
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
5191
5343
|
declare namespace shaka.extern {
|
|
5192
5344
|
type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
|
|
5193
5345
|
}
|
|
5194
|
-
// Generated from /home/
|
|
5346
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
5195
5347
|
declare namespace shaka.extern {
|
|
5196
5348
|
type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
|
|
5197
5349
|
}
|
|
5198
|
-
// Generated from /home/
|
|
5350
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
5199
5351
|
declare namespace shaka.extern {
|
|
5200
5352
|
type SegmentDataDBV2 = { data : ArrayBuffer } ;
|
|
5201
5353
|
}
|
|
5202
|
-
// Generated from /home/
|
|
5354
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
5203
5355
|
declare namespace shaka.extern {
|
|
5204
5356
|
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 } ;
|
|
5205
5357
|
}
|
|
5206
|
-
// Generated from /home/
|
|
5358
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5207
5359
|
declare namespace shaka.extern {
|
|
5208
5360
|
type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , clearBufferSwitch : boolean , defaultBandwidthEstimate : number , enabled : boolean , ignoreDevicePixelRatio : boolean , restrictToElementSize : boolean , restrictToScreenSize : boolean , restrictions : shaka.extern.Restrictions , safeMarginSwitch : number , switchInterval : number , useNetworkInformation : boolean } ;
|
|
5209
5361
|
}
|
|
5210
|
-
// Generated from /home/
|
|
5362
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5211
5363
|
declare namespace shaka.extern {
|
|
5212
5364
|
type AdsConfiguration = { customPlayheadTracker : boolean } ;
|
|
5213
5365
|
}
|
|
5214
|
-
// Generated from /home/
|
|
5366
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5215
5367
|
declare namespace shaka.extern {
|
|
5216
5368
|
type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
|
|
5217
5369
|
}
|
|
5218
|
-
// Generated from /home/
|
|
5370
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5219
5371
|
declare namespace shaka.extern {
|
|
5220
5372
|
type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
5221
5373
|
}
|
|
5222
|
-
// Generated from /home/
|
|
5374
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5223
5375
|
declare namespace shaka.extern {
|
|
5224
5376
|
type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
|
|
5225
5377
|
}
|
|
5226
|
-
// Generated from /home/
|
|
5378
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5227
5379
|
declare namespace shaka.extern {
|
|
5228
5380
|
type BufferedRange = { end : number , start : number } ;
|
|
5229
5381
|
}
|
|
5230
|
-
// Generated from /home/
|
|
5382
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5231
5383
|
declare namespace shaka.extern {
|
|
5232
5384
|
type Chapter = { endTime : number , id : string , startTime : number , title : string } ;
|
|
5233
5385
|
}
|
|
5234
|
-
// Generated from /home/
|
|
5386
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5235
5387
|
declare namespace shaka.extern {
|
|
5236
5388
|
type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
|
|
5237
5389
|
}
|
|
5238
|
-
// Generated from /home/
|
|
5390
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5239
5391
|
declare namespace shaka.extern {
|
|
5240
|
-
type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean , xlinkFailGracefully : boolean } ;
|
|
5392
|
+
type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , enableAudioGroups : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean , xlinkFailGracefully : boolean } ;
|
|
5241
5393
|
}
|
|
5242
|
-
// Generated from /home/
|
|
5394
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5243
5395
|
declare namespace shaka.extern {
|
|
5244
5396
|
type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : shaka.extern.InitDataTransform , keySystemsMapping : { [ key: string ]: string } , logLicenseExchange : boolean , minHdcpVersion : string , parseInbandPsshEnabled : boolean , persistentSessionOnlinePlayback : boolean , persistentSessionsMetadata : shaka.extern.PersistentSessionMetadata [] , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
|
|
5245
5397
|
}
|
|
5246
|
-
// Generated from /home/
|
|
5398
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5247
5399
|
declare namespace shaka.extern {
|
|
5248
5400
|
type DrmSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string , sessionType : string } ;
|
|
5249
5401
|
}
|
|
5250
|
-
// Generated from /home/
|
|
5402
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5251
5403
|
declare namespace shaka.extern {
|
|
5252
5404
|
type DrmSupportType = { persistentState : boolean } ;
|
|
5253
5405
|
}
|
|
5254
|
-
// Generated from /home/
|
|
5406
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5255
5407
|
declare namespace shaka.extern {
|
|
5256
5408
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
5257
5409
|
}
|
|
5258
|
-
// Generated from /home/
|
|
5410
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5259
5411
|
declare namespace shaka.extern {
|
|
5260
5412
|
type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreManifestProgramDateTime : boolean , ignoreManifestTimestampsInSegmentsMode : boolean , ignoreTextStreamFailures : boolean , liveSegmentsDelay : number , mediaPlaylistFullMimeType : string , sequenceMode : boolean , useSafariBehaviorForLive : boolean } ;
|
|
5261
5413
|
}
|
|
5262
|
-
// Generated from /home/
|
|
5414
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5263
5415
|
declare namespace shaka.extern {
|
|
5264
5416
|
type ID3Metadata = { cueTime : number | null , data : Uint8Array , dts : number | null , frames : shaka.extern.MetadataFrame [] , pts : number | null } ;
|
|
5265
5417
|
}
|
|
5266
|
-
// Generated from /home/
|
|
5418
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5267
5419
|
declare namespace shaka.extern {
|
|
5268
5420
|
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
5269
5421
|
}
|
|
5270
|
-
// Generated from /home/
|
|
5422
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5271
5423
|
declare namespace shaka.extern {
|
|
5272
5424
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
5273
5425
|
}
|
|
5274
|
-
// Generated from /home/
|
|
5426
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5275
5427
|
declare namespace shaka.extern {
|
|
5276
5428
|
type LcevcConfiguration = { drawLogo : boolean , dynamicPerformanceScaling : boolean , enabled : boolean , logLevel : number } ;
|
|
5277
5429
|
}
|
|
5278
|
-
// Generated from /home/
|
|
5430
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5279
5431
|
declare namespace shaka.extern {
|
|
5280
5432
|
type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , mss : shaka.extern.MssManifestConfiguration , raiseFatalErrorOnManifestUpdateRequestFailure : boolean , retryParameters : shaka.extern.RetryParameters , segmentRelativeVttTiming : boolean } ;
|
|
5281
5433
|
}
|
|
5282
|
-
// Generated from /home/
|
|
5434
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5283
5435
|
declare namespace shaka.extern {
|
|
5284
5436
|
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 } ;
|
|
5285
5437
|
}
|
|
5286
|
-
// Generated from /home/
|
|
5438
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5287
5439
|
declare namespace shaka.extern {
|
|
5288
|
-
type MediaSourceConfiguration = { forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
|
|
5440
|
+
type MediaSourceConfiguration = { codecSwitchingStrategy : shaka.config.CodecSwitchingStrategy , forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
|
|
5289
5441
|
}
|
|
5290
|
-
// Generated from /home/
|
|
5442
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5291
5443
|
declare namespace shaka.extern {
|
|
5292
5444
|
type MetadataFrame = { data : ArrayBuffer | null | string | number , description : string , key : string } ;
|
|
5293
5445
|
}
|
|
5294
|
-
// Generated from /home/
|
|
5446
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5295
5447
|
declare namespace shaka.extern {
|
|
5296
5448
|
type MetadataRawFrame = { data : Uint8Array | null , size : number , type : string } ;
|
|
5297
5449
|
}
|
|
5298
|
-
// Generated from /home/
|
|
5450
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5299
5451
|
declare namespace shaka.extern {
|
|
5300
5452
|
type MssManifestConfiguration = { keySystemsBySystemId : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean } ;
|
|
5301
5453
|
}
|
|
5302
|
-
// Generated from /home/
|
|
5454
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5303
5455
|
declare namespace shaka.extern {
|
|
5304
5456
|
type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , numberOfParallelDownloads : number , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
|
|
5305
5457
|
}
|
|
5306
|
-
// Generated from /home/
|
|
5458
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5307
5459
|
declare namespace shaka.extern {
|
|
5308
5460
|
type PersistentSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string } ;
|
|
5309
5461
|
}
|
|
5310
|
-
// Generated from /home/
|
|
5462
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5311
5463
|
declare namespace shaka.extern {
|
|
5312
5464
|
type PlayerConfiguration = { abr : shaka.extern.AbrConfiguration , abrFactory : shaka.extern.AbrManager.Factory , ads : shaka.extern.AdsConfiguration , autoShowText : shaka.config.AutoShowText , cmcd : shaka.extern.CmcdConfiguration , drm : shaka.extern.DrmConfiguration , lcevc : shaka.extern.LcevcConfiguration , manifest : shaka.extern.ManifestConfiguration , mediaSource : shaka.extern.MediaSourceConfiguration , offline : shaka.extern.OfflineConfiguration , playRangeEnd : number , playRangeStart : number , preferForcedSubs : boolean , preferredAudioChannelCount : number , preferredAudioCodecs : string [] , preferredAudioLabel : string , preferredAudioLanguage : string , preferredDecodingAttributes : string [] , preferredTextLanguage : string , preferredTextRole : string , preferredVariantRole : string , preferredVideoCodecs : string [] , preferredVideoHdrLevel : string , restrictions : shaka.extern.Restrictions , streaming : shaka.extern.StreamingConfiguration , textDisplayFactory : shaka.extern.TextDisplayer.Factory } ;
|
|
5313
5465
|
}
|
|
5314
|
-
// Generated from /home/
|
|
5466
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5315
5467
|
declare namespace shaka.extern {
|
|
5316
5468
|
type ProducerReferenceTime = { programStartDate : Date | null , wallClockTime : number } ;
|
|
5317
5469
|
}
|
|
5318
|
-
// Generated from /home/
|
|
5470
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5319
5471
|
declare namespace shaka.extern {
|
|
5320
5472
|
type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
|
|
5321
5473
|
}
|
|
5322
|
-
// Generated from /home/
|
|
5474
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5323
5475
|
declare namespace shaka.extern {
|
|
5324
5476
|
type StateChange = { duration : number , state : string , timestamp : number } ;
|
|
5325
5477
|
}
|
|
5326
|
-
// Generated from /home/
|
|
5478
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5327
5479
|
declare namespace shaka.extern {
|
|
5328
5480
|
type Stats = { bufferingTime : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , gapsJumped : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestTimeSeconds : number , maxSegmentDuration : number , pauseTime : number , playTime : number , stallsDetected : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
|
|
5329
5481
|
}
|
|
5330
|
-
// Generated from /home/
|
|
5482
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5331
5483
|
declare namespace shaka.extern {
|
|
5332
5484
|
type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , dispatchAllEmsgBoxes : boolean , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , gapDetectionThreshold : number , gapJumpTimerTime : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , liveSync : boolean , liveSyncMaxLatency : number , liveSyncPlaybackRate : number , lowLatencyMode : boolean , maxDisabledTime : number , observeQualityChanges : boolean , parsePrftBox : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , segmentPrefetchLimit : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
|
|
5333
5485
|
}
|
|
5334
|
-
// Generated from /home/
|
|
5486
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5335
5487
|
declare namespace shaka.extern {
|
|
5336
5488
|
type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
|
|
5337
5489
|
}
|
|
5338
|
-
// Generated from /home/
|
|
5490
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5339
5491
|
declare namespace shaka.extern {
|
|
5340
5492
|
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , sprite : boolean , startTime : number , uris : string [] , width : number } ;
|
|
5341
5493
|
}
|
|
5342
|
-
// Generated from /home/
|
|
5494
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5343
5495
|
declare namespace shaka.extern {
|
|
5344
5496
|
type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
|
|
5345
5497
|
}
|
|
5346
|
-
// Generated from /home/
|
|
5498
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5347
5499
|
declare namespace shaka.extern {
|
|
5348
5500
|
type Track = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | null , audioMimeType : string | null , audioRoles : string [] | null , audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string | null , forced : boolean , frameRate : number | null , hdr : string | null , height : number | null , id : number , kind : string | null , label : string | null , language : string , mimeType : string | null , originalAudioId : string | null , originalImageId : string | null , originalLanguage : string | null , originalTextId : string | null , originalVideoId : string | null , pixelAspectRatio : string | null , primary : boolean , roles : string [] , spatialAudio : boolean , tilesLayout : string | null , type : string , videoBandwidth : number | null , videoCodec : string | null , videoId : number | null , videoMimeType : string | null , width : number | null } ;
|
|
5349
5501
|
}
|
|
5350
|
-
// Generated from /home/
|
|
5502
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5351
5503
|
declare namespace shaka.extern {
|
|
5352
5504
|
type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
|
|
5353
5505
|
}
|
|
5354
|
-
// Generated from /home/
|
|
5506
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
5355
5507
|
declare namespace shaka.extern {
|
|
5356
5508
|
type TrackList = shaka.extern.Track [] ;
|
|
5357
5509
|
}
|
|
5358
|
-
// Generated from /home/
|
|
5510
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
5359
5511
|
declare namespace shaka.extern {
|
|
5360
5512
|
interface TextDisplayer extends shaka.util.IDestroyable {
|
|
5361
5513
|
/**
|
|
@@ -5382,14 +5534,14 @@ declare namespace shaka.extern {
|
|
|
5382
5534
|
setTextVisibility (on : boolean ) : any ;
|
|
5383
5535
|
}
|
|
5384
5536
|
}
|
|
5385
|
-
// Generated from /home/
|
|
5537
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
5386
5538
|
declare namespace shaka.extern.TextDisplayer {
|
|
5387
5539
|
/**
|
|
5388
5540
|
* A factory for creating a TextDisplayer.
|
|
5389
5541
|
*/
|
|
5390
5542
|
type Factory = ( ) => shaka.extern.TextDisplayer ;
|
|
5391
5543
|
}
|
|
5392
|
-
// Generated from /home/
|
|
5544
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
5393
5545
|
declare namespace shaka.extern {
|
|
5394
5546
|
/**
|
|
5395
5547
|
* An interface for plugins that parse text tracks.
|
|
@@ -5417,18 +5569,18 @@ declare namespace shaka.extern {
|
|
|
5417
5569
|
setSequenceMode (sequenceMode : boolean ) : any ;
|
|
5418
5570
|
}
|
|
5419
5571
|
}
|
|
5420
|
-
// Generated from /home/
|
|
5572
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
5421
5573
|
declare namespace shaka.extern.TextParser {
|
|
5422
5574
|
/**
|
|
5423
5575
|
* A collection of time offsets used to adjust text cue times.
|
|
5424
5576
|
*/
|
|
5425
5577
|
type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number , vttOffset : number } ;
|
|
5426
5578
|
}
|
|
5427
|
-
// Generated from /home/
|
|
5579
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
5428
5580
|
declare namespace shaka.extern {
|
|
5429
5581
|
type TextParserPlugin = ( ) => shaka.extern.TextParser ;
|
|
5430
5582
|
}
|
|
5431
|
-
// Generated from /home/
|
|
5583
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
5432
5584
|
declare namespace shaka.extern {
|
|
5433
5585
|
/**
|
|
5434
5586
|
* An interface for transmuxer plugins.
|
|
@@ -5457,18 +5609,18 @@ declare namespace shaka.extern {
|
|
|
5457
5609
|
transmux (data : ArrayBuffer | ArrayBufferView , stream : shaka.extern.Stream , reference : shaka.media.SegmentReference | null , duration : number , contentType : string ) : Promise < Uint8Array > ;
|
|
5458
5610
|
}
|
|
5459
5611
|
}
|
|
5460
|
-
// Generated from /home/
|
|
5612
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
5461
5613
|
declare namespace shaka.extern {
|
|
5462
5614
|
type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
|
|
5463
5615
|
}
|
|
5464
|
-
// Generated from /home/
|
|
5616
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/tippy.js
|
|
5465
5617
|
declare namespace ಠ_ಠ.clutz {
|
|
5466
5618
|
/**
|
|
5467
5619
|
* This is the subset of this method that we use in our demo code.
|
|
5468
5620
|
*/
|
|
5469
5621
|
function tippy (element : Element , config : object ) : any ;
|
|
5470
5622
|
}
|
|
5471
|
-
// Generated from /home/
|
|
5623
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5472
5624
|
declare namespace ಠ_ಠ.clutz {
|
|
5473
5625
|
class WebKitMediaKeyError {
|
|
5474
5626
|
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
@@ -5482,7 +5634,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
5482
5634
|
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
5483
5635
|
}
|
|
5484
5636
|
}
|
|
5485
|
-
// Generated from /home/
|
|
5637
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5486
5638
|
declare namespace ಠ_ಠ.clutz {
|
|
5487
5639
|
interface WebKitMediaKeySession extends EventTarget {
|
|
5488
5640
|
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
@@ -5494,7 +5646,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
5494
5646
|
update (message : Uint8Array | null ) : any ;
|
|
5495
5647
|
}
|
|
5496
5648
|
}
|
|
5497
|
-
// Generated from /home/
|
|
5649
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5498
5650
|
declare namespace ಠ_ಠ.clutz {
|
|
5499
5651
|
class WebKitMediaKeys {
|
|
5500
5652
|
private noStructuralTyping_WebKitMediaKeys : any;
|
|
@@ -5503,7 +5655,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
5503
5655
|
static isTypeSupported (keySystem : string , contentType : string ) : boolean ;
|
|
5504
5656
|
}
|
|
5505
5657
|
}
|
|
5506
|
-
// Generated from /home/
|
|
5658
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5507
5659
|
declare namespace shaka.extern {
|
|
5508
5660
|
/**
|
|
5509
5661
|
* Interface for UI elements. UI elements should inherit from the concrete base
|
|
@@ -5523,7 +5675,7 @@ video : HTMLMediaElement | null ;
|
|
|
5523
5675
|
release ( ) : any ;
|
|
5524
5676
|
}
|
|
5525
5677
|
}
|
|
5526
|
-
// Generated from /home/
|
|
5678
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5527
5679
|
declare namespace shaka.extern.IUIElement {
|
|
5528
5680
|
/**
|
|
5529
5681
|
* A factory for creating a UI element.
|
|
@@ -5532,7 +5684,7 @@ declare namespace shaka.extern.IUIElement {
|
|
|
5532
5684
|
create (rootElement : HTMLElement , controls : shaka.ui.Controls ) : shaka.extern.IUIElement ;
|
|
5533
5685
|
}
|
|
5534
5686
|
}
|
|
5535
|
-
// Generated from /home/
|
|
5687
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5536
5688
|
declare namespace shaka.extern {
|
|
5537
5689
|
/**
|
|
5538
5690
|
* Interface for UI range elements. UI range elements should inherit from the
|
|
@@ -5564,7 +5716,7 @@ container : HTMLElement ;
|
|
|
5564
5716
|
setValue (value : number ) : any ;
|
|
5565
5717
|
}
|
|
5566
5718
|
}
|
|
5567
|
-
// Generated from /home/
|
|
5719
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5568
5720
|
declare namespace shaka.extern {
|
|
5569
5721
|
/**
|
|
5570
5722
|
* Interface for SeekBars. SeekBars should inherit from the concrete base
|
|
@@ -5583,7 +5735,7 @@ declare namespace shaka.extern {
|
|
|
5583
5735
|
update ( ) : any ;
|
|
5584
5736
|
}
|
|
5585
5737
|
}
|
|
5586
|
-
// Generated from /home/
|
|
5738
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5587
5739
|
declare namespace shaka.extern.IUISeekBar {
|
|
5588
5740
|
/**
|
|
5589
5741
|
* A factory for creating a SeekBar element.
|
|
@@ -5592,7 +5744,7 @@ declare namespace shaka.extern.IUISeekBar {
|
|
|
5592
5744
|
create (rootElement : HTMLElement , controls : shaka.ui.Controls ) : shaka.extern.IUISeekBar ;
|
|
5593
5745
|
}
|
|
5594
5746
|
}
|
|
5595
|
-
// Generated from /home/
|
|
5747
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5596
5748
|
declare namespace shaka.extern {
|
|
5597
5749
|
/**
|
|
5598
5750
|
* Interface for UI settings menus. UI settings menus should inherit from the
|
|
@@ -5610,15 +5762,15 @@ menu : HTMLElement ;
|
|
|
5610
5762
|
nameSpan : HTMLElement ;
|
|
5611
5763
|
}
|
|
5612
5764
|
}
|
|
5613
|
-
// Generated from /home/
|
|
5765
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5614
5766
|
declare namespace shaka.extern {
|
|
5615
|
-
type UIConfiguration = { addBigPlayButton : boolean , addSeekBar : boolean , castAndroidReceiverCompatible : boolean , castReceiverAppId : string , clearBufferOnQualityChange : boolean , contextMenuElements : string [] , controlPanelElements : string [] , customContextMenu : boolean , doubleClickForFullscreen : boolean , enableFullscreenOnRotation : boolean , enableKeyboardPlaybackControls : boolean , enableTooltips : boolean , fadeDelay : number , fastForwardRates : number [] , forceLandscapeOnFullscreen : boolean , fullScreenElement : HTMLElement | null , keyboardLargeSeekDistance : number , keyboardSeekDistance : number , overflowMenuButtons : string [] , playbackRates : number [] , rewindRates : number [] , seekBarColors : shaka.extern.UISeekBarColors , showUnbufferedStart : boolean , singleClickForPlayAndPause : boolean , statisticsList : string [] , trackLabelFormat : shaka.ui.Overlay.TrackLabelFormat , volumeBarColors : shaka.extern.UIVolumeBarColors } ;
|
|
5767
|
+
type UIConfiguration = { addBigPlayButton : boolean , addSeekBar : boolean , castAndroidReceiverCompatible : boolean , castReceiverAppId : string , clearBufferOnQualityChange : boolean , contextMenuElements : string [] , controlPanelElements : string [] , customContextMenu : boolean , doubleClickForFullscreen : boolean , enableFullscreenOnRotation : boolean , enableKeyboardPlaybackControls : boolean , enableTooltips : boolean , fadeDelay : number , fastForwardRates : number [] , forceLandscapeOnFullscreen : boolean , fullScreenElement : HTMLElement | null , keyboardLargeSeekDistance : number , keyboardSeekDistance : number , overflowMenuButtons : string [] , playbackRates : number [] , preferDocumentPictureInPicture : boolean , rewindRates : number [] , seekBarColors : shaka.extern.UISeekBarColors , showUnbufferedStart : boolean , singleClickForPlayAndPause : boolean , statisticsList : string [] , trackLabelFormat : shaka.ui.Overlay.TrackLabelFormat , volumeBarColors : shaka.extern.UIVolumeBarColors } ;
|
|
5616
5768
|
}
|
|
5617
|
-
// Generated from /home/
|
|
5769
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5618
5770
|
declare namespace shaka.extern {
|
|
5619
5771
|
type UISeekBarColors = { adBreaks : string , base : string , buffered : string , played : string } ;
|
|
5620
5772
|
}
|
|
5621
|
-
// Generated from /home/
|
|
5773
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/ui/externs/ui.js
|
|
5622
5774
|
declare namespace shaka.extern {
|
|
5623
5775
|
type UIVolumeBarColors = { base : string , level : string } ;
|
|
5624
5776
|
}
|