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.compiled.debug.externs.js
|
|
11
11
|
declare namespace shaka {
|
|
12
12
|
class Player extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
13
13
|
private noStructuralTyping_shaka_Player : any;
|
|
@@ -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.compiled.debug.externs.js
|
|
450
450
|
declare namespace shaka.Player {
|
|
451
451
|
/**
|
|
452
452
|
* In order to know what method of loading the player used for some content, we
|
|
@@ -475,7 +475,7 @@ declare namespace shaka.Player {
|
|
|
475
475
|
SRC_EQUALS = 3.0 ,
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
// Generated from /home/
|
|
478
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
479
479
|
declare namespace shaka.abr {
|
|
480
480
|
class SimpleAbrManager implements shaka.extern.AbrManager , shaka.util.IReleasable {
|
|
481
481
|
private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
|
|
@@ -493,7 +493,7 @@ declare namespace shaka.abr {
|
|
|
493
493
|
stop ( ) : any ;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
// Generated from /home/
|
|
496
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.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.compiled.debug.externs.js
|
|
2596
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.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.compiled.debug.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.compiled.debug.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,7 +2637,7 @@ 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.compiled.debug.externs.js
|
|
2598
2641
|
declare namespace shaka.util {
|
|
2599
2642
|
/**
|
|
2600
2643
|
* A utility to wrap abortable operations. Note that these are not cancelable.
|
|
@@ -2620,7 +2663,7 @@ declare namespace shaka.util {
|
|
|
2620
2663
|
static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
|
|
2621
2664
|
}
|
|
2622
2665
|
}
|
|
2623
|
-
// Generated from /home/
|
|
2666
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2624
2667
|
declare namespace shaka.util {
|
|
2625
2668
|
class BufferUtils {
|
|
2626
2669
|
private noStructuralTyping_shaka_util_BufferUtils : any;
|
|
@@ -2650,7 +2693,7 @@ declare namespace shaka.util {
|
|
|
2650
2693
|
static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
|
|
2651
2694
|
}
|
|
2652
2695
|
}
|
|
2653
|
-
// Generated from /home/
|
|
2696
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2654
2697
|
declare namespace shaka.util.CmcdManager {
|
|
2655
2698
|
enum StreamingFormat {
|
|
2656
2699
|
DASH = 'd' ,
|
|
@@ -2659,7 +2702,7 @@ declare namespace shaka.util.CmcdManager {
|
|
|
2659
2702
|
SMOOTH = 's' ,
|
|
2660
2703
|
}
|
|
2661
2704
|
}
|
|
2662
|
-
// Generated from /home/
|
|
2705
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2663
2706
|
declare namespace shaka.util {
|
|
2664
2707
|
class ConfigUtils {
|
|
2665
2708
|
private noStructuralTyping_shaka_util_ConfigUtils : any;
|
|
@@ -2672,7 +2715,7 @@ declare namespace shaka.util {
|
|
|
2672
2715
|
static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
|
|
2673
2716
|
}
|
|
2674
2717
|
}
|
|
2675
|
-
// Generated from /home/
|
|
2718
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2676
2719
|
declare namespace shaka.util {
|
|
2677
2720
|
class DataViewReader {
|
|
2678
2721
|
private noStructuralTyping_shaka_util_DataViewReader : any;
|
|
@@ -2733,7 +2776,7 @@ declare namespace shaka.util {
|
|
|
2733
2776
|
skip (bytes : number ) : any ;
|
|
2734
2777
|
}
|
|
2735
2778
|
}
|
|
2736
|
-
// Generated from /home/
|
|
2779
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2737
2780
|
declare namespace shaka.util.DataViewReader {
|
|
2738
2781
|
/**
|
|
2739
2782
|
* Endianness.
|
|
@@ -2746,7 +2789,7 @@ declare namespace shaka.util.DataViewReader {
|
|
|
2746
2789
|
LITTLE_ENDIAN = 1.0 ,
|
|
2747
2790
|
}
|
|
2748
2791
|
}
|
|
2749
|
-
// Generated from /home/
|
|
2792
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2750
2793
|
declare namespace shaka.util {
|
|
2751
2794
|
class Dom {
|
|
2752
2795
|
private noStructuralTyping_shaka_util_Dom : any;
|
|
@@ -2756,7 +2799,7 @@ declare namespace shaka.util {
|
|
|
2756
2799
|
static removeAllChildren (element : Element ) : any ;
|
|
2757
2800
|
}
|
|
2758
2801
|
}
|
|
2759
|
-
// Generated from /home/
|
|
2802
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2760
2803
|
declare namespace shaka.util {
|
|
2761
2804
|
class Error extends GlobalError implements shaka.extern.Error {
|
|
2762
2805
|
private noStructuralTyping_shaka_util_Error : any;
|
|
@@ -2768,7 +2811,7 @@ declare namespace shaka.util {
|
|
|
2768
2811
|
severity : any ;
|
|
2769
2812
|
}
|
|
2770
2813
|
}
|
|
2771
|
-
// Generated from /home/
|
|
2814
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2772
2815
|
declare namespace shaka.util.Error {
|
|
2773
2816
|
enum Category {
|
|
2774
2817
|
ADS = 10.0 ,
|
|
@@ -2783,9 +2826,11 @@ declare namespace shaka.util.Error {
|
|
|
2783
2826
|
TEXT = 2.0 ,
|
|
2784
2827
|
}
|
|
2785
2828
|
}
|
|
2786
|
-
// Generated from /home/
|
|
2829
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2787
2830
|
declare namespace shaka.util.Error {
|
|
2788
2831
|
enum Code {
|
|
2832
|
+
AES_128_INVALID_IV_LENGTH = 4048.0 ,
|
|
2833
|
+
AES_128_INVALID_KEY_LENGTH = 4049.0 ,
|
|
2789
2834
|
ALREADY_CASTING = 8002.0 ,
|
|
2790
2835
|
ATTEMPTS_EXHAUSTED = 1010.0 ,
|
|
2791
2836
|
BAD_ENCODING = 2004.0 ,
|
|
@@ -2807,6 +2852,7 @@ declare namespace shaka.util.Error {
|
|
|
2807
2852
|
CS_AD_MANAGER_NOT_INITIALIZED = 10001.0 ,
|
|
2808
2853
|
CS_IMA_SDK_MISSING = 10000.0 ,
|
|
2809
2854
|
CURRENT_DAI_REQUEST_NOT_FINISHED = 10004.0 ,
|
|
2855
|
+
DASH_CONFLICTING_AES_128 = 4050.0 ,
|
|
2810
2856
|
DASH_CONFLICTING_KEY_IDS = 4010.0 ,
|
|
2811
2857
|
DASH_DUPLICATE_REPRESENTATION_ID = 4018.0 ,
|
|
2812
2858
|
DASH_EMPTY_ADAPTATION_SET = 4003.0 ,
|
|
@@ -2816,6 +2862,7 @@ declare namespace shaka.util.Error {
|
|
|
2816
2862
|
DASH_NO_COMMON_KEY_SYSTEM = 4008.0 ,
|
|
2817
2863
|
DASH_NO_SEGMENT_INFO = 4002.0 ,
|
|
2818
2864
|
DASH_PSSH_BAD_ENCODING = 4007.0 ,
|
|
2865
|
+
DASH_UNSUPPORTED_AES_128 = 4051.0 ,
|
|
2819
2866
|
DASH_UNSUPPORTED_CONTAINER = 4006.0 ,
|
|
2820
2867
|
DASH_UNSUPPORTED_XLINK_ACTUATE = 4027.0 ,
|
|
2821
2868
|
DASH_WEBM_MISSING_INIT = 4005.0 ,
|
|
@@ -2831,8 +2878,6 @@ declare namespace shaka.util.Error {
|
|
|
2831
2878
|
FAILED_TO_CREATE_CDM = 6002.0 ,
|
|
2832
2879
|
FAILED_TO_CREATE_SESSION = 6005.0 ,
|
|
2833
2880
|
FAILED_TO_GENERATE_LICENSE_REQUEST = 6006.0 ,
|
|
2834
|
-
HLS_AES_128_INVALID_IV_LENGTH = 4043.0 ,
|
|
2835
|
-
HLS_AES_128_INVALID_KEY_LENGTH = 4044.0 ,
|
|
2836
2881
|
HLS_COULD_NOT_GUESS_CODECS = 4025.0 ,
|
|
2837
2882
|
HLS_INVALID_PLAYLIST_HIERARCHY = 4017.0 ,
|
|
2838
2883
|
HLS_KEYFORMATS_NOT_SUPPORTED = 4026.0 ,
|
|
@@ -2879,6 +2924,7 @@ declare namespace shaka.util.Error {
|
|
|
2879
2924
|
MSS_MISSING_DATA_FOR_TRANSMUXING = 3020.0 ,
|
|
2880
2925
|
MSS_TRANSMUXING_CODEC_UNKNOWN = 3021.0 ,
|
|
2881
2926
|
MSS_TRANSMUXING_FAILED = 3022.0 ,
|
|
2927
|
+
MT_AD_MANAGER_NOT_INITIALIZED = 10005.0 ,
|
|
2882
2928
|
NEW_KEY_OPERATION_NOT_SUPPORTED = 9011.0 ,
|
|
2883
2929
|
NO_CAST_RECEIVERS = 8001.0 ,
|
|
2884
2930
|
NO_INIT_DATA_FOR_OFFLINE = 9007.0 ,
|
|
@@ -2926,14 +2972,14 @@ declare namespace shaka.util.Error {
|
|
|
2926
2972
|
WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
|
|
2927
2973
|
}
|
|
2928
2974
|
}
|
|
2929
|
-
// Generated from /home/
|
|
2975
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2930
2976
|
declare namespace shaka.util.Error {
|
|
2931
2977
|
enum Severity {
|
|
2932
2978
|
CRITICAL = 2.0 ,
|
|
2933
2979
|
RECOVERABLE = 1.0 ,
|
|
2934
2980
|
}
|
|
2935
2981
|
}
|
|
2936
|
-
// Generated from /home/
|
|
2982
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2937
2983
|
declare namespace shaka.util {
|
|
2938
2984
|
class EventManager implements shaka.util.IReleasable {
|
|
2939
2985
|
private noStructuralTyping_shaka_util_EventManager : any;
|
|
@@ -2971,18 +3017,18 @@ declare namespace shaka.util {
|
|
|
2971
3017
|
unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
|
|
2972
3018
|
}
|
|
2973
3019
|
}
|
|
2974
|
-
// Generated from /home/
|
|
3020
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2975
3021
|
declare namespace shaka.util.EventManager {
|
|
2976
3022
|
type ListenerType = (a : Event ) => any ;
|
|
2977
3023
|
}
|
|
2978
|
-
// Generated from /home/
|
|
3024
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2979
3025
|
declare namespace shaka.util {
|
|
2980
3026
|
class ExpGolomb {
|
|
2981
3027
|
private noStructuralTyping_shaka_util_ExpGolomb : any;
|
|
2982
|
-
constructor (data : Uint8Array ) ;
|
|
3028
|
+
constructor (data : Uint8Array , convertEbsp2rbsp ? : boolean ) ;
|
|
2983
3029
|
}
|
|
2984
3030
|
}
|
|
2985
|
-
// Generated from /home/
|
|
3031
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
2986
3032
|
declare namespace shaka.util {
|
|
2987
3033
|
class FairPlayUtils {
|
|
2988
3034
|
private noStructuralTyping_shaka_util_FairPlayUtils : any;
|
|
@@ -3046,14 +3092,14 @@ declare namespace shaka.util {
|
|
|
3046
3092
|
static verimatrixInitDataTransform (initData : Uint8Array , initDataType : string , drmInfo : shaka.extern.DrmInfo | null ) : any ;
|
|
3047
3093
|
}
|
|
3048
3094
|
}
|
|
3049
|
-
// Generated from /home/
|
|
3095
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3050
3096
|
declare namespace shaka.util {
|
|
3051
3097
|
class FakeEvent extends Event {
|
|
3052
3098
|
private noStructuralTyping_shaka_util_FakeEvent : any;
|
|
3053
3099
|
constructor (type : string , dict ? : Map < string , object | null > | null ) ;
|
|
3054
3100
|
}
|
|
3055
3101
|
}
|
|
3056
|
-
// Generated from /home/
|
|
3102
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3057
3103
|
declare namespace shaka.util {
|
|
3058
3104
|
class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
|
|
3059
3105
|
private noStructuralTyping_shaka_util_FakeEventTarget : any;
|
|
@@ -3085,14 +3131,14 @@ declare namespace shaka.util {
|
|
|
3085
3131
|
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
|
|
3086
3132
|
}
|
|
3087
3133
|
}
|
|
3088
|
-
// Generated from /home/
|
|
3134
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3089
3135
|
declare namespace shaka.util.FakeEventTarget {
|
|
3090
3136
|
/**
|
|
3091
3137
|
* These are the listener types defined in the closure extern for EventTarget.
|
|
3092
3138
|
*/
|
|
3093
3139
|
type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
|
|
3094
3140
|
}
|
|
3095
|
-
// Generated from /home/
|
|
3141
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3096
3142
|
declare namespace shaka.util {
|
|
3097
3143
|
/**
|
|
3098
3144
|
* An interface to standardize how objects are destroyed.
|
|
@@ -3106,7 +3152,7 @@ declare namespace shaka.util {
|
|
|
3106
3152
|
destroy ( ) : Promise < any > ;
|
|
3107
3153
|
}
|
|
3108
3154
|
}
|
|
3109
|
-
// Generated from /home/
|
|
3155
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3110
3156
|
declare namespace shaka.util {
|
|
3111
3157
|
/**
|
|
3112
3158
|
* An interface to standardize how objects release internal references
|
|
@@ -3120,7 +3166,7 @@ declare namespace shaka.util {
|
|
|
3120
3166
|
release ( ) : any ;
|
|
3121
3167
|
}
|
|
3122
3168
|
}
|
|
3123
|
-
// Generated from /home/
|
|
3169
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3124
3170
|
declare namespace shaka.util {
|
|
3125
3171
|
class Id3Utils {
|
|
3126
3172
|
private noStructuralTyping_shaka_util_Id3Utils : any;
|
|
@@ -3138,7 +3184,7 @@ declare namespace shaka.util {
|
|
|
3138
3184
|
static getID3Frames (id3Data : Uint8Array | null ) : shaka.extern.MetadataFrame [] ;
|
|
3139
3185
|
}
|
|
3140
3186
|
}
|
|
3141
|
-
// Generated from /home/
|
|
3187
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3142
3188
|
declare namespace shaka.util {
|
|
3143
3189
|
class LanguageUtils {
|
|
3144
3190
|
private noStructuralTyping_shaka_util_LanguageUtils : any;
|
|
@@ -3252,7 +3298,7 @@ declare namespace shaka.util {
|
|
|
3252
3298
|
static relatedness (target : string , candidate : string ) : number ;
|
|
3253
3299
|
}
|
|
3254
3300
|
}
|
|
3255
|
-
// Generated from /home/
|
|
3301
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3256
3302
|
declare namespace shaka.util {
|
|
3257
3303
|
class MimeUtils {
|
|
3258
3304
|
private noStructuralTyping_shaka_util_MimeUtils : any;
|
|
@@ -3268,7 +3314,7 @@ declare namespace shaka.util {
|
|
|
3268
3314
|
static getFullTypeWithAllCodecs (mimeType : string , codecs ? : string ) : string ;
|
|
3269
3315
|
}
|
|
3270
3316
|
}
|
|
3271
|
-
// Generated from /home/
|
|
3317
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3272
3318
|
declare namespace shaka.util {
|
|
3273
3319
|
class Mp4Parser {
|
|
3274
3320
|
private noStructuralTyping_shaka_util_Mp4Parser : any;
|
|
@@ -3335,11 +3381,11 @@ declare namespace shaka.util {
|
|
|
3335
3381
|
static visualSampleEntry (box : shaka.extern.ParsedBox ) : any ;
|
|
3336
3382
|
}
|
|
3337
3383
|
}
|
|
3338
|
-
// Generated from /home/
|
|
3384
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3339
3385
|
declare namespace shaka.util.Mp4Parser {
|
|
3340
3386
|
type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
|
|
3341
3387
|
}
|
|
3342
|
-
// Generated from /home/
|
|
3388
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3343
3389
|
declare namespace shaka.util {
|
|
3344
3390
|
/**
|
|
3345
3391
|
* A utility to combine streams across periods.
|
|
@@ -3353,7 +3399,7 @@ declare namespace shaka.util {
|
|
|
3353
3399
|
release ( ) : any ;
|
|
3354
3400
|
}
|
|
3355
3401
|
}
|
|
3356
|
-
// Generated from /home/
|
|
3402
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3357
3403
|
declare namespace shaka.util {
|
|
3358
3404
|
class PlayerConfiguration {
|
|
3359
3405
|
private noStructuralTyping_shaka_util_PlayerConfiguration : any;
|
|
@@ -3365,14 +3411,14 @@ declare namespace shaka.util {
|
|
|
3365
3411
|
static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
|
|
3366
3412
|
}
|
|
3367
3413
|
}
|
|
3368
|
-
// Generated from /home/
|
|
3414
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3369
3415
|
declare namespace shaka.util {
|
|
3370
3416
|
class StreamUtils {
|
|
3371
3417
|
private noStructuralTyping_shaka_util_StreamUtils : any;
|
|
3372
3418
|
static meetsRestrictions (variant : shaka.extern.Variant , restrictions : shaka.extern.Restrictions , maxHwRes : { height : number , width : number } ) : boolean ;
|
|
3373
3419
|
}
|
|
3374
3420
|
}
|
|
3375
|
-
// Generated from /home/
|
|
3421
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3376
3422
|
declare namespace shaka.util {
|
|
3377
3423
|
class StringUtils {
|
|
3378
3424
|
private noStructuralTyping_shaka_util_StringUtils : any;
|
|
@@ -3406,7 +3452,7 @@ declare namespace shaka.util {
|
|
|
3406
3452
|
static toUTF8 (str : string ) : ArrayBuffer ;
|
|
3407
3453
|
}
|
|
3408
3454
|
}
|
|
3409
|
-
// Generated from /home/
|
|
3455
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3410
3456
|
declare namespace shaka.util {
|
|
3411
3457
|
/**
|
|
3412
3458
|
* A timer allows a single function to be executed at a later time or at
|
|
@@ -3435,7 +3481,7 @@ declare namespace shaka.util {
|
|
|
3435
3481
|
tickNow ( ) : shaka.util.Timer ;
|
|
3436
3482
|
}
|
|
3437
3483
|
}
|
|
3438
|
-
// Generated from /home/
|
|
3484
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3439
3485
|
declare namespace shaka.util {
|
|
3440
3486
|
class TsParser {
|
|
3441
3487
|
private noStructuralTyping_shaka_util_TsParser : any;
|
|
@@ -3485,6 +3531,12 @@ declare namespace shaka.util {
|
|
|
3485
3531
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
3486
3532
|
*/
|
|
3487
3533
|
parseAvcNalus (pes : shaka.extern.MPEG_PES , nextPes ? : shaka.extern.MPEG_PES | null ) : shaka.extern.VideoNalu [] ;
|
|
3534
|
+
/**
|
|
3535
|
+
* Parse AVC and HVC Nalus
|
|
3536
|
+
* The code is based on hls.js
|
|
3537
|
+
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
3538
|
+
*/
|
|
3539
|
+
parseNalus (pes : shaka.extern.MPEG_PES , nextPes ? : shaka.extern.MPEG_PES | null , lastNalu ? : shaka.extern.VideoNalu | null ) : shaka.extern.VideoNalu [] ;
|
|
3488
3540
|
static Timescale : number ;
|
|
3489
3541
|
/**
|
|
3490
3542
|
* Check if the passed data corresponds to an MPEG2-TS
|
|
@@ -3496,7 +3548,7 @@ declare namespace shaka.util {
|
|
|
3496
3548
|
static syncOffset (data : Uint8Array | null ) : number ;
|
|
3497
3549
|
}
|
|
3498
3550
|
}
|
|
3499
|
-
// Generated from /home/
|
|
3551
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/dist/shaka-player.compiled.debug.externs.js
|
|
3500
3552
|
declare namespace shaka.util {
|
|
3501
3553
|
class Uint8ArrayUtils {
|
|
3502
3554
|
private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
|
|
@@ -3530,7 +3582,7 @@ declare namespace shaka.util {
|
|
|
3530
3582
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
3531
3583
|
}
|
|
3532
3584
|
}
|
|
3533
|
-
// Generated from /home/
|
|
3585
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/airplay.js
|
|
3534
3586
|
declare namespace ಠ_ಠ.clutz {
|
|
3535
3587
|
class AirPlayEvent extends Event {
|
|
3536
3588
|
private noStructuralTyping_AirPlayEvent : any;
|
|
@@ -3538,7 +3590,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3538
3590
|
availability : String | null ;
|
|
3539
3591
|
}
|
|
3540
3592
|
}
|
|
3541
|
-
// Generated from /home/
|
|
3593
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/awesomplete.js
|
|
3542
3594
|
declare namespace ಠ_ಠ.clutz {
|
|
3543
3595
|
class Awesomplete {
|
|
3544
3596
|
private noStructuralTyping_Awesomplete : any;
|
|
@@ -3548,18 +3600,18 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3548
3600
|
evaluate ( ) : any ;
|
|
3549
3601
|
}
|
|
3550
3602
|
}
|
|
3551
|
-
// Generated from /home/
|
|
3603
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3552
3604
|
declare namespace ಠ_ಠ.clutz {
|
|
3553
3605
|
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
3554
3606
|
}
|
|
3555
|
-
// Generated from /home/
|
|
3607
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3556
3608
|
declare namespace cast.receiver {
|
|
3557
3609
|
class CastChannel {
|
|
3558
3610
|
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
3559
3611
|
send (message : any ) : any ;
|
|
3560
3612
|
}
|
|
3561
3613
|
}
|
|
3562
|
-
// Generated from /home/
|
|
3614
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3563
3615
|
declare namespace cast.receiver {
|
|
3564
3616
|
class CastMessageBus {
|
|
3565
3617
|
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
@@ -3568,7 +3620,7 @@ declare namespace cast.receiver {
|
|
|
3568
3620
|
onMessage : Function | null ;
|
|
3569
3621
|
}
|
|
3570
3622
|
}
|
|
3571
|
-
// Generated from /home/
|
|
3623
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3572
3624
|
declare namespace cast.receiver.CastMessageBus {
|
|
3573
3625
|
class Event {
|
|
3574
3626
|
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
@@ -3576,7 +3628,7 @@ declare namespace cast.receiver.CastMessageBus {
|
|
|
3576
3628
|
senderId : string ;
|
|
3577
3629
|
}
|
|
3578
3630
|
}
|
|
3579
|
-
// Generated from /home/
|
|
3631
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3580
3632
|
declare namespace cast.receiver {
|
|
3581
3633
|
class CastReceiverManager {
|
|
3582
3634
|
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
@@ -3594,7 +3646,7 @@ declare namespace cast.receiver {
|
|
|
3594
3646
|
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
3595
3647
|
}
|
|
3596
3648
|
}
|
|
3597
|
-
// Generated from /home/
|
|
3649
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3598
3650
|
declare namespace cast.receiver.media {
|
|
3599
3651
|
enum MetadataType {
|
|
3600
3652
|
GENERIC = 0.0 ,
|
|
@@ -3604,7 +3656,7 @@ declare namespace cast.receiver.media {
|
|
|
3604
3656
|
TV_SHOW = 2.0 ,
|
|
3605
3657
|
}
|
|
3606
3658
|
}
|
|
3607
|
-
// Generated from /home/
|
|
3659
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3608
3660
|
declare namespace cast.receiver.system {
|
|
3609
3661
|
class SystemVolumeData {
|
|
3610
3662
|
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
@@ -3612,14 +3664,14 @@ declare namespace cast.receiver.system {
|
|
|
3612
3664
|
muted : boolean ;
|
|
3613
3665
|
}
|
|
3614
3666
|
}
|
|
3615
|
-
// Generated from /home/
|
|
3667
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3616
3668
|
declare namespace chrome.cast {
|
|
3617
3669
|
class ApiConfig {
|
|
3618
3670
|
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
3619
3671
|
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
3620
3672
|
}
|
|
3621
3673
|
}
|
|
3622
|
-
// Generated from /home/
|
|
3674
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3623
3675
|
declare namespace chrome.cast {
|
|
3624
3676
|
class Error {
|
|
3625
3677
|
private noStructuralTyping_chrome_cast_Error : any;
|
|
@@ -3629,14 +3681,14 @@ declare namespace chrome.cast {
|
|
|
3629
3681
|
details : object | null ;
|
|
3630
3682
|
}
|
|
3631
3683
|
}
|
|
3632
|
-
// Generated from /home/
|
|
3684
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3633
3685
|
declare namespace chrome.cast {
|
|
3634
3686
|
class Receiver {
|
|
3635
3687
|
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
3636
3688
|
friendlyName : string ;
|
|
3637
3689
|
}
|
|
3638
3690
|
}
|
|
3639
|
-
// Generated from /home/
|
|
3691
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3640
3692
|
declare namespace chrome.cast {
|
|
3641
3693
|
class Session {
|
|
3642
3694
|
private noStructuralTyping_chrome_cast_Session : any;
|
|
@@ -3652,32 +3704,32 @@ declare namespace chrome.cast {
|
|
|
3652
3704
|
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3653
3705
|
}
|
|
3654
3706
|
}
|
|
3655
|
-
// Generated from /home/
|
|
3707
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3656
3708
|
declare namespace chrome.cast {
|
|
3657
3709
|
class SessionRequest {
|
|
3658
3710
|
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
3659
3711
|
constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
|
|
3660
3712
|
}
|
|
3661
3713
|
}
|
|
3662
|
-
// Generated from /home/
|
|
3714
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3663
3715
|
declare namespace chrome.cast.SessionStatus {
|
|
3664
3716
|
let STOPPED : string ;
|
|
3665
3717
|
}
|
|
3666
|
-
// Generated from /home/
|
|
3718
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/chromecast.js
|
|
3667
3719
|
declare namespace chrome.cast {
|
|
3668
3720
|
let isAvailable : boolean ;
|
|
3669
3721
|
}
|
|
3670
|
-
// Generated from /home/
|
|
3722
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/cmcd.js
|
|
3671
3723
|
declare namespace ಠ_ಠ.clutz {
|
|
3672
3724
|
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 } ;
|
|
3673
3725
|
}
|
|
3674
|
-
// Generated from /home/
|
|
3726
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3675
3727
|
declare namespace google.ima.AdErrorEvent {
|
|
3676
3728
|
enum Type {
|
|
3677
3729
|
AD_ERROR = 'AD_ERROR' ,
|
|
3678
3730
|
}
|
|
3679
3731
|
}
|
|
3680
|
-
// Generated from /home/
|
|
3732
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3681
3733
|
declare namespace google.ima.AdEvent {
|
|
3682
3734
|
enum Type {
|
|
3683
3735
|
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
@@ -3709,7 +3761,7 @@ declare namespace google.ima.AdEvent {
|
|
|
3709
3761
|
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
3710
3762
|
}
|
|
3711
3763
|
}
|
|
3712
|
-
// Generated from /home/
|
|
3764
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3713
3765
|
declare namespace google.ima {
|
|
3714
3766
|
class AdsLoader implements EventTarget {
|
|
3715
3767
|
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
@@ -3723,7 +3775,7 @@ declare namespace google.ima {
|
|
|
3723
3775
|
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
3724
3776
|
}
|
|
3725
3777
|
}
|
|
3726
|
-
// Generated from /home/
|
|
3778
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3727
3779
|
declare namespace google.ima {
|
|
3728
3780
|
class AdsManager implements EventTarget {
|
|
3729
3781
|
private noStructuralTyping_google_ima_AdsManager : any;
|
|
@@ -3746,21 +3798,21 @@ declare namespace google.ima {
|
|
|
3746
3798
|
updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
3747
3799
|
}
|
|
3748
3800
|
}
|
|
3749
|
-
// Generated from /home/
|
|
3801
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3750
3802
|
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
3751
3803
|
enum Type {
|
|
3752
3804
|
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
3753
3805
|
}
|
|
3754
3806
|
}
|
|
3755
|
-
// Generated from /home/
|
|
3807
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3756
3808
|
declare namespace google.ima {
|
|
3757
3809
|
type AdsRenderingSettings = { autoAlign : boolean , bitrate : number , enablePreloading : boolean , loadVideoTimeout : number , mimeTypes : string [] | null , playAdsAfterTime : number , restoreCustomPlaybackStateOnAdBreakComplete : boolean , uiElements : string [] | null , useStyledLinearAds : boolean , useStyledNonLinearAds : boolean } ;
|
|
3758
3810
|
}
|
|
3759
|
-
// Generated from /home/
|
|
3811
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3760
3812
|
declare namespace google.ima {
|
|
3761
3813
|
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
3762
3814
|
}
|
|
3763
|
-
// Generated from /home/
|
|
3815
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3764
3816
|
declare namespace google.ima.ImaSdkSettings {
|
|
3765
3817
|
enum VpaidMode {
|
|
3766
3818
|
DISABLED = 0.0 ,
|
|
@@ -3768,14 +3820,14 @@ declare namespace google.ima.ImaSdkSettings {
|
|
|
3768
3820
|
INSECURE = 2.0 ,
|
|
3769
3821
|
}
|
|
3770
3822
|
}
|
|
3771
|
-
// Generated from /home/
|
|
3823
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3772
3824
|
declare namespace google.ima {
|
|
3773
3825
|
enum ViewMode {
|
|
3774
3826
|
FULLSCREEN = 'FULLSCREEN' ,
|
|
3775
3827
|
NORMAL = 'NORMAL' ,
|
|
3776
3828
|
}
|
|
3777
3829
|
}
|
|
3778
|
-
// Generated from /home/
|
|
3830
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3779
3831
|
declare namespace google.ima.dai.api {
|
|
3780
3832
|
enum OmidAccessMode {
|
|
3781
3833
|
DOMAIN = 'domain' ,
|
|
@@ -3783,7 +3835,7 @@ declare namespace google.ima.dai.api {
|
|
|
3783
3835
|
LIMITED = 'limited' ,
|
|
3784
3836
|
}
|
|
3785
3837
|
}
|
|
3786
|
-
// Generated from /home/
|
|
3838
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3787
3839
|
declare namespace google.ima.dai.api {
|
|
3788
3840
|
enum OmidVerificationVendor {
|
|
3789
3841
|
COMSCORE = 7.0 ,
|
|
@@ -3797,7 +3849,7 @@ declare namespace google.ima.dai.api {
|
|
|
3797
3849
|
PIXELATE = 5.0 ,
|
|
3798
3850
|
}
|
|
3799
3851
|
}
|
|
3800
|
-
// Generated from /home/
|
|
3852
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3801
3853
|
declare namespace google.ima.dai.api.StreamEvent {
|
|
3802
3854
|
enum Type {
|
|
3803
3855
|
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
@@ -3820,7 +3872,7 @@ declare namespace google.ima.dai.api.StreamEvent {
|
|
|
3820
3872
|
VIDEO_CLICKED = 'videoClicked' ,
|
|
3821
3873
|
}
|
|
3822
3874
|
}
|
|
3823
|
-
// Generated from /home/
|
|
3875
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3824
3876
|
declare namespace google.ima.dai.api {
|
|
3825
3877
|
class StreamManager implements EventTarget {
|
|
3826
3878
|
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
@@ -3839,18 +3891,18 @@ declare namespace google.ima.dai.api {
|
|
|
3839
3891
|
streamTimeForContentTime (contentTime : number ) : any ;
|
|
3840
3892
|
}
|
|
3841
3893
|
}
|
|
3842
|
-
// Generated from /home/
|
|
3894
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3843
3895
|
declare namespace google.ima.dai.api.StreamRequest {
|
|
3844
3896
|
enum StreamFormat {
|
|
3845
3897
|
DASH = 'dash' ,
|
|
3846
3898
|
HLS = 'hls' ,
|
|
3847
3899
|
}
|
|
3848
3900
|
}
|
|
3849
|
-
// Generated from /home/
|
|
3901
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/ima.js
|
|
3850
3902
|
declare namespace google.ima {
|
|
3851
3903
|
let settings : google.ima.ImaSdkSettings ;
|
|
3852
3904
|
}
|
|
3853
|
-
// Generated from /home/
|
|
3905
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
3854
3906
|
declare namespace ಠ_ಠ.clutz {
|
|
3855
3907
|
/**
|
|
3856
3908
|
* A JSON Web Key.
|
|
@@ -3875,7 +3927,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3875
3927
|
kty : string ;
|
|
3876
3928
|
}
|
|
3877
3929
|
}
|
|
3878
|
-
// Generated from /home/
|
|
3930
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/jwk_set.js
|
|
3879
3931
|
declare namespace ಠ_ಠ.clutz {
|
|
3880
3932
|
/**
|
|
3881
3933
|
* A JSON Web Key set.
|
|
@@ -3885,14 +3937,17 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3885
3937
|
keys : ( JWK | null ) [] | null ;
|
|
3886
3938
|
}
|
|
3887
3939
|
}
|
|
3888
|
-
// Generated from /home/
|
|
3889
|
-
declare namespace
|
|
3940
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3941
|
+
declare namespace LCEVCdec {
|
|
3890
3942
|
/**
|
|
3891
|
-
* LCEVC
|
|
3943
|
+
* LCEVC Dec constructor
|
|
3892
3944
|
*/
|
|
3893
|
-
class
|
|
3894
|
-
private
|
|
3895
|
-
|
|
3945
|
+
class LCEVCdec {
|
|
3946
|
+
private noStructuralTyping_LCEVCdec_LCEVCdec : any;
|
|
3947
|
+
/**
|
|
3948
|
+
* LCEVC Dec constructor
|
|
3949
|
+
*/
|
|
3950
|
+
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null , lcevcConfig : shaka.extern.LcevcConfiguration ) ;
|
|
3896
3951
|
/**
|
|
3897
3952
|
* Append the video buffers before they are appended to
|
|
3898
3953
|
* Media Source Extensions SourceBuffer. Here the lcevc data
|
|
@@ -3900,10 +3955,11 @@ declare namespace LcevcDil {
|
|
|
3900
3955
|
* @param data Video Buffer Data.
|
|
3901
3956
|
* @param type Type of Video Buffer Data.
|
|
3902
3957
|
* @param variantId Variant that the fragment belongs to.
|
|
3958
|
+
* @param timestampOffset Timestamp offset for appended segments
|
|
3903
3959
|
*/
|
|
3904
|
-
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number ) : any ;
|
|
3960
|
+
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number , timestampOffset : number ) : any ;
|
|
3905
3961
|
/**
|
|
3906
|
-
* Close LCEVC
|
|
3962
|
+
* Close LCEVC DEC
|
|
3907
3963
|
*/
|
|
3908
3964
|
close ( ) : any ;
|
|
3909
3965
|
/**
|
|
@@ -3913,33 +3969,54 @@ declare namespace LcevcDil {
|
|
|
3913
3969
|
setContainerFormat (containerFormat : number ) : any ;
|
|
3914
3970
|
/**
|
|
3915
3971
|
* Set current variant as variantId to the LCEVC decoder
|
|
3916
|
-
* @param autoBufferSwitch is
|
|
3972
|
+
* @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.
|
|
3917
3973
|
*/
|
|
3918
3974
|
setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
|
|
3975
|
+
/**
|
|
3976
|
+
* Set streaming Format for LCEVC Data Parsing.
|
|
3977
|
+
* @param streamingFormat container type of the stream.
|
|
3978
|
+
*/
|
|
3979
|
+
setStreamingFormat (streamingFormat : number ) : any ;
|
|
3919
3980
|
}
|
|
3920
3981
|
}
|
|
3921
|
-
// Generated from /home/
|
|
3922
|
-
declare namespace
|
|
3982
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3983
|
+
declare namespace LCEVCdec {
|
|
3984
|
+
/**
|
|
3985
|
+
* The older module interface, for backward compatibility.
|
|
3986
|
+
* Typed to the same interface, but under a different name.
|
|
3987
|
+
*/
|
|
3988
|
+
export import LcevcDil = LCEVCdec.LCEVCdec ;
|
|
3989
|
+
}
|
|
3990
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3991
|
+
declare namespace LCEVCdec.SupportObject {
|
|
3923
3992
|
/**
|
|
3924
3993
|
* LCEVC Support CheckList Error if any.
|
|
3925
3994
|
*/
|
|
3926
3995
|
let SupportError : string ;
|
|
3927
3996
|
}
|
|
3928
|
-
// Generated from /home/
|
|
3929
|
-
declare namespace
|
|
3997
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
3998
|
+
declare namespace LCEVCdec.SupportObject {
|
|
3930
3999
|
/**
|
|
3931
4000
|
* LCEVC Support Checklist Result
|
|
3932
4001
|
*/
|
|
3933
4002
|
let SupportStatus : boolean ;
|
|
3934
4003
|
}
|
|
3935
|
-
// Generated from /home/
|
|
3936
|
-
declare namespace
|
|
4004
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4005
|
+
declare namespace LCEVCdec.SupportObject {
|
|
3937
4006
|
/**
|
|
3938
4007
|
* Check if canvas has WebGL support
|
|
3939
4008
|
*/
|
|
3940
4009
|
function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
|
|
3941
4010
|
}
|
|
3942
|
-
// Generated from /home/
|
|
4011
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/lcevc.js
|
|
4012
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4013
|
+
/**
|
|
4014
|
+
* Typedef for the module interface. Both LCEVCdec (new module) and LcevcDil
|
|
4015
|
+
* (old module) implement roughly the same interface.
|
|
4016
|
+
*/
|
|
4017
|
+
type LCEVCmodule = typeof LCEVCdec ;
|
|
4018
|
+
}
|
|
4019
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mdl.js
|
|
3943
4020
|
declare namespace ಠ_ಠ.clutz {
|
|
3944
4021
|
class MaterialLayout {
|
|
3945
4022
|
private noStructuralTyping_MaterialLayout : any;
|
|
@@ -3947,7 +4024,43 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3947
4024
|
toggleDrawer ( ) : any ;
|
|
3948
4025
|
}
|
|
3949
4026
|
}
|
|
3950
|
-
// Generated from /home/
|
|
4027
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/media_remote.js
|
|
4028
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4029
|
+
class RemotePlayback implements EventTarget {
|
|
4030
|
+
private noStructuralTyping_RemotePlayback : any;
|
|
4031
|
+
addEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | AddEventListenerOptions ) : void ;
|
|
4032
|
+
/**
|
|
4033
|
+
* The cancelWatchAvailability() method of the RemotePlayback interface
|
|
4034
|
+
* cancels the request to watch for one or all available devices.
|
|
4035
|
+
*/
|
|
4036
|
+
cancelWatchAvailability (id : number ) : Promise < any > ;
|
|
4037
|
+
dispatchEvent (evt : Event ) : boolean ;
|
|
4038
|
+
/**
|
|
4039
|
+
* The prompt() method of the RemotePlayback interface prompts the user
|
|
4040
|
+
* to select an available remote playback device and give permission
|
|
4041
|
+
* for the current media to be played using that device.
|
|
4042
|
+
*
|
|
4043
|
+
* If the user gives permission, the state will be set to connecting and
|
|
4044
|
+
* the user agent will connect to the device to initiate playback.
|
|
4045
|
+
*
|
|
4046
|
+
* If the user chooses to instead disconnect from the device, the state will
|
|
4047
|
+
* be set to disconnected and user agent will disconnect from this device.
|
|
4048
|
+
*/
|
|
4049
|
+
prompt ( ) : Promise < any > ;
|
|
4050
|
+
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | EventListenerOptions ) : void ;
|
|
4051
|
+
/**
|
|
4052
|
+
* Represents the RemotePlayback connection's state.
|
|
4053
|
+
*/
|
|
4054
|
+
state : string ;
|
|
4055
|
+
/**
|
|
4056
|
+
* The watchAvailability() method of the RemotePlayback interface watches
|
|
4057
|
+
* the list of available remote playback devices and returns a Promise that
|
|
4058
|
+
* resolves with the callbackId of a remote playback device.
|
|
4059
|
+
*/
|
|
4060
|
+
watchAvailability (callback : (a : boolean ) => any ) : Promise < any > ;
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
3951
4064
|
declare namespace ಠ_ಠ.clutz {
|
|
3952
4065
|
class MediaMetadata {
|
|
3953
4066
|
private noStructuralTyping_MediaMetadata : any;
|
|
@@ -3957,44 +4070,58 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
3957
4070
|
title : string ;
|
|
3958
4071
|
}
|
|
3959
4072
|
}
|
|
3960
|
-
// Generated from /home/
|
|
4073
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediasession.js
|
|
3961
4074
|
declare namespace ಠ_ಠ.clutz {
|
|
3962
4075
|
class MediaSession {
|
|
3963
4076
|
private noStructuralTyping_MediaSession : any;
|
|
3964
4077
|
metadata : MediaMetadata | null ;
|
|
3965
4078
|
}
|
|
3966
4079
|
}
|
|
3967
|
-
// Generated from /home/
|
|
3968
|
-
declare namespace
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
4080
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4081
|
+
declare namespace mediaTailor {
|
|
4082
|
+
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 [] } ;
|
|
4083
|
+
}
|
|
4084
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4085
|
+
declare namespace mediaTailor {
|
|
4086
|
+
type AdBreak = { adBreakTrackingEvents : mediaTailor.TrackingEvent [] , ads : mediaTailor.Ad [] , durationInSeconds : number , nonLinearAdsList : mediaTailor.Ad [] , startTimeInSeconds : number } ;
|
|
4087
|
+
}
|
|
4088
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4089
|
+
declare namespace mediaTailor {
|
|
4090
|
+
type NonLinearAd = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeAdId : string , creativeId : string , creativeSequence : string , height : number | null , staticResource : string , width : number | null } ;
|
|
4091
|
+
}
|
|
4092
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4093
|
+
declare namespace mediaTailor {
|
|
4094
|
+
type SessionResponse = { manifestUrl : string | null , trackingUrl : string | null } ;
|
|
4095
|
+
}
|
|
4096
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4097
|
+
declare namespace mediaTailor {
|
|
4098
|
+
type TrackingEvent = { beaconUrls : string [] , eventType : string } ;
|
|
4099
|
+
}
|
|
4100
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4101
|
+
declare namespace mediaTailor {
|
|
4102
|
+
type TrackingResponse = { avails : mediaTailor.AdBreak [] } ;
|
|
4103
|
+
}
|
|
4104
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4105
|
+
declare namespace mediaTailorExternalResource {
|
|
4106
|
+
type App = { data : mediaTailorExternalResource.AppData , placeholder : mediaTailorExternalResource.AppPlaceholder } ;
|
|
4107
|
+
}
|
|
4108
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4109
|
+
declare namespace mediaTailorExternalResource {
|
|
4110
|
+
type AppData = { source : mediaTailorExternalResource.AppDataSource [] } ;
|
|
3992
4111
|
}
|
|
3993
|
-
// Generated from /home/
|
|
3994
|
-
declare namespace
|
|
3995
|
-
type
|
|
4112
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4113
|
+
declare namespace mediaTailorExternalResource {
|
|
4114
|
+
type AppDataSource = { url : string } ;
|
|
3996
4115
|
}
|
|
3997
|
-
// Generated from /home/
|
|
4116
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4117
|
+
declare namespace mediaTailorExternalResource {
|
|
4118
|
+
type AppPlaceholder = { left : number , top : number } ;
|
|
4119
|
+
}
|
|
4120
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/mediatailor.js
|
|
4121
|
+
declare namespace mediaTailorExternalResource {
|
|
4122
|
+
type Response = { apps : mediaTailorExternalResource.App [] } ;
|
|
4123
|
+
}
|
|
4124
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
3998
4125
|
declare namespace ಠ_ಠ.clutz {
|
|
3999
4126
|
class DocumentPictureInPicture implements EventTarget {
|
|
4000
4127
|
private noStructuralTyping_DocumentPictureInPicture : any;
|
|
@@ -4005,15 +4132,23 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4005
4132
|
window : Window | null ;
|
|
4006
4133
|
}
|
|
4007
4134
|
}
|
|
4008
|
-
// Generated from /home/
|
|
4135
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
4136
|
+
declare namespace ಠ_ಠ.clutz {
|
|
4137
|
+
class DocumentPictureInPictureEvent extends Event {
|
|
4138
|
+
private noStructuralTyping_DocumentPictureInPictureEvent : any;
|
|
4139
|
+
constructor ( ) ;
|
|
4140
|
+
window : Window | null ;
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/pictureinpicture.js
|
|
4009
4144
|
declare namespace ಠ_ಠ.clutz {
|
|
4010
4145
|
type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
|
|
4011
4146
|
}
|
|
4012
|
-
// Generated from /home/
|
|
4147
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/polyfill.js
|
|
4013
4148
|
declare namespace window {
|
|
4014
4149
|
let shakaMediaKeysPolyfill : boolean ;
|
|
4015
4150
|
}
|
|
4016
|
-
// Generated from /home/
|
|
4151
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
4017
4152
|
declare namespace ಠ_ಠ.clutz {
|
|
4018
4153
|
class MediaKeyError {
|
|
4019
4154
|
private noStructuralTyping_MediaKeyError : any;
|
|
@@ -4021,7 +4156,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4021
4156
|
systemCode : number ;
|
|
4022
4157
|
}
|
|
4023
4158
|
}
|
|
4024
|
-
// Generated from /home/
|
|
4159
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/prefixed_eme.js
|
|
4025
4160
|
declare namespace ಠ_ಠ.clutz {
|
|
4026
4161
|
class MediaKeyEvent extends Event {
|
|
4027
4162
|
private noStructuralTyping_MediaKeyEvent : any;
|
|
@@ -4036,7 +4171,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
4036
4171
|
target : HTMLMediaElement ;
|
|
4037
4172
|
}
|
|
4038
4173
|
}
|
|
4039
|
-
// Generated from /home/
|
|
4174
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abortable.js
|
|
4040
4175
|
declare namespace shaka.extern {
|
|
4041
4176
|
/**
|
|
4042
4177
|
* A representation of an abortable operation. Note that these are not
|
|
@@ -4062,7 +4197,7 @@ declare namespace shaka.extern {
|
|
|
4062
4197
|
promise : Promise < T > ;
|
|
4063
4198
|
}
|
|
4064
4199
|
}
|
|
4065
|
-
// Generated from /home/
|
|
4200
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4066
4201
|
declare namespace shaka.extern {
|
|
4067
4202
|
/**
|
|
4068
4203
|
* An object which selects Streams from a set of possible choices. This also
|
|
@@ -4137,14 +4272,14 @@ declare namespace shaka.extern {
|
|
|
4137
4272
|
stop ( ) : any ;
|
|
4138
4273
|
}
|
|
4139
4274
|
}
|
|
4140
|
-
// Generated from /home/
|
|
4275
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4141
4276
|
declare namespace shaka.extern.AbrManager {
|
|
4142
4277
|
/**
|
|
4143
4278
|
* A factory for creating the abr manager.
|
|
4144
4279
|
*/
|
|
4145
4280
|
type Factory = ( ) => shaka.extern.AbrManager ;
|
|
4146
4281
|
}
|
|
4147
|
-
// Generated from /home/
|
|
4282
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/abr_manager.js
|
|
4148
4283
|
declare namespace shaka.extern.AbrManager {
|
|
4149
4284
|
/**
|
|
4150
4285
|
* A callback into the Player that should be called when the AbrManager decides
|
|
@@ -4163,15 +4298,15 @@ declare namespace shaka.extern.AbrManager {
|
|
|
4163
4298
|
*/
|
|
4164
4299
|
type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
|
|
4165
4300
|
}
|
|
4166
|
-
// Generated from /home/
|
|
4301
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4167
4302
|
declare namespace shaka.extern {
|
|
4168
4303
|
type AdCuePoint = { end : number | null , start : number } ;
|
|
4169
4304
|
}
|
|
4170
|
-
// Generated from /home/
|
|
4305
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4171
4306
|
declare namespace shaka.extern {
|
|
4172
4307
|
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
4173
4308
|
}
|
|
4174
|
-
// Generated from /home/
|
|
4309
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4175
4310
|
declare namespace shaka.extern {
|
|
4176
4311
|
/**
|
|
4177
4312
|
* Interface for Ad objects.
|
|
@@ -4212,7 +4347,7 @@ declare namespace shaka.extern {
|
|
|
4212
4347
|
skip ( ) : any ;
|
|
4213
4348
|
}
|
|
4214
4349
|
}
|
|
4215
|
-
// Generated from /home/
|
|
4350
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4216
4351
|
declare namespace shaka.extern {
|
|
4217
4352
|
/**
|
|
4218
4353
|
* An object that's responsible for all the ad-related logic
|
|
@@ -4225,6 +4360,7 @@ declare namespace shaka.extern {
|
|
|
4225
4360
|
* Must be called at least once before init*().
|
|
4226
4361
|
*/
|
|
4227
4362
|
configure (config : shaka.extern.AdsConfiguration ) : any ;
|
|
4363
|
+
getCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
4228
4364
|
getServerSideCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
4229
4365
|
/**
|
|
4230
4366
|
* Get statistics for the current playback session. If the player is not
|
|
@@ -4232,35 +4368,41 @@ declare namespace shaka.extern {
|
|
|
4232
4368
|
*/
|
|
4233
4369
|
getStats ( ) : any ;
|
|
4234
4370
|
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings : google.ima.AdsRenderingSettings | null ) : any ;
|
|
4371
|
+
initMediaTailor (adContainer : HTMLElement , networkingEngine : shaka.net.NetworkingEngine , video : HTMLMediaElement ) : any ;
|
|
4235
4372
|
initServerSide (adContainer : HTMLElement , video : HTMLMediaElement ) : any ;
|
|
4236
4373
|
onAssetUnload ( ) : any ;
|
|
4237
4374
|
onCueMetadataChange (value : shaka.extern.MetadataFrame ) : any ;
|
|
4238
4375
|
onDashTimedMetadata (region : shaka.extern.TimelineRegionInfo ) : any ;
|
|
4239
4376
|
onHlsTimedMetadata (metadata : shaka.extern.ID3Metadata , timestampOffset : number ) : any ;
|
|
4377
|
+
/**
|
|
4378
|
+
* Fired when the manifest is updated.
|
|
4379
|
+
*/
|
|
4380
|
+
onManifestUpdated (isLive : boolean ) : any ;
|
|
4240
4381
|
release ( ) : any ;
|
|
4241
4382
|
replaceServerSideAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4242
4383
|
requestClientSideAds (imaRequest : google.ima.AdsRequest ) : any ;
|
|
4384
|
+
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
4243
4385
|
requestServerSideStream (imaRequest : google.ima.dai.api.StreamRequest , backupUrl ? : string ) : Promise < string > ;
|
|
4244
4386
|
setLocale (locale : string ) : any ;
|
|
4245
4387
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
4246
4388
|
}
|
|
4247
4389
|
}
|
|
4248
|
-
// Generated from /home/
|
|
4390
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/ads.js
|
|
4249
4391
|
declare namespace shaka.extern.IAdManager {
|
|
4250
4392
|
/**
|
|
4251
4393
|
* A factory for creating the ad manager.
|
|
4252
4394
|
*/
|
|
4253
4395
|
type Factory = ( ) => shaka.extern.IAdManager ;
|
|
4254
4396
|
}
|
|
4255
|
-
// Generated from /home/
|
|
4397
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4256
4398
|
declare namespace shaka.extern {
|
|
4257
4399
|
type CaptionDecoderPlugin = ( ) => shaka.extern.ICaptionDecoder ;
|
|
4258
4400
|
}
|
|
4259
|
-
// Generated from /home/
|
|
4401
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4260
4402
|
declare namespace shaka.extern {
|
|
4261
4403
|
type CeaParserPlugin = ( ) => shaka.extern.ICeaParser ;
|
|
4262
4404
|
}
|
|
4263
|
-
// Generated from /home/
|
|
4405
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4264
4406
|
declare namespace shaka.extern {
|
|
4265
4407
|
/**
|
|
4266
4408
|
* Interface for decoding inband closed captions from packets.
|
|
@@ -4287,14 +4429,14 @@ declare namespace shaka.extern {
|
|
|
4287
4429
|
extract (userDataSeiMessage : Uint8Array , pts : number ) : any ;
|
|
4288
4430
|
}
|
|
4289
4431
|
}
|
|
4290
|
-
// Generated from /home/
|
|
4432
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4291
4433
|
declare namespace shaka.extern.ICaptionDecoder {
|
|
4292
4434
|
/**
|
|
4293
4435
|
* Parsed Cue.
|
|
4294
4436
|
*/
|
|
4295
4437
|
type ClosedCaption = { cue : shaka.text.Cue , stream : string } ;
|
|
4296
4438
|
}
|
|
4297
|
-
// Generated from /home/
|
|
4439
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4298
4440
|
declare namespace shaka.extern {
|
|
4299
4441
|
/**
|
|
4300
4442
|
* Interface for parsing inband closed caption data from MP4 streams.
|
|
@@ -4312,19 +4454,19 @@ declare namespace shaka.extern {
|
|
|
4312
4454
|
parse (mediaSegment : ArrayBuffer | ArrayBufferView ) : shaka.extern.ICeaParser.CaptionPacket [] ;
|
|
4313
4455
|
}
|
|
4314
4456
|
}
|
|
4315
|
-
// Generated from /home/
|
|
4457
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/cea.js
|
|
4316
4458
|
declare namespace shaka.extern.ICeaParser {
|
|
4317
4459
|
type CaptionPacket = { packet : Uint8Array , pts : number } ;
|
|
4318
4460
|
}
|
|
4319
|
-
// Generated from /home/
|
|
4461
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4320
4462
|
declare namespace shaka.extern {
|
|
4321
4463
|
type MPEG_PES = { data : Uint8Array | null , dts : number | null , packetLength : number , pts : number | null } ;
|
|
4322
4464
|
}
|
|
4323
|
-
// Generated from /home/
|
|
4465
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/codecs.js
|
|
4324
4466
|
declare namespace shaka.extern {
|
|
4325
4467
|
type VideoNalu = { data : Uint8Array , fullData : Uint8Array , time : number | null , type : number } ;
|
|
4326
4468
|
}
|
|
4327
|
-
// Generated from /home/
|
|
4469
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4328
4470
|
declare namespace shaka.extern {
|
|
4329
4471
|
interface Error {
|
|
4330
4472
|
category : shaka.util.Error.Category ;
|
|
@@ -4334,11 +4476,11 @@ declare namespace shaka.extern {
|
|
|
4334
4476
|
severity : shaka.util.Error.Severity ;
|
|
4335
4477
|
}
|
|
4336
4478
|
}
|
|
4337
|
-
// Generated from /home/
|
|
4479
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/error.js
|
|
4338
4480
|
declare namespace shaka.extern {
|
|
4339
4481
|
type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
|
|
4340
4482
|
}
|
|
4341
|
-
// Generated from /home/
|
|
4483
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4342
4484
|
declare namespace shaka.extern {
|
|
4343
4485
|
/**
|
|
4344
4486
|
* Creates a SegmentIndex; returns a Promise that resolves after the
|
|
@@ -4346,11 +4488,11 @@ declare namespace shaka.extern {
|
|
|
4346
4488
|
*/
|
|
4347
4489
|
type CreateSegmentIndexFunction = ( ) => Promise < any > ;
|
|
4348
4490
|
}
|
|
4349
|
-
// Generated from /home/
|
|
4491
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4350
4492
|
declare namespace shaka.extern {
|
|
4351
4493
|
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 } ;
|
|
4352
4494
|
}
|
|
4353
|
-
// Generated from /home/
|
|
4495
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4354
4496
|
declare namespace shaka.extern {
|
|
4355
4497
|
/**
|
|
4356
4498
|
* A function that fetches the crypto keys for AES-128.
|
|
@@ -4358,39 +4500,39 @@ declare namespace shaka.extern {
|
|
|
4358
4500
|
*/
|
|
4359
4501
|
type FetchCryptoKeysFunction = ( ) => Promise < any > ;
|
|
4360
4502
|
}
|
|
4361
|
-
// Generated from /home/
|
|
4362
|
-
declare namespace shaka.extern {
|
|
4363
|
-
type HlsAes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
|
|
4364
|
-
}
|
|
4365
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4503
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4366
4504
|
declare namespace shaka.extern {
|
|
4367
4505
|
type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
|
|
4368
4506
|
}
|
|
4369
|
-
// Generated from /home/
|
|
4507
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4370
4508
|
declare namespace shaka.extern {
|
|
4371
4509
|
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 [] } ;
|
|
4372
4510
|
}
|
|
4373
|
-
// Generated from /home/
|
|
4511
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4374
4512
|
declare namespace shaka.extern {
|
|
4375
4513
|
type MssPrivateData = { codecPrivateData : string | null , duration : number , timescale : number } ;
|
|
4376
4514
|
}
|
|
4377
|
-
// Generated from /home/
|
|
4515
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4378
4516
|
declare namespace shaka.extern {
|
|
4379
4517
|
type Period = { audioStreams : shaka.extern.Stream [] , id : string , imageStreams : shaka.extern.Stream [] , textStreams : shaka.extern.Stream [] , videoStreams : shaka.extern.Stream [] } ;
|
|
4380
4518
|
}
|
|
4381
|
-
// Generated from /home/
|
|
4519
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4382
4520
|
declare namespace shaka.extern {
|
|
4383
4521
|
type ServiceDescription = { maxLatency : number | null , maxPlaybackRate : number | null } ;
|
|
4384
4522
|
}
|
|
4385
|
-
// Generated from /home/
|
|
4523
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4386
4524
|
declare namespace shaka.extern {
|
|
4387
|
-
type Stream = { accessibilityPurpose : shaka.media.ManifestParser.AccessibilityPurpose | null , audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , mssPrivateData ? : shaka.extern.MssPrivateData , originalId : string | null , originalLanguage : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
|
|
4525
|
+
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 } ;
|
|
4388
4526
|
}
|
|
4389
|
-
// Generated from /home/
|
|
4527
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4390
4528
|
declare namespace shaka.extern {
|
|
4391
4529
|
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 } ;
|
|
4392
4530
|
}
|
|
4393
|
-
// Generated from /home/
|
|
4531
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest.js
|
|
4532
|
+
declare namespace shaka.extern {
|
|
4533
|
+
type aes128Key = { cryptoKey ? : webCrypto.CryptoKey | null , fetchKey ? : shaka.extern.CreateSegmentIndexFunction , firstMediaSequenceNumber : number , iv ? : Uint8Array , method : string } ;
|
|
4534
|
+
}
|
|
4535
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4394
4536
|
declare namespace shaka.extern {
|
|
4395
4537
|
/**
|
|
4396
4538
|
* Parses media manifests and handles manifest updates.
|
|
@@ -4453,7 +4595,7 @@ declare namespace shaka.extern {
|
|
|
4453
4595
|
update ( ) : any ;
|
|
4454
4596
|
}
|
|
4455
4597
|
}
|
|
4456
|
-
// Generated from /home/
|
|
4598
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4457
4599
|
declare namespace shaka.extern.ManifestParser {
|
|
4458
4600
|
/**
|
|
4459
4601
|
* A factory for creating the manifest parser. This function is registered with
|
|
@@ -4461,31 +4603,31 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
4461
4603
|
*/
|
|
4462
4604
|
type Factory = ( ) => shaka.extern.ManifestParser ;
|
|
4463
4605
|
}
|
|
4464
|
-
// Generated from /home/
|
|
4606
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/manifest_parser.js
|
|
4465
4607
|
declare namespace shaka.extern.ManifestParser {
|
|
4466
|
-
type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , networkingEngine : shaka.net.NetworkingEngine , newDrmInfo : (a : shaka.extern.Stream ) => any , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
|
|
4608
|
+
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 } ;
|
|
4467
4609
|
}
|
|
4468
|
-
// Generated from /home/
|
|
4610
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/mp4_parser.js
|
|
4469
4611
|
declare namespace shaka.extern {
|
|
4470
4612
|
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 } ;
|
|
4471
4613
|
}
|
|
4472
|
-
// Generated from /home/
|
|
4614
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4473
4615
|
declare namespace shaka.extern {
|
|
4474
4616
|
type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
|
|
4475
4617
|
}
|
|
4476
|
-
// Generated from /home/
|
|
4618
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4477
4619
|
declare namespace shaka.extern {
|
|
4478
4620
|
type ProgressUpdated = (a : number , b : number , c : number ) => any ;
|
|
4479
4621
|
}
|
|
4480
|
-
// Generated from /home/
|
|
4622
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4481
4623
|
declare namespace shaka.extern {
|
|
4482
4624
|
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 [] } ;
|
|
4483
4625
|
}
|
|
4484
|
-
// Generated from /home/
|
|
4626
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4485
4627
|
declare namespace shaka.extern {
|
|
4486
4628
|
type RequestContext = { segment ? : shaka.media.SegmentReference | null , stream ? : shaka.extern.Stream , type ? : shaka.net.NetworkingEngine.AdvancedRequestType } ;
|
|
4487
4629
|
}
|
|
4488
|
-
// Generated from /home/
|
|
4630
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4489
4631
|
declare namespace shaka.extern {
|
|
4490
4632
|
/**
|
|
4491
4633
|
* Defines a filter for requests. This filter takes the request and modifies
|
|
@@ -4498,11 +4640,11 @@ declare namespace shaka.extern {
|
|
|
4498
4640
|
*/
|
|
4499
4641
|
type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4500
4642
|
}
|
|
4501
|
-
// Generated from /home/
|
|
4643
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4502
4644
|
declare namespace shaka.extern {
|
|
4503
4645
|
type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , originalUri : string , status ? : number , timeMs ? : number , uri : string } ;
|
|
4504
4646
|
}
|
|
4505
|
-
// Generated from /home/
|
|
4647
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4506
4648
|
declare namespace shaka.extern {
|
|
4507
4649
|
/**
|
|
4508
4650
|
* Defines a filter for responses. This filter takes the response and modifies
|
|
@@ -4514,19 +4656,19 @@ declare namespace shaka.extern {
|
|
|
4514
4656
|
*/
|
|
4515
4657
|
type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response , c ? : shaka.extern.RequestContext ) => Promise < any > | void ;
|
|
4516
4658
|
}
|
|
4517
|
-
// Generated from /home/
|
|
4659
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4518
4660
|
declare namespace shaka.extern {
|
|
4519
4661
|
type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
|
|
4520
4662
|
}
|
|
4521
|
-
// Generated from /home/
|
|
4663
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/net.js
|
|
4522
4664
|
declare namespace shaka.extern {
|
|
4523
4665
|
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 > ;
|
|
4524
4666
|
}
|
|
4525
|
-
// Generated from /home/
|
|
4667
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4526
4668
|
declare namespace shaka.extern {
|
|
4527
4669
|
type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
|
|
4528
4670
|
}
|
|
4529
|
-
// Generated from /home/
|
|
4671
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4530
4672
|
declare namespace shaka.extern {
|
|
4531
4673
|
/**
|
|
4532
4674
|
* Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
|
|
@@ -4552,23 +4694,23 @@ declare namespace shaka.extern {
|
|
|
4552
4694
|
remove (sessionIds : string [] ) : Promise < any > ;
|
|
4553
4695
|
}
|
|
4554
4696
|
}
|
|
4555
|
-
// Generated from /home/
|
|
4697
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4556
4698
|
declare namespace shaka.extern {
|
|
4557
4699
|
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 } ;
|
|
4558
4700
|
}
|
|
4559
|
-
// Generated from /home/
|
|
4701
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4560
4702
|
declare namespace shaka.extern {
|
|
4561
4703
|
type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
|
|
4562
4704
|
}
|
|
4563
|
-
// Generated from /home/
|
|
4705
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4564
4706
|
declare namespace shaka.extern {
|
|
4565
4707
|
type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
|
|
4566
4708
|
}
|
|
4567
|
-
// Generated from /home/
|
|
4709
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4568
4710
|
declare namespace shaka.extern {
|
|
4569
4711
|
type SegmentDataDB = { data : ArrayBuffer } ;
|
|
4570
4712
|
}
|
|
4571
|
-
// Generated from /home/
|
|
4713
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4572
4714
|
declare namespace shaka.extern {
|
|
4573
4715
|
/**
|
|
4574
4716
|
* An interface that defines access to collection of segments and manifests. All
|
|
@@ -4644,7 +4786,7 @@ declare namespace shaka.extern {
|
|
|
4644
4786
|
updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
|
|
4645
4787
|
}
|
|
4646
4788
|
}
|
|
4647
|
-
// Generated from /home/
|
|
4789
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4648
4790
|
declare namespace shaka.extern {
|
|
4649
4791
|
/**
|
|
4650
4792
|
* Storage mechanisms are one of two exported storage APIs. Storage mechanisms
|
|
@@ -4688,207 +4830,207 @@ declare namespace shaka.extern {
|
|
|
4688
4830
|
init ( ) : Promise < any > ;
|
|
4689
4831
|
}
|
|
4690
4832
|
}
|
|
4691
|
-
// Generated from /home/
|
|
4833
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4692
4834
|
declare namespace shaka.extern {
|
|
4693
4835
|
type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
|
|
4694
4836
|
}
|
|
4695
|
-
// Generated from /home/
|
|
4837
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline.js
|
|
4696
4838
|
declare namespace shaka.extern {
|
|
4697
|
-
type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , external : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , originalLanguage ? : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
|
|
4839
|
+
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 } ;
|
|
4698
4840
|
}
|
|
4699
|
-
// Generated from /home/
|
|
4841
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4700
4842
|
declare namespace shaka.extern {
|
|
4701
4843
|
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 } ;
|
|
4702
4844
|
}
|
|
4703
|
-
// Generated from /home/
|
|
4845
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4704
4846
|
declare namespace shaka.extern {
|
|
4705
4847
|
type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
|
|
4706
4848
|
}
|
|
4707
|
-
// Generated from /home/
|
|
4849
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4708
4850
|
declare namespace shaka.extern {
|
|
4709
4851
|
type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
|
|
4710
4852
|
}
|
|
4711
|
-
// Generated from /home/
|
|
4853
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4712
4854
|
declare namespace shaka.extern {
|
|
4713
4855
|
type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
|
|
4714
4856
|
}
|
|
4715
|
-
// Generated from /home/
|
|
4857
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v1.js
|
|
4716
4858
|
declare namespace shaka.extern {
|
|
4717
4859
|
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 } ;
|
|
4718
4860
|
}
|
|
4719
|
-
// Generated from /home/
|
|
4861
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4720
4862
|
declare namespace shaka.extern {
|
|
4721
4863
|
type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
|
|
4722
4864
|
}
|
|
4723
|
-
// Generated from /home/
|
|
4865
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4724
4866
|
declare namespace shaka.extern {
|
|
4725
4867
|
type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
|
|
4726
4868
|
}
|
|
4727
|
-
// Generated from /home/
|
|
4869
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4728
4870
|
declare namespace shaka.extern {
|
|
4729
4871
|
type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
|
|
4730
4872
|
}
|
|
4731
|
-
// Generated from /home/
|
|
4873
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4732
4874
|
declare namespace shaka.extern {
|
|
4733
4875
|
type SegmentDataDBV2 = { data : ArrayBuffer } ;
|
|
4734
4876
|
}
|
|
4735
|
-
// Generated from /home/
|
|
4877
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/offline_compat_v2.js
|
|
4736
4878
|
declare namespace shaka.extern {
|
|
4737
4879
|
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 } ;
|
|
4738
4880
|
}
|
|
4739
|
-
// Generated from /home/
|
|
4881
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4740
4882
|
declare namespace shaka.extern {
|
|
4741
4883
|
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 } ;
|
|
4742
4884
|
}
|
|
4743
|
-
// Generated from /home/
|
|
4885
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4744
4886
|
declare namespace shaka.extern {
|
|
4745
4887
|
type AdsConfiguration = { customPlayheadTracker : boolean } ;
|
|
4746
4888
|
}
|
|
4747
|
-
// Generated from /home/
|
|
4889
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4748
4890
|
declare namespace shaka.extern {
|
|
4749
4891
|
type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
|
|
4750
4892
|
}
|
|
4751
|
-
// Generated from /home/
|
|
4893
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4752
4894
|
declare namespace shaka.extern {
|
|
4753
4895
|
type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
4754
4896
|
}
|
|
4755
|
-
// Generated from /home/
|
|
4897
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4756
4898
|
declare namespace shaka.extern {
|
|
4757
4899
|
type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
|
|
4758
4900
|
}
|
|
4759
|
-
// Generated from /home/
|
|
4901
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4760
4902
|
declare namespace shaka.extern {
|
|
4761
4903
|
type BufferedRange = { end : number , start : number } ;
|
|
4762
4904
|
}
|
|
4763
|
-
// Generated from /home/
|
|
4905
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4764
4906
|
declare namespace shaka.extern {
|
|
4765
4907
|
type Chapter = { endTime : number , id : string , startTime : number , title : string } ;
|
|
4766
4908
|
}
|
|
4767
|
-
// Generated from /home/
|
|
4909
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4768
4910
|
declare namespace shaka.extern {
|
|
4769
4911
|
type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
|
|
4770
4912
|
}
|
|
4771
|
-
// Generated from /home/
|
|
4913
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4772
4914
|
declare namespace shaka.extern {
|
|
4773
|
-
type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean , xlinkFailGracefully : boolean } ;
|
|
4915
|
+
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 } ;
|
|
4774
4916
|
}
|
|
4775
|
-
// Generated from /home/
|
|
4917
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4776
4918
|
declare namespace shaka.extern {
|
|
4777
4919
|
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 } ;
|
|
4778
4920
|
}
|
|
4779
|
-
// Generated from /home/
|
|
4921
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4780
4922
|
declare namespace shaka.extern {
|
|
4781
4923
|
type DrmSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string , sessionType : string } ;
|
|
4782
4924
|
}
|
|
4783
|
-
// Generated from /home/
|
|
4925
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4784
4926
|
declare namespace shaka.extern {
|
|
4785
4927
|
type DrmSupportType = { persistentState : boolean } ;
|
|
4786
4928
|
}
|
|
4787
|
-
// Generated from /home/
|
|
4929
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4788
4930
|
declare namespace shaka.extern {
|
|
4789
4931
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
4790
4932
|
}
|
|
4791
|
-
// Generated from /home/
|
|
4933
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4792
4934
|
declare namespace shaka.extern {
|
|
4793
4935
|
type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreManifestProgramDateTime : boolean , ignoreManifestTimestampsInSegmentsMode : boolean , ignoreTextStreamFailures : boolean , liveSegmentsDelay : number , mediaPlaylistFullMimeType : string , sequenceMode : boolean , useSafariBehaviorForLive : boolean } ;
|
|
4794
4936
|
}
|
|
4795
|
-
// Generated from /home/
|
|
4937
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4796
4938
|
declare namespace shaka.extern {
|
|
4797
4939
|
type ID3Metadata = { cueTime : number | null , data : Uint8Array , dts : number | null , frames : shaka.extern.MetadataFrame [] , pts : number | null } ;
|
|
4798
4940
|
}
|
|
4799
|
-
// Generated from /home/
|
|
4941
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4800
4942
|
declare namespace shaka.extern {
|
|
4801
4943
|
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
4802
4944
|
}
|
|
4803
|
-
// Generated from /home/
|
|
4945
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4804
4946
|
declare namespace shaka.extern {
|
|
4805
4947
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
4806
4948
|
}
|
|
4807
|
-
// Generated from /home/
|
|
4949
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4808
4950
|
declare namespace shaka.extern {
|
|
4809
4951
|
type LcevcConfiguration = { drawLogo : boolean , dynamicPerformanceScaling : boolean , enabled : boolean , logLevel : number } ;
|
|
4810
4952
|
}
|
|
4811
|
-
// Generated from /home/
|
|
4953
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4812
4954
|
declare namespace shaka.extern {
|
|
4813
4955
|
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 } ;
|
|
4814
4956
|
}
|
|
4815
|
-
// Generated from /home/
|
|
4957
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4816
4958
|
declare namespace shaka.extern {
|
|
4817
4959
|
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 } ;
|
|
4818
4960
|
}
|
|
4819
|
-
// Generated from /home/
|
|
4961
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4820
4962
|
declare namespace shaka.extern {
|
|
4821
|
-
type MediaSourceConfiguration = { forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
|
|
4963
|
+
type MediaSourceConfiguration = { codecSwitchingStrategy : shaka.config.CodecSwitchingStrategy , forceTransmux : boolean , insertFakeEncryptionInInit : boolean , sourceBufferExtraFeatures : string } ;
|
|
4822
4964
|
}
|
|
4823
|
-
// Generated from /home/
|
|
4965
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4824
4966
|
declare namespace shaka.extern {
|
|
4825
4967
|
type MetadataFrame = { data : ArrayBuffer | null | string | number , description : string , key : string } ;
|
|
4826
4968
|
}
|
|
4827
|
-
// Generated from /home/
|
|
4969
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4828
4970
|
declare namespace shaka.extern {
|
|
4829
4971
|
type MetadataRawFrame = { data : Uint8Array | null , size : number , type : string } ;
|
|
4830
4972
|
}
|
|
4831
|
-
// Generated from /home/
|
|
4973
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4832
4974
|
declare namespace shaka.extern {
|
|
4833
4975
|
type MssManifestConfiguration = { keySystemsBySystemId : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , sequenceMode : boolean } ;
|
|
4834
4976
|
}
|
|
4835
|
-
// Generated from /home/
|
|
4977
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4836
4978
|
declare namespace shaka.extern {
|
|
4837
4979
|
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 } ;
|
|
4838
4980
|
}
|
|
4839
|
-
// Generated from /home/
|
|
4981
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4840
4982
|
declare namespace shaka.extern {
|
|
4841
4983
|
type PersistentSessionMetadata = { initData : Uint8Array | null , initDataType : string | null , sessionId : string } ;
|
|
4842
4984
|
}
|
|
4843
|
-
// Generated from /home/
|
|
4985
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4844
4986
|
declare namespace shaka.extern {
|
|
4845
4987
|
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 } ;
|
|
4846
4988
|
}
|
|
4847
|
-
// Generated from /home/
|
|
4989
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4848
4990
|
declare namespace shaka.extern {
|
|
4849
4991
|
type ProducerReferenceTime = { programStartDate : Date | null , wallClockTime : number } ;
|
|
4850
4992
|
}
|
|
4851
|
-
// Generated from /home/
|
|
4993
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4852
4994
|
declare namespace shaka.extern {
|
|
4853
4995
|
type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
|
|
4854
4996
|
}
|
|
4855
|
-
// Generated from /home/
|
|
4997
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4856
4998
|
declare namespace shaka.extern {
|
|
4857
4999
|
type StateChange = { duration : number , state : string , timestamp : number } ;
|
|
4858
5000
|
}
|
|
4859
|
-
// Generated from /home/
|
|
5001
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4860
5002
|
declare namespace shaka.extern {
|
|
4861
5003
|
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 } ;
|
|
4862
5004
|
}
|
|
4863
|
-
// Generated from /home/
|
|
5005
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4864
5006
|
declare namespace shaka.extern {
|
|
4865
5007
|
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 } ;
|
|
4866
5008
|
}
|
|
4867
|
-
// Generated from /home/
|
|
5009
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4868
5010
|
declare namespace shaka.extern {
|
|
4869
5011
|
type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
|
|
4870
5012
|
}
|
|
4871
|
-
// Generated from /home/
|
|
5013
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4872
5014
|
declare namespace shaka.extern {
|
|
4873
5015
|
type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , sprite : boolean , startTime : number , uris : string [] , width : number } ;
|
|
4874
5016
|
}
|
|
4875
|
-
// Generated from /home/
|
|
5017
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4876
5018
|
declare namespace shaka.extern {
|
|
4877
5019
|
type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
|
|
4878
5020
|
}
|
|
4879
|
-
// Generated from /home/
|
|
5021
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4880
5022
|
declare namespace shaka.extern {
|
|
4881
5023
|
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 } ;
|
|
4882
5024
|
}
|
|
4883
|
-
// Generated from /home/
|
|
5025
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4884
5026
|
declare namespace shaka.extern {
|
|
4885
5027
|
type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
|
|
4886
5028
|
}
|
|
4887
|
-
// Generated from /home/
|
|
5029
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/player.js
|
|
4888
5030
|
declare namespace shaka.extern {
|
|
4889
5031
|
type TrackList = shaka.extern.Track [] ;
|
|
4890
5032
|
}
|
|
4891
|
-
// Generated from /home/
|
|
5033
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4892
5034
|
declare namespace shaka.extern {
|
|
4893
5035
|
interface TextDisplayer extends shaka.util.IDestroyable {
|
|
4894
5036
|
/**
|
|
@@ -4915,14 +5057,14 @@ declare namespace shaka.extern {
|
|
|
4915
5057
|
setTextVisibility (on : boolean ) : any ;
|
|
4916
5058
|
}
|
|
4917
5059
|
}
|
|
4918
|
-
// Generated from /home/
|
|
5060
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4919
5061
|
declare namespace shaka.extern.TextDisplayer {
|
|
4920
5062
|
/**
|
|
4921
5063
|
* A factory for creating a TextDisplayer.
|
|
4922
5064
|
*/
|
|
4923
5065
|
type Factory = ( ) => shaka.extern.TextDisplayer ;
|
|
4924
5066
|
}
|
|
4925
|
-
// Generated from /home/
|
|
5067
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4926
5068
|
declare namespace shaka.extern {
|
|
4927
5069
|
/**
|
|
4928
5070
|
* An interface for plugins that parse text tracks.
|
|
@@ -4950,18 +5092,18 @@ declare namespace shaka.extern {
|
|
|
4950
5092
|
setSequenceMode (sequenceMode : boolean ) : any ;
|
|
4951
5093
|
}
|
|
4952
5094
|
}
|
|
4953
|
-
// Generated from /home/
|
|
5095
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4954
5096
|
declare namespace shaka.extern.TextParser {
|
|
4955
5097
|
/**
|
|
4956
5098
|
* A collection of time offsets used to adjust text cue times.
|
|
4957
5099
|
*/
|
|
4958
5100
|
type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number , vttOffset : number } ;
|
|
4959
5101
|
}
|
|
4960
|
-
// Generated from /home/
|
|
5102
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/text.js
|
|
4961
5103
|
declare namespace shaka.extern {
|
|
4962
5104
|
type TextParserPlugin = ( ) => shaka.extern.TextParser ;
|
|
4963
5105
|
}
|
|
4964
|
-
// Generated from /home/
|
|
5106
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
4965
5107
|
declare namespace shaka.extern {
|
|
4966
5108
|
/**
|
|
4967
5109
|
* An interface for transmuxer plugins.
|
|
@@ -4990,18 +5132,18 @@ declare namespace shaka.extern {
|
|
|
4990
5132
|
transmux (data : ArrayBuffer | ArrayBufferView , stream : shaka.extern.Stream , reference : shaka.media.SegmentReference | null , duration : number , contentType : string ) : Promise < Uint8Array > ;
|
|
4991
5133
|
}
|
|
4992
5134
|
}
|
|
4993
|
-
// Generated from /home/
|
|
5135
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/shaka/transmuxer.js
|
|
4994
5136
|
declare namespace shaka.extern {
|
|
4995
5137
|
type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
|
|
4996
5138
|
}
|
|
4997
|
-
// Generated from /home/
|
|
5139
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/tippy.js
|
|
4998
5140
|
declare namespace ಠ_ಠ.clutz {
|
|
4999
5141
|
/**
|
|
5000
5142
|
* This is the subset of this method that we use in our demo code.
|
|
5001
5143
|
*/
|
|
5002
5144
|
function tippy (element : Element , config : object ) : any ;
|
|
5003
5145
|
}
|
|
5004
|
-
// Generated from /home/
|
|
5146
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5005
5147
|
declare namespace ಠ_ಠ.clutz {
|
|
5006
5148
|
class WebKitMediaKeyError {
|
|
5007
5149
|
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
@@ -5015,7 +5157,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
5015
5157
|
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
5016
5158
|
}
|
|
5017
5159
|
}
|
|
5018
|
-
// Generated from /home/
|
|
5160
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5019
5161
|
declare namespace ಠ_ಠ.clutz {
|
|
5020
5162
|
interface WebKitMediaKeySession extends EventTarget {
|
|
5021
5163
|
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
@@ -5027,7 +5169,7 @@ declare namespace ಠ_ಠ.clutz {
|
|
|
5027
5169
|
update (message : Uint8Array | null ) : any ;
|
|
5028
5170
|
}
|
|
5029
5171
|
}
|
|
5030
|
-
// Generated from /home/
|
|
5172
|
+
// Generated from /home/joey/hacking/work/shaka-player-clean/externs/webkitmediakeys.js
|
|
5031
5173
|
declare namespace ಠ_ಠ.clutz {
|
|
5032
5174
|
class WebKitMediaKeys {
|
|
5033
5175
|
private noStructuralTyping_WebKitMediaKeys : any;
|