shaka-player 4.9.11 → 4.10.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/README.md +4 -0
- package/dist/controls.css +2 -2
- package/dist/controls.css.map +1 -1
- package/dist/deps.js +24 -19
- package/dist/locales.js +43 -32
- package/dist/shaka-player.compiled.d.ts +299 -709
- package/dist/shaka-player.compiled.debug.d.ts +299 -709
- package/dist/shaka-player.compiled.debug.externs.js +443 -6
- package/dist/shaka-player.compiled.debug.js +657 -562
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +443 -6
- package/dist/shaka-player.compiled.js +1322 -1267
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +314 -710
- package/dist/shaka-player.ui.debug.d.ts +314 -710
- package/dist/shaka-player.ui.debug.externs.js +477 -18
- package/dist/shaka-player.ui.debug.js +805 -687
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +477 -18
- package/dist/shaka-player.ui.js +1594 -1527
- package/dist/shaka-player.ui.map +4 -4
- package/externs/shaka/ads.js +21 -1
- package/externs/shaka/manifest.js +20 -1
- package/externs/shaka/manifest_parser.js +18 -1
- package/externs/shaka/player.js +164 -50
- package/lib/abr/simple_abr_manager.js +2 -2
- package/lib/ads/ad_manager.js +225 -10
- package/lib/ads/ad_utils.js +323 -0
- package/lib/ads/ads_stats.js +24 -0
- package/lib/ads/client_side_ad_manager.js +42 -34
- package/lib/ads/interstitial_ad.js +292 -0
- package/lib/ads/interstitial_ad_manager.js +772 -0
- package/lib/ads/media_tailor_ad_manager.js +19 -22
- package/lib/ads/server_side_ad_manager.js +12 -15
- package/lib/cast/cast_utils.js +1 -0
- package/lib/cea/cea_utils.js +12 -0
- package/lib/cea/mp4_cea_parser.js +17 -0
- package/lib/dash/dash_parser.js +81 -28
- package/lib/dash/segment_base.js +3 -0
- package/lib/hls/hls_parser.js +429 -121
- package/lib/hls/manifest_text_parser.js +1 -0
- package/lib/media/adaptation_set_criteria.js +31 -1
- package/lib/media/drm_engine.js +16 -2
- package/lib/media/manifest_filterer.js +7 -5
- package/lib/media/preload_manager.js +8 -10
- package/lib/media/presentation_timeline.js +24 -0
- package/lib/media/quality_observer.js +68 -2
- package/lib/media/segment_reference.js +1 -1
- package/lib/media/segment_utils.js +33 -1
- package/lib/media/streaming_engine.js +124 -44
- package/lib/mss/mss_parser.js +13 -2
- package/lib/net/networking_engine.js +1 -0
- package/lib/offline/manifest_converter.js +3 -0
- package/lib/offline/offline_manifest_parser.js +5 -0
- package/lib/offline/storage.js +2 -0
- package/lib/player.js +500 -167
- package/lib/util/fake_event.js +1 -0
- package/lib/util/manifest_parser_utils.js +9 -2
- package/lib/util/mp4_box_parsers.js +32 -0
- package/lib/util/player_configuration.js +21 -9
- package/lib/util/stats.js +43 -0
- package/package.json +1 -1
- package/shaka-player.uncompiled.js +2 -0
- package/ui/ad_counter.js +3 -3
- package/ui/ad_position.js +3 -3
- package/ui/ad_statistics_button.js +237 -0
- package/ui/audio_language_selection.js +8 -4
- package/ui/controls.js +6 -3
- package/ui/element.js +3 -3
- package/ui/enums.js +1 -0
- package/ui/externs/ui.js +3 -0
- package/ui/language_utils.js +48 -3
- package/ui/less/containers.less +32 -0
- package/ui/less/thumbnails.less +13 -0
- package/ui/locales/en.json +2 -0
- package/ui/locales/es-419.json +2 -0
- package/ui/locales/es.json +3 -0
- package/ui/locales/fr.json +1 -0
- package/ui/locales/pl.json +1 -0
- package/ui/locales/pt-BR.json +1 -0
- package/ui/locales/pt-PT.json +1 -0
- package/ui/locales/source.json +8 -0
- package/ui/mute_button.js +4 -4
- package/ui/overflow_menu.js +3 -3
- package/ui/play_button.js +5 -7
- package/ui/presentation_time.js +3 -3
- package/ui/save_video_frame_button.js +196 -0
- package/ui/seek_bar.js +75 -20
- package/ui/skip_ad_button.js +4 -4
- package/ui/statistics_button.js +14 -2
- package/ui/ui.js +15 -0
- package/ui/volume_bar.js +4 -4
|
@@ -73,6 +73,10 @@ declare namespace shaka {
|
|
|
73
73
|
* After destruction, a Player object cannot be used again.
|
|
74
74
|
*/
|
|
75
75
|
destroy ( ) : Promise < any > ;
|
|
76
|
+
/**
|
|
77
|
+
* Calls |destroy| on each PreloadManager object this player has created.
|
|
78
|
+
*/
|
|
79
|
+
destroyAllPreloads ( ) : any ;
|
|
76
80
|
/**
|
|
77
81
|
* Detach the player from the current media element. Leaves the player in a
|
|
78
82
|
* state where it cannot play media, until it has been attached to something
|
|
@@ -87,7 +91,7 @@ declare namespace shaka {
|
|
|
87
91
|
* Leaves the player in a state where it cannot play media, until it has been
|
|
88
92
|
* attached to something else.
|
|
89
93
|
*/
|
|
90
|
-
detachAndSavePreload (keepAdManager ? : boolean ) : Promise < shaka.media.PreloadManager | null > ;
|
|
94
|
+
detachAndSavePreload (keepAdManager ? : boolean , saveLivePosition ? : boolean ) : Promise < shaka.media.PreloadManager | null > ;
|
|
91
95
|
/**
|
|
92
96
|
* Get the drm info used to initialize EME. If EME is not being used, this
|
|
93
97
|
* will return <code>null</code>. If the player is idle or has not initialized
|
|
@@ -274,6 +278,10 @@ declare namespace shaka {
|
|
|
274
278
|
* return <code>false</code>.
|
|
275
279
|
*/
|
|
276
280
|
isBuffering ( ) : boolean ;
|
|
281
|
+
/**
|
|
282
|
+
* Indicates if the player has fully loaded the stream.
|
|
283
|
+
*/
|
|
284
|
+
isFullyLoaded ( ) : boolean ;
|
|
277
285
|
/**
|
|
278
286
|
* Get if the player is playing in-progress content. If the player has not
|
|
279
287
|
* loaded content, this will return <code>false</code>.
|
|
@@ -347,7 +355,7 @@ declare namespace shaka {
|
|
|
347
355
|
* language, role and channel count, and chooses a new variant if need be.
|
|
348
356
|
* If the player has not loaded any content, this will be a no-op.
|
|
349
357
|
*/
|
|
350
|
-
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number ) : any ;
|
|
358
|
+
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number , codec ? : string ) : any ;
|
|
351
359
|
/**
|
|
352
360
|
* Sets the current text language and current text role to the selected
|
|
353
361
|
* language and role, and chooses a new variant if need be. If the player has
|
|
@@ -523,147 +531,197 @@ declare namespace shaka.ads {
|
|
|
523
531
|
getServerSideCuePoints ( ) : shaka.extern.AdCuePoint [] ;
|
|
524
532
|
getStats ( ) : shaka.extern.AdsStats ;
|
|
525
533
|
initClientSide (adContainer : any , video : any , adsRenderingSettings : any ) : any ;
|
|
534
|
+
initInterstitial (adContainer : any , basePlayer : any , baseVideo : any ) : any ;
|
|
526
535
|
initMediaTailor (adContainer : any , networkingEngine : any , video : any ) : any ;
|
|
527
536
|
initServerSide (adContainer : any , video : any ) : any ;
|
|
528
537
|
onAssetUnload ( ) : any ;
|
|
529
538
|
onCueMetadataChange (value : any ) : any ;
|
|
530
539
|
onDashTimedMetadata (region : any ) : any ;
|
|
531
540
|
onHlsTimedMetadata (metadata : any , timestamp : any ) : any ;
|
|
541
|
+
onInterstitialMetadata (basePlayer : any , baseVideo : any , interstitial : any ) : any ;
|
|
532
542
|
onManifestUpdated (isLive : any ) : any ;
|
|
533
543
|
release ( ) : any ;
|
|
534
544
|
replaceServerSideAdTagParameters (adTagParameters : any ) : any ;
|
|
535
545
|
requestClientSideAds (imaRequest : any ) : any ;
|
|
536
546
|
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
537
|
-
requestServerSideStream (imaRequest :
|
|
547
|
+
requestServerSideStream (imaRequest : any , backupUrl ? : string ) : Promise < string > ;
|
|
538
548
|
setLocale (locale : any ) : any ;
|
|
539
549
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : any ) : any ;
|
|
540
550
|
/**
|
|
541
551
|
* The event name for when a sequence of ads has been loaded.
|
|
552
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
542
553
|
*/
|
|
543
554
|
static ADS_LOADED : string ;
|
|
544
555
|
/**
|
|
545
556
|
* The event name for when the client side SDK signalled its readiness
|
|
546
557
|
* to play a VPAID ad or an ad rule.
|
|
558
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
547
559
|
*/
|
|
548
560
|
static AD_BREAK_READY : string ;
|
|
549
561
|
/**
|
|
550
562
|
* The event name for when the ad is buffering.
|
|
563
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
551
564
|
*/
|
|
552
565
|
static AD_BUFFERING : string ;
|
|
553
566
|
/**
|
|
554
567
|
* The event name for when the ad was clicked.
|
|
568
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
555
569
|
*/
|
|
556
570
|
static AD_CLICKED : string ;
|
|
557
571
|
/**
|
|
558
572
|
* The event name for when the ad was closed by the user.
|
|
573
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
559
574
|
*/
|
|
560
575
|
static AD_CLOSED : string ;
|
|
561
576
|
/**
|
|
562
577
|
* The event name for when an ad has completed playing.
|
|
578
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
563
579
|
*/
|
|
564
580
|
static AD_COMPLETE : string ;
|
|
581
|
+
/**
|
|
582
|
+
* The name of the event for when an ad requires the video of the main content
|
|
583
|
+
* to be attached.
|
|
584
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
585
|
+
*/
|
|
586
|
+
static AD_CONTENT_ATTACH_REQUESTED : string ;
|
|
587
|
+
/**
|
|
588
|
+
* The name of the event for when an ad requires the main content to be paused.
|
|
589
|
+
* Fired when the platform does not support multiple media elements.
|
|
590
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
591
|
+
*/
|
|
592
|
+
static AD_CONTENT_PAUSE_REQUESTED : string ;
|
|
593
|
+
/**
|
|
594
|
+
* The name of the event for when an ad requires the main content to be resumed.
|
|
595
|
+
* Fired when the platform does not support multiple media elements.
|
|
596
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
597
|
+
*/
|
|
598
|
+
static AD_CONTENT_RESUME_REQUESTED : string ;
|
|
565
599
|
/**
|
|
566
600
|
* The event name for when the ad's duration changed.
|
|
601
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
567
602
|
*/
|
|
568
603
|
static AD_DURATION_CHANGED : string ;
|
|
569
604
|
/**
|
|
570
605
|
* The event name for when the ad manager dispatch errors.
|
|
606
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
571
607
|
*/
|
|
572
608
|
static AD_ERROR : string ;
|
|
573
609
|
/**
|
|
574
610
|
* The event name for when an ad playhead crosses first quartile.
|
|
611
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
575
612
|
*/
|
|
576
613
|
static AD_FIRST_QUARTILE : string ;
|
|
577
614
|
/**
|
|
578
615
|
* The event name for when the ad's URL was hit.
|
|
616
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
579
617
|
*/
|
|
580
618
|
static AD_IMPRESSION : string ;
|
|
581
619
|
/**
|
|
582
620
|
* The event name for when the interaction callback for the ad was
|
|
583
621
|
* triggered.
|
|
622
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
584
623
|
*/
|
|
585
624
|
static AD_INTERACTION : string ;
|
|
586
625
|
/**
|
|
587
626
|
* The event name for when the ad changes from or to linear.
|
|
627
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
588
628
|
*/
|
|
589
629
|
static AD_LINEAR_CHANGED : string ;
|
|
590
630
|
/**
|
|
591
631
|
* The event name for when the ad data becomes available.
|
|
632
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
592
633
|
*/
|
|
593
634
|
static AD_LOADED : string ;
|
|
594
635
|
/**
|
|
595
636
|
* The event name for when the ad's metadata becomes available.
|
|
637
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
596
638
|
*/
|
|
597
639
|
static AD_METADATA : string ;
|
|
598
640
|
/**
|
|
599
641
|
* The event name for when an ad playhead crosses midpoint.
|
|
642
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
600
643
|
*/
|
|
601
644
|
static AD_MIDPOINT : string ;
|
|
602
645
|
/**
|
|
603
646
|
* The event name for when the ad was muted.
|
|
647
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
604
648
|
*/
|
|
605
649
|
static AD_MUTED : string ;
|
|
606
650
|
/**
|
|
607
651
|
* The event name for when the ad was paused.
|
|
652
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
608
653
|
*/
|
|
609
654
|
static AD_PAUSED : string ;
|
|
610
655
|
/**
|
|
611
656
|
* The event name for when there is an update to the current ad's progress.
|
|
657
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
612
658
|
*/
|
|
613
659
|
static AD_PROGRESS : string ;
|
|
614
660
|
/**
|
|
615
661
|
* The event name for when the ad display encountered a recoverable
|
|
616
662
|
* error.
|
|
663
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
617
664
|
*/
|
|
618
665
|
static AD_RECOVERABLE_ERROR : string ;
|
|
619
666
|
/**
|
|
620
667
|
* The event name for when the ad was resumed after a pause.
|
|
668
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
621
669
|
*/
|
|
622
670
|
static AD_RESUMED : string ;
|
|
623
671
|
/**
|
|
624
|
-
* The event name for when an ad is skipped by the user
|
|
672
|
+
* The event name for when an ad is skipped by the user.
|
|
673
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
625
674
|
*/
|
|
626
675
|
static AD_SKIPPED : string ;
|
|
627
676
|
/**
|
|
628
677
|
* The event name for when the ad's skip status changes
|
|
629
678
|
* (usually it becomes skippable when it wasn't before).
|
|
679
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
630
680
|
*/
|
|
631
681
|
static AD_SKIP_STATE_CHANGED : string ;
|
|
632
682
|
/**
|
|
633
683
|
* The event name for when an ad has started playing.
|
|
684
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
634
685
|
*/
|
|
635
686
|
static AD_STARTED : string ;
|
|
636
687
|
/**
|
|
637
688
|
* The event name for when an ad has finished playing
|
|
638
689
|
* (played all the way through, was skipped, or was unable to proceed
|
|
639
690
|
* due to an error).
|
|
691
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
640
692
|
*/
|
|
641
693
|
static AD_STOPPED : string ;
|
|
642
694
|
/**
|
|
643
695
|
* The event name for when an ad playhead crosses third quartile.
|
|
696
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
644
697
|
*/
|
|
645
698
|
static AD_THIRD_QUARTILE : string ;
|
|
646
699
|
/**
|
|
647
700
|
* The event name for when the ad volume has changed.
|
|
701
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
648
702
|
*/
|
|
649
703
|
static AD_VOLUME_CHANGED : string ;
|
|
650
704
|
/**
|
|
651
705
|
* The event name for when all the ads were completed.
|
|
706
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
652
707
|
*/
|
|
653
708
|
static ALL_ADS_COMPLETED : string ;
|
|
654
709
|
/**
|
|
655
710
|
* The event name for when the ad's cue points (start/end markers)
|
|
656
711
|
* have changed.
|
|
712
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
657
713
|
*/
|
|
658
714
|
static CUEPOINTS_CHANGED : string ;
|
|
659
715
|
/**
|
|
660
716
|
* The event name for when the native IMA ad manager object has
|
|
661
717
|
* loaded and become available.
|
|
718
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
662
719
|
*/
|
|
663
720
|
static IMA_AD_MANAGER_LOADED : string ;
|
|
664
721
|
/**
|
|
665
722
|
* The event name for when the native IMA stream manager object has
|
|
666
723
|
* loaded and become available.
|
|
724
|
+
* Deprecated, please use {@link shaka.ads.Utils}
|
|
667
725
|
*/
|
|
668
726
|
static IMA_STREAM_MANAGER_LOADED : string ;
|
|
669
727
|
}
|
|
@@ -672,7 +730,44 @@ declare namespace shaka.ads {
|
|
|
672
730
|
declare namespace shaka.ads {
|
|
673
731
|
class ClientSideAd implements shaka.extern.IAd {
|
|
674
732
|
private noStructuralTyping_shaka_ads_ClientSideAd : any;
|
|
675
|
-
constructor (imaAd :
|
|
733
|
+
constructor (imaAd : any , imaAdManager : any , video : HTMLMediaElement | null ) ;
|
|
734
|
+
canSkipNow ( ) : any ;
|
|
735
|
+
getAdId ( ) : any ;
|
|
736
|
+
getAdvertiserName ( ) : any ;
|
|
737
|
+
getCreativeAdId ( ) : any ;
|
|
738
|
+
getDescription ( ) : any ;
|
|
739
|
+
getDuration ( ) : any ;
|
|
740
|
+
getMediaUrl ( ) : any ;
|
|
741
|
+
getMinSuggestedDuration ( ) : any ;
|
|
742
|
+
getPodIndex ( ) : any ;
|
|
743
|
+
getPositionInSequence ( ) : any ;
|
|
744
|
+
getRemainingTime ( ) : any ;
|
|
745
|
+
getSequenceLength ( ) : any ;
|
|
746
|
+
getTimeOffset ( ) : any ;
|
|
747
|
+
getTimeUntilSkippable ( ) : any ;
|
|
748
|
+
getTitle ( ) : any ;
|
|
749
|
+
getVastMediaBitrate ( ) : any ;
|
|
750
|
+
getVastMediaHeight ( ) : any ;
|
|
751
|
+
getVastMediaWidth ( ) : any ;
|
|
752
|
+
getVolume ( ) : any ;
|
|
753
|
+
isLinear ( ) : any ;
|
|
754
|
+
isMuted ( ) : any ;
|
|
755
|
+
isPaused ( ) : any ;
|
|
756
|
+
isSkippable ( ) : any ;
|
|
757
|
+
pause ( ) : any ;
|
|
758
|
+
play ( ) : any ;
|
|
759
|
+
release ( ) : any ;
|
|
760
|
+
resize (width : any , height : any ) : any ;
|
|
761
|
+
setMuted (muted : any ) : any ;
|
|
762
|
+
setVolume (volume : any ) : any ;
|
|
763
|
+
skip ( ) : any ;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
|
|
767
|
+
declare namespace shaka.ads {
|
|
768
|
+
class InterstitialAd implements shaka.extern.IAd {
|
|
769
|
+
private noStructuralTyping_shaka_ads_InterstitialAd : any;
|
|
770
|
+
constructor (video : HTMLMediaElement | null , isSkippable : boolean , onSkip : ( ) => any , sequenceLength : number , adPosition : number ) ;
|
|
676
771
|
canSkipNow ( ) : any ;
|
|
677
772
|
getAdId ( ) : any ;
|
|
678
773
|
getAdvertiserName ( ) : any ;
|
|
@@ -709,7 +804,7 @@ declare namespace shaka.ads {
|
|
|
709
804
|
declare namespace shaka.ads {
|
|
710
805
|
class MediaTailorAd implements shaka.extern.IAd {
|
|
711
806
|
private noStructuralTyping_shaka_ads_MediaTailorAd : any;
|
|
712
|
-
constructor (mediaTailorAd :
|
|
807
|
+
constructor (mediaTailorAd : any | null , adPosition : number , totalAds : number , isLinear : any , video : HTMLMediaElement | null ) ;
|
|
713
808
|
canSkipNow ( ) : any ;
|
|
714
809
|
getAdId ( ) : any ;
|
|
715
810
|
getAdvertiserName ( ) : any ;
|
|
@@ -746,7 +841,7 @@ declare namespace shaka.ads {
|
|
|
746
841
|
declare namespace shaka.ads {
|
|
747
842
|
class ServerSideAd implements shaka.extern.IAd {
|
|
748
843
|
private noStructuralTyping_shaka_ads_ServerSideAd : any;
|
|
749
|
-
constructor (imaAd :
|
|
844
|
+
constructor (imaAd : any | null , video : HTMLMediaElement | null ) ;
|
|
750
845
|
canSkipNow ( ) : any ;
|
|
751
846
|
getAdId ( ) : any ;
|
|
752
847
|
getAdvertiserName ( ) : any ;
|
|
@@ -780,6 +875,159 @@ declare namespace shaka.ads {
|
|
|
780
875
|
}
|
|
781
876
|
}
|
|
782
877
|
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
|
|
878
|
+
declare namespace shaka.ads {
|
|
879
|
+
/**
|
|
880
|
+
* A class responsible for ad utils.
|
|
881
|
+
*/
|
|
882
|
+
class Utils {
|
|
883
|
+
private noStructuralTyping_shaka_ads_Utils : any;
|
|
884
|
+
/**
|
|
885
|
+
* The event name for when a sequence of ads has been loaded.
|
|
886
|
+
*/
|
|
887
|
+
static ADS_LOADED : string ;
|
|
888
|
+
/**
|
|
889
|
+
* The event name for when the client side SDK signalled its readiness
|
|
890
|
+
* to play a VPAID ad or an ad rule.
|
|
891
|
+
*/
|
|
892
|
+
static AD_BREAK_READY : string ;
|
|
893
|
+
/**
|
|
894
|
+
* The event name for when the ad is buffering.
|
|
895
|
+
*/
|
|
896
|
+
static AD_BUFFERING : string ;
|
|
897
|
+
/**
|
|
898
|
+
* The event name for when the ad was clicked.
|
|
899
|
+
*/
|
|
900
|
+
static AD_CLICKED : string ;
|
|
901
|
+
/**
|
|
902
|
+
* The event name for when the ad was closed by the user.
|
|
903
|
+
*/
|
|
904
|
+
static AD_CLOSED : string ;
|
|
905
|
+
/**
|
|
906
|
+
* The event name for when an ad has completed playing.
|
|
907
|
+
*/
|
|
908
|
+
static AD_COMPLETE : string ;
|
|
909
|
+
/**
|
|
910
|
+
* The name of the event for when an ad requires the video of the main content
|
|
911
|
+
* to be attached.
|
|
912
|
+
*/
|
|
913
|
+
static AD_CONTENT_ATTACH_REQUESTED : string ;
|
|
914
|
+
/**
|
|
915
|
+
* The name of the event for when an ad requires the main content to be paused.
|
|
916
|
+
* Fired when the platform does not support multiple media elements.
|
|
917
|
+
*/
|
|
918
|
+
static AD_CONTENT_PAUSE_REQUESTED : string ;
|
|
919
|
+
/**
|
|
920
|
+
* The name of the event for when an ad requires the main content to be resumed.
|
|
921
|
+
* Fired when the platform does not support multiple media elements.
|
|
922
|
+
*/
|
|
923
|
+
static AD_CONTENT_RESUME_REQUESTED : string ;
|
|
924
|
+
/**
|
|
925
|
+
* The event name for when the ad's duration changed.
|
|
926
|
+
*/
|
|
927
|
+
static AD_DURATION_CHANGED : string ;
|
|
928
|
+
/**
|
|
929
|
+
* The event name for when the ad manager dispatch errors.
|
|
930
|
+
*/
|
|
931
|
+
static AD_ERROR : string ;
|
|
932
|
+
/**
|
|
933
|
+
* The event name for when an ad playhead crosses first quartile.
|
|
934
|
+
*/
|
|
935
|
+
static AD_FIRST_QUARTILE : string ;
|
|
936
|
+
/**
|
|
937
|
+
* The event name for when the ad's URL was hit.
|
|
938
|
+
*/
|
|
939
|
+
static AD_IMPRESSION : string ;
|
|
940
|
+
/**
|
|
941
|
+
* The event name for when the interaction callback for the ad was
|
|
942
|
+
* triggered.
|
|
943
|
+
*/
|
|
944
|
+
static AD_INTERACTION : string ;
|
|
945
|
+
/**
|
|
946
|
+
* The event name for when the ad changes from or to linear.
|
|
947
|
+
*/
|
|
948
|
+
static AD_LINEAR_CHANGED : string ;
|
|
949
|
+
/**
|
|
950
|
+
* The event name for when the ad data becomes available.
|
|
951
|
+
*/
|
|
952
|
+
static AD_LOADED : string ;
|
|
953
|
+
/**
|
|
954
|
+
* The event name for when the ad's metadata becomes available.
|
|
955
|
+
*/
|
|
956
|
+
static AD_METADATA : string ;
|
|
957
|
+
/**
|
|
958
|
+
* The event name for when an ad playhead crosses midpoint.
|
|
959
|
+
*/
|
|
960
|
+
static AD_MIDPOINT : string ;
|
|
961
|
+
/**
|
|
962
|
+
* The event name for when the ad was muted.
|
|
963
|
+
*/
|
|
964
|
+
static AD_MUTED : string ;
|
|
965
|
+
/**
|
|
966
|
+
* The event name for when the ad was paused.
|
|
967
|
+
*/
|
|
968
|
+
static AD_PAUSED : string ;
|
|
969
|
+
/**
|
|
970
|
+
* The event name for when there is an update to the current ad's progress.
|
|
971
|
+
*/
|
|
972
|
+
static AD_PROGRESS : string ;
|
|
973
|
+
/**
|
|
974
|
+
* The event name for when the ad display encountered a recoverable
|
|
975
|
+
* error.
|
|
976
|
+
*/
|
|
977
|
+
static AD_RECOVERABLE_ERROR : string ;
|
|
978
|
+
/**
|
|
979
|
+
* The event name for when the ad was resumed after a pause.
|
|
980
|
+
*/
|
|
981
|
+
static AD_RESUMED : string ;
|
|
982
|
+
/**
|
|
983
|
+
* The event name for when an ad is skipped by the user..
|
|
984
|
+
*/
|
|
985
|
+
static AD_SKIPPED : string ;
|
|
986
|
+
/**
|
|
987
|
+
* The event name for when the ad's skip status changes
|
|
988
|
+
* (usually it becomes skippable when it wasn't before).
|
|
989
|
+
*/
|
|
990
|
+
static AD_SKIP_STATE_CHANGED : string ;
|
|
991
|
+
/**
|
|
992
|
+
* The event name for when an ad has started playing.
|
|
993
|
+
*/
|
|
994
|
+
static AD_STARTED : string ;
|
|
995
|
+
/**
|
|
996
|
+
* The event name for when an ad has finished playing
|
|
997
|
+
* (played all the way through, was skipped, or was unable to proceed
|
|
998
|
+
* due to an error).
|
|
999
|
+
*/
|
|
1000
|
+
static AD_STOPPED : string ;
|
|
1001
|
+
/**
|
|
1002
|
+
* The event name for when an ad playhead crosses third quartile.
|
|
1003
|
+
*/
|
|
1004
|
+
static AD_THIRD_QUARTILE : string ;
|
|
1005
|
+
/**
|
|
1006
|
+
* The event name for when the ad volume has changed.
|
|
1007
|
+
*/
|
|
1008
|
+
static AD_VOLUME_CHANGED : string ;
|
|
1009
|
+
/**
|
|
1010
|
+
* The event name for when all the ads were completed.
|
|
1011
|
+
*/
|
|
1012
|
+
static ALL_ADS_COMPLETED : string ;
|
|
1013
|
+
/**
|
|
1014
|
+
* The event name for when the ad's cue points (start/end markers)
|
|
1015
|
+
* have changed.
|
|
1016
|
+
*/
|
|
1017
|
+
static CUEPOINTS_CHANGED : string ;
|
|
1018
|
+
/**
|
|
1019
|
+
* The event name for when the native IMA ad manager object has
|
|
1020
|
+
* loaded and become available.
|
|
1021
|
+
*/
|
|
1022
|
+
static IMA_AD_MANAGER_LOADED : string ;
|
|
1023
|
+
/**
|
|
1024
|
+
* The event name for when the native IMA stream manager object has
|
|
1025
|
+
* loaded and become available.
|
|
1026
|
+
*/
|
|
1027
|
+
static IMA_STREAM_MANAGER_LOADED : string ;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
|
|
783
1031
|
declare namespace shaka.cast {
|
|
784
1032
|
class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
785
1033
|
private noStructuralTyping_shaka_cast_CastProxy : any;
|
|
@@ -933,6 +1181,7 @@ declare namespace shaka.dash {
|
|
|
933
1181
|
configure (config : any ) : any ;
|
|
934
1182
|
onExpirationUpdated (sessionId : any , expiration : any ) : any ;
|
|
935
1183
|
onInitialVariantChosen (variant : any ) : any ;
|
|
1184
|
+
setMediaElement (mediaElement : any ) : any ;
|
|
936
1185
|
start (uri : any , playerInterface : any ) : any ;
|
|
937
1186
|
stop ( ) : any ;
|
|
938
1187
|
update ( ) : any ;
|
|
@@ -973,6 +1222,7 @@ declare namespace shaka.hls {
|
|
|
973
1222
|
configure (config : any ) : any ;
|
|
974
1223
|
onExpirationUpdated (sessionId : any , expiration : any ) : any ;
|
|
975
1224
|
onInitialVariantChosen (variant : any ) : any ;
|
|
1225
|
+
setMediaElement (mediaElement : any ) : any ;
|
|
976
1226
|
start (uri : any , playerInterface : any ) : any ;
|
|
977
1227
|
stop ( ) : any ;
|
|
978
1228
|
update ( ) : any ;
|
|
@@ -1104,7 +1354,7 @@ declare namespace shaka.media {
|
|
|
1104
1354
|
declare namespace shaka.media {
|
|
1105
1355
|
class PreloadManager extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
|
|
1106
1356
|
private noStructuralTyping_shaka_media_PreloadManager : any;
|
|
1107
|
-
constructor (assetUri : string , mimeType : string | null ,
|
|
1357
|
+
constructor (assetUri : string , mimeType : string | null , startTime : number | null , playerInterface : any ) ;
|
|
1108
1358
|
/**
|
|
1109
1359
|
* Releases or stops all non-entrusted resources.
|
|
1110
1360
|
*/
|
|
@@ -1123,6 +1373,11 @@ declare namespace shaka.media {
|
|
|
1123
1373
|
class PresentationTimeline {
|
|
1124
1374
|
private noStructuralTyping_shaka_media_PresentationTimeline : any;
|
|
1125
1375
|
constructor (presentationStartTime : number | null , presentationDelay : number , autoCorrectDrift ? : boolean ) ;
|
|
1376
|
+
/**
|
|
1377
|
+
* Gets the presentation's segment availability time offset. This should be
|
|
1378
|
+
* only configured for Low Latency Dash.
|
|
1379
|
+
*/
|
|
1380
|
+
getAvailabilityTimeOffset ( ) : number ;
|
|
1126
1381
|
/**
|
|
1127
1382
|
* Gets the presentation delay in seconds.
|
|
1128
1383
|
*/
|
|
@@ -1130,6 +1385,10 @@ declare namespace shaka.media {
|
|
|
1130
1385
|
getDuration ( ) : number ;
|
|
1131
1386
|
getInitialProgramDateTime ( ) : number | null ;
|
|
1132
1387
|
getMaxSegmentDuration ( ) : number ;
|
|
1388
|
+
/**
|
|
1389
|
+
* Gets the end time of the last available segment.
|
|
1390
|
+
*/
|
|
1391
|
+
getMaxSegmentEndTime ( ) : number | null ;
|
|
1133
1392
|
getPresentationStartTime ( ) : number | null ;
|
|
1134
1393
|
/**
|
|
1135
1394
|
* Gets the seek range start time, offset by the given amount. This is used
|
|
@@ -1520,6 +1779,7 @@ declare namespace shaka.mss {
|
|
|
1520
1779
|
configure (config : any ) : any ;
|
|
1521
1780
|
onExpirationUpdated (sessionId : any , expiration : any ) : any ;
|
|
1522
1781
|
onInitialVariantChosen (variant : any ) : any ;
|
|
1782
|
+
setMediaElement (mediaElement : HTMLMediaElement | null ) : any ;
|
|
1523
1783
|
start (uri : any , playerInterface : any ) : any ;
|
|
1524
1784
|
stop ( ) : any ;
|
|
1525
1785
|
update ( ) : any ;
|
|
@@ -1644,6 +1904,7 @@ declare namespace shaka.net.NetworkingEngine {
|
|
|
1644
1904
|
MEDIA_PLAYLIST = 2.0 ,
|
|
1645
1905
|
MEDIA_SEGMENT = 1.0 ,
|
|
1646
1906
|
MPD = 4.0 ,
|
|
1907
|
+
MPD_PATCH = 6.0 ,
|
|
1647
1908
|
MSS = 5.0 ,
|
|
1648
1909
|
}
|
|
1649
1910
|
}
|
|
@@ -3735,629 +3996,6 @@ declare namespace shaka.util {
|
|
|
3735
3996
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
3736
3997
|
}
|
|
3737
3998
|
}
|
|
3738
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/airplay.js
|
|
3739
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3740
|
-
class AirPlayEvent extends Event {
|
|
3741
|
-
private noStructuralTyping_AirPlayEvent : any;
|
|
3742
|
-
constructor ( ...a : any [] ) ;
|
|
3743
|
-
availability : String | null ;
|
|
3744
|
-
}
|
|
3745
|
-
}
|
|
3746
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/awesomplete.js
|
|
3747
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3748
|
-
class Awesomplete {
|
|
3749
|
-
private noStructuralTyping_Awesomplete : any;
|
|
3750
|
-
constructor (input : Element ) ;
|
|
3751
|
-
list : string [] ;
|
|
3752
|
-
minChars : number ;
|
|
3753
|
-
evaluate ( ) : any ;
|
|
3754
|
-
}
|
|
3755
|
-
}
|
|
3756
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3757
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3758
|
-
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
3759
|
-
}
|
|
3760
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3761
|
-
declare namespace cast.receiver {
|
|
3762
|
-
class CastChannel {
|
|
3763
|
-
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
3764
|
-
send (message : any ) : any ;
|
|
3765
|
-
}
|
|
3766
|
-
}
|
|
3767
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3768
|
-
declare namespace cast.receiver {
|
|
3769
|
-
class CastMessageBus {
|
|
3770
|
-
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
3771
|
-
broadcast (message : any ) : any ;
|
|
3772
|
-
getCastChannel (senderId : string ) : cast.receiver.CastChannel ;
|
|
3773
|
-
onMessage : Function | null ;
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3777
|
-
declare namespace cast.receiver.CastMessageBus {
|
|
3778
|
-
class Event {
|
|
3779
|
-
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
3780
|
-
data : any ;
|
|
3781
|
-
senderId : string ;
|
|
3782
|
-
}
|
|
3783
|
-
}
|
|
3784
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3785
|
-
declare namespace cast.receiver {
|
|
3786
|
-
class CastReceiverManager {
|
|
3787
|
-
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
3788
|
-
onSenderConnected : Function | null ;
|
|
3789
|
-
onSenderDisconnected : Function | null ;
|
|
3790
|
-
onSystemVolumeChanged : Function | null ;
|
|
3791
|
-
getCastMessageBus (namespace : string , messageType ? : string ) : cast.receiver.CastMessageBus | null ;
|
|
3792
|
-
getSenders ( ) : string [] | null ;
|
|
3793
|
-
getSystemVolume ( ) : cast.receiver.system.SystemVolumeData | null ;
|
|
3794
|
-
isSystemReady ( ) : boolean ;
|
|
3795
|
-
setSystemVolumeLevel (level : number ) : any ;
|
|
3796
|
-
setSystemVolumeMuted (muted : number ) : any ;
|
|
3797
|
-
start ( ) : any ;
|
|
3798
|
-
stop ( ) : any ;
|
|
3799
|
-
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
3800
|
-
}
|
|
3801
|
-
}
|
|
3802
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3803
|
-
declare namespace cast.receiver.media {
|
|
3804
|
-
enum MetadataType {
|
|
3805
|
-
GENERIC = 0.0 ,
|
|
3806
|
-
MOVIE = 1.0 ,
|
|
3807
|
-
MUSIC_TRACK = 3.0 ,
|
|
3808
|
-
PHOTO = 4.0 ,
|
|
3809
|
-
TV_SHOW = 2.0 ,
|
|
3810
|
-
}
|
|
3811
|
-
}
|
|
3812
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3813
|
-
declare namespace cast.receiver.system {
|
|
3814
|
-
class SystemVolumeData {
|
|
3815
|
-
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
3816
|
-
level : number ;
|
|
3817
|
-
muted : boolean ;
|
|
3818
|
-
}
|
|
3819
|
-
}
|
|
3820
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3821
|
-
declare namespace chrome.cast {
|
|
3822
|
-
class ApiConfig {
|
|
3823
|
-
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
3824
|
-
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
3825
|
-
}
|
|
3826
|
-
}
|
|
3827
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3828
|
-
declare namespace chrome.cast {
|
|
3829
|
-
class Error {
|
|
3830
|
-
private noStructuralTyping_chrome_cast_Error : any;
|
|
3831
|
-
constructor (code : string , description ? : string , details ? : object | null ) ;
|
|
3832
|
-
code : string ;
|
|
3833
|
-
description : string | null ;
|
|
3834
|
-
details : object | null ;
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3837
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3838
|
-
declare namespace chrome.cast {
|
|
3839
|
-
class Receiver {
|
|
3840
|
-
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
3841
|
-
friendlyName : string ;
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3845
|
-
declare namespace chrome.cast {
|
|
3846
|
-
class Session {
|
|
3847
|
-
private noStructuralTyping_chrome_cast_Session : any;
|
|
3848
|
-
receiver : chrome.cast.Receiver | null ;
|
|
3849
|
-
sessionId : string ;
|
|
3850
|
-
status : string ;
|
|
3851
|
-
addMessageListener (namespace : string , listener : Function | null ) : any ;
|
|
3852
|
-
addUpdateListener (listener : Function | null ) : any ;
|
|
3853
|
-
leave (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3854
|
-
removeMessageListener (namespace : string , listener : Function | null ) : any ;
|
|
3855
|
-
removeUpdateListener (listener : Function | null ) : any ;
|
|
3856
|
-
sendMessage (namespace : string , message : object | string , successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3857
|
-
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3858
|
-
}
|
|
3859
|
-
}
|
|
3860
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3861
|
-
declare namespace chrome.cast {
|
|
3862
|
-
class SessionRequest {
|
|
3863
|
-
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
3864
|
-
constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
|
|
3865
|
-
}
|
|
3866
|
-
}
|
|
3867
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3868
|
-
declare namespace chrome.cast.SessionStatus {
|
|
3869
|
-
let STOPPED : string ;
|
|
3870
|
-
}
|
|
3871
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3872
|
-
declare namespace chrome.cast {
|
|
3873
|
-
let isAvailable : boolean ;
|
|
3874
|
-
}
|
|
3875
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v3.js
|
|
3876
|
-
declare namespace cast.framework {
|
|
3877
|
-
class CastReceiverContext {
|
|
3878
|
-
private noStructuralTyping_cast_framework_CastReceiverContext : any;
|
|
3879
|
-
start (options : cast.framework.CastReceiverOptions ) : cast.framework.CastReceiverContext ;
|
|
3880
|
-
static getInstance ( ) : cast.framework.CastReceiverContext ;
|
|
3881
|
-
}
|
|
3882
|
-
}
|
|
3883
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v3.js
|
|
3884
|
-
declare namespace cast.framework {
|
|
3885
|
-
type CastReceiverOptions = { disableIdleTimeout : boolean , skipPlayersLoad : boolean , statusText : string } ;
|
|
3886
|
-
}
|
|
3887
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cmcd.js
|
|
3888
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3889
|
-
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 } ;
|
|
3890
|
-
}
|
|
3891
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/hisense.js
|
|
3892
|
-
declare namespace window {
|
|
3893
|
-
function Hisense_Get4KSupportState ( ) : boolean ;
|
|
3894
|
-
}
|
|
3895
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3896
|
-
declare namespace google.ima.AdErrorEvent {
|
|
3897
|
-
enum Type {
|
|
3898
|
-
AD_ERROR = 'AD_ERROR' ,
|
|
3899
|
-
}
|
|
3900
|
-
}
|
|
3901
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3902
|
-
declare namespace google.ima.AdEvent {
|
|
3903
|
-
enum Type {
|
|
3904
|
-
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
3905
|
-
AD_BUFFERING = 'AD_BUFFERING' ,
|
|
3906
|
-
AD_ERROR = 'AD_ERROR' ,
|
|
3907
|
-
AD_METADATA = 'AD_METADATA' ,
|
|
3908
|
-
AD_PROGRESS = 'AD_PROGRESS' ,
|
|
3909
|
-
ALL_ADS_COMPLETED = 'ALL_ADS_COMPLETED' ,
|
|
3910
|
-
CLICK = 'CLICK' ,
|
|
3911
|
-
COMPLETE = 'COMPLETE' ,
|
|
3912
|
-
CONTENT_PAUSE_REQUESTED = 'CONTENT_PAUSE_REQUESTED' ,
|
|
3913
|
-
CONTENT_RESUME_REQUESTED = 'CONTENT_RESUME_REQUESTED' ,
|
|
3914
|
-
DURATION_CHANGE = 'DURATION_CHANGE' ,
|
|
3915
|
-
FIRST_QUARTILE = 'FIRST_QUARTILE' ,
|
|
3916
|
-
IMPRESSION = 'IMPRESSION' ,
|
|
3917
|
-
INTERACTION = 'INTERACTION' ,
|
|
3918
|
-
LINEAR_CHANGED = 'LINEAR_CHANGED' ,
|
|
3919
|
-
LOADED = 'LOADED' ,
|
|
3920
|
-
LOG = 'LOG' ,
|
|
3921
|
-
MIDPOINT = 'MIDPOINT' ,
|
|
3922
|
-
PAUSED = 'PAUSED' ,
|
|
3923
|
-
RESUMED = 'RESUMED' ,
|
|
3924
|
-
SKIPPABLE_STATE_CHANGED = 'SKIPPABLE_STATE_CHANGED' ,
|
|
3925
|
-
SKIPPED = 'SKIPPED' ,
|
|
3926
|
-
STARTED = 'STARTED' ,
|
|
3927
|
-
THIRD_QUARTILE = 'THIRD_QUARTILE' ,
|
|
3928
|
-
USER_CLOSE = 'USER_CLOSE' ,
|
|
3929
|
-
VOLUME_CHANGED = 'VOLUME_CHANGED' ,
|
|
3930
|
-
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
3931
|
-
}
|
|
3932
|
-
}
|
|
3933
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3934
|
-
declare namespace google.ima {
|
|
3935
|
-
class AdsLoader implements EventTarget {
|
|
3936
|
-
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
3937
|
-
constructor (container : google.ima.AdDisplayContainer ) ;
|
|
3938
|
-
addEventListener ( ) : any ;
|
|
3939
|
-
contentComplete ( ) : any ;
|
|
3940
|
-
destroy ( ) : any ;
|
|
3941
|
-
dispatchEvent ( ) : any ;
|
|
3942
|
-
getSettings ( ) : google.ima.ImaSdkSettings | null ;
|
|
3943
|
-
removeEventListener ( ) : any ;
|
|
3944
|
-
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
3945
|
-
}
|
|
3946
|
-
}
|
|
3947
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3948
|
-
declare namespace google.ima {
|
|
3949
|
-
class AdsManager implements EventTarget {
|
|
3950
|
-
private noStructuralTyping_google_ima_AdsManager : any;
|
|
3951
|
-
addEventListener ( ) : any ;
|
|
3952
|
-
destroy ( ) : any ;
|
|
3953
|
-
dispatchEvent ( ) : any ;
|
|
3954
|
-
getAdSkippableState ( ) : boolean ;
|
|
3955
|
-
getCuePoints ( ) : number [] ;
|
|
3956
|
-
getRemainingTime ( ) : number ;
|
|
3957
|
-
getVolume ( ) : any ;
|
|
3958
|
-
init (width : number , height : number , viewMode : google.ima.ViewMode ) : any ;
|
|
3959
|
-
pause ( ) : any ;
|
|
3960
|
-
removeEventListener ( ) : any ;
|
|
3961
|
-
resize (width : number , height : number , viewMode : google.ima.ViewMode ) : any ;
|
|
3962
|
-
resume ( ) : any ;
|
|
3963
|
-
setVolume (volume : number ) : any ;
|
|
3964
|
-
skip ( ) : any ;
|
|
3965
|
-
start ( ) : any ;
|
|
3966
|
-
stop ( ) : any ;
|
|
3967
|
-
updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
3968
|
-
}
|
|
3969
|
-
}
|
|
3970
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3971
|
-
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
3972
|
-
enum Type {
|
|
3973
|
-
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
3974
|
-
}
|
|
3975
|
-
}
|
|
3976
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3977
|
-
declare namespace google.ima {
|
|
3978
|
-
type AdsRenderingSettings = { autoAlign : boolean , bitrate : number , enablePreloading : boolean , loadVideoTimeout : number , mimeTypes : string [] | null , playAdsAfterTime : number , restoreCustomPlaybackStateOnAdBreakComplete : boolean , uiElements : string [] | null , useStyledLinearAds : boolean , useStyledNonLinearAds : boolean } ;
|
|
3979
|
-
}
|
|
3980
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3981
|
-
declare namespace google.ima {
|
|
3982
|
-
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
3983
|
-
}
|
|
3984
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3985
|
-
declare namespace google.ima.ImaSdkSettings {
|
|
3986
|
-
enum VpaidMode {
|
|
3987
|
-
DISABLED = 0.0 ,
|
|
3988
|
-
ENABLED = 1.0 ,
|
|
3989
|
-
INSECURE = 2.0 ,
|
|
3990
|
-
}
|
|
3991
|
-
}
|
|
3992
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3993
|
-
declare namespace google.ima {
|
|
3994
|
-
enum ViewMode {
|
|
3995
|
-
FULLSCREEN = 'FULLSCREEN' ,
|
|
3996
|
-
NORMAL = 'NORMAL' ,
|
|
3997
|
-
}
|
|
3998
|
-
}
|
|
3999
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4000
|
-
declare namespace google.ima.dai.api {
|
|
4001
|
-
enum OmidAccessMode {
|
|
4002
|
-
DOMAIN = 'domain' ,
|
|
4003
|
-
FULL = 'full' ,
|
|
4004
|
-
LIMITED = 'limited' ,
|
|
4005
|
-
}
|
|
4006
|
-
}
|
|
4007
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4008
|
-
declare namespace google.ima.dai.api {
|
|
4009
|
-
enum OmidVerificationVendor {
|
|
4010
|
-
COMSCORE = 7.0 ,
|
|
4011
|
-
DOUBLEVERIFY = 3.0 ,
|
|
4012
|
-
GOOGLE = 9.0 ,
|
|
4013
|
-
INTEGRAL_AD_SCIENCE = 4.0 ,
|
|
4014
|
-
MEETRICS = 8.0 ,
|
|
4015
|
-
MOAT = 2.0 ,
|
|
4016
|
-
NIELSEN = 6.0 ,
|
|
4017
|
-
OTHER = 1.0 ,
|
|
4018
|
-
PIXELATE = 5.0 ,
|
|
4019
|
-
}
|
|
4020
|
-
}
|
|
4021
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4022
|
-
declare namespace google.ima.dai.api.StreamEvent {
|
|
4023
|
-
enum Type {
|
|
4024
|
-
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
4025
|
-
AD_BREAK_STARTED = 'adBreakStarted' ,
|
|
4026
|
-
AD_PERIOD_ENDED = 'adPeriodEnded' ,
|
|
4027
|
-
AD_PERIOD_STARTED = 'adPeriodStarted' ,
|
|
4028
|
-
AD_PROGRESS = 'adProgress' ,
|
|
4029
|
-
CLICK = 'click' ,
|
|
4030
|
-
COMPLETE = 'complete' ,
|
|
4031
|
-
CUEPOINTS_CHANGED = 'cuepointsChanged' ,
|
|
4032
|
-
ERROR = 'error' ,
|
|
4033
|
-
FIRST_QUARTILE = 'firstquartile' ,
|
|
4034
|
-
LOADED = 'loaded' ,
|
|
4035
|
-
MIDPOINT = 'midpoint' ,
|
|
4036
|
-
SKIPPABLE_STATE_CHANGED = 'skippableStateChanged' ,
|
|
4037
|
-
SKIPPED = 'skip' ,
|
|
4038
|
-
STARTED = 'started' ,
|
|
4039
|
-
STREAM_INITIALIZED = 'streamInitialized' ,
|
|
4040
|
-
THIRD_QUARTILE = 'thirdquartile' ,
|
|
4041
|
-
VIDEO_CLICKED = 'videoClicked' ,
|
|
4042
|
-
}
|
|
4043
|
-
}
|
|
4044
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4045
|
-
declare namespace google.ima.dai.api {
|
|
4046
|
-
class StreamManager implements EventTarget {
|
|
4047
|
-
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
4048
|
-
constructor (videoElement : HTMLMediaElement | null , adUiElement ? : HTMLElement | null , uiSettings ? : google.ima.dai.api.UiSettings | null ) ;
|
|
4049
|
-
addEventListener (type : string | any [] | null , handler : null | object , capture ? : boolean | AddEventListenerOptions , handlerScope ? : object | null ) : any ;
|
|
4050
|
-
contentTimeForStreamTime (streamTime : number ) : any ;
|
|
4051
|
-
dispatchEvent ( ) : any ;
|
|
4052
|
-
onTimedMetadata (metadata : object | null ) : any ;
|
|
4053
|
-
previousCuePointForStreamTime (streamTime : number ) : any ;
|
|
4054
|
-
processMetadata (type : string , data : Uint8Array | null | string , timestamp : number ) : any ;
|
|
4055
|
-
removeEventListener ( ) : any ;
|
|
4056
|
-
replaceAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4057
|
-
requestStream (streamRequest : google.ima.dai.api.StreamRequest | null ) : any ;
|
|
4058
|
-
reset ( ) : any ;
|
|
4059
|
-
setClickElement (clickElement : Element | null ) : any ;
|
|
4060
|
-
streamTimeForContentTime (contentTime : number ) : any ;
|
|
4061
|
-
}
|
|
4062
|
-
}
|
|
4063
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4064
|
-
declare namespace google.ima.dai.api.StreamRequest {
|
|
4065
|
-
enum StreamFormat {
|
|
4066
|
-
DASH = 'dash' ,
|
|
4067
|
-
HLS = 'hls' ,
|
|
4068
|
-
}
|
|
4069
|
-
}
|
|
4070
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4071
|
-
declare namespace google.ima {
|
|
4072
|
-
let settings : google.ima.ImaSdkSettings ;
|
|
4073
|
-
}
|
|
4074
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
|
|
4075
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4076
|
-
/**
|
|
4077
|
-
* A JSON Web Key.
|
|
4078
|
-
*/
|
|
4079
|
-
class JWK {
|
|
4080
|
-
private noStructuralTyping_JWK : any;
|
|
4081
|
-
/**
|
|
4082
|
-
* A key in base 64. Used with kty="oct".
|
|
4083
|
-
*/
|
|
4084
|
-
k : string ;
|
|
4085
|
-
/**
|
|
4086
|
-
* A key ID. Any ASCII string.
|
|
4087
|
-
*/
|
|
4088
|
-
kid : string ;
|
|
4089
|
-
/**
|
|
4090
|
-
* A key type. One of:
|
|
4091
|
-
* 1. "oct" (symmetric key octect sequence)
|
|
4092
|
-
* 2. "RSA" (RSA key)
|
|
4093
|
-
* 3. "EC" (elliptical curve key)
|
|
4094
|
-
* Use "oct" for clearkey.
|
|
4095
|
-
*/
|
|
4096
|
-
kty : string ;
|
|
4097
|
-
}
|
|
4098
|
-
}
|
|
4099
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
|
|
4100
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4101
|
-
/**
|
|
4102
|
-
* A JSON Web Key set.
|
|
4103
|
-
*/
|
|
4104
|
-
class JWKSet {
|
|
4105
|
-
private noStructuralTyping_JWKSet : any;
|
|
4106
|
-
keys : ( JWK | null ) [] | null ;
|
|
4107
|
-
}
|
|
4108
|
-
}
|
|
4109
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4110
|
-
declare namespace LCEVCdec {
|
|
4111
|
-
/**
|
|
4112
|
-
* LCEVC Dec constructor
|
|
4113
|
-
*/
|
|
4114
|
-
class LCEVCdec {
|
|
4115
|
-
private noStructuralTyping_LCEVCdec_LCEVCdec : any;
|
|
4116
|
-
/**
|
|
4117
|
-
* LCEVC Dec constructor
|
|
4118
|
-
*/
|
|
4119
|
-
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null , lcevcConfig : shaka.extern.LcevcConfiguration ) ;
|
|
4120
|
-
/**
|
|
4121
|
-
* Append the video buffers before they are appended to
|
|
4122
|
-
* Media Source Extensions SourceBuffer. Here the lcevc data
|
|
4123
|
-
* will be parsed and managed to enhance frames based on timestamps.
|
|
4124
|
-
* @param data Video Buffer Data.
|
|
4125
|
-
* @param type Type of Video Buffer Data.
|
|
4126
|
-
* @param variantId Variant that the fragment belongs to.
|
|
4127
|
-
* @param timestampOffset Timestamp offset for appended segments
|
|
4128
|
-
*/
|
|
4129
|
-
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number , timestampOffset : number ) : any ;
|
|
4130
|
-
/**
|
|
4131
|
-
* Close LCEVC DEC
|
|
4132
|
-
*/
|
|
4133
|
-
close ( ) : any ;
|
|
4134
|
-
/**
|
|
4135
|
-
* Set container Format for LCEVC Data Parsing.
|
|
4136
|
-
* @param containerFormat container type of the stream.
|
|
4137
|
-
*/
|
|
4138
|
-
setContainerFormat (containerFormat : number ) : any ;
|
|
4139
|
-
/**
|
|
4140
|
-
* Set current variant as variantId to the LCEVC decoder
|
|
4141
|
-
* @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.
|
|
4142
|
-
*/
|
|
4143
|
-
setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
|
|
4144
|
-
/**
|
|
4145
|
-
* Set streaming Format for LCEVC Data Parsing.
|
|
4146
|
-
* @param streamingFormat container type of the stream.
|
|
4147
|
-
*/
|
|
4148
|
-
setStreamingFormat (streamingFormat : number ) : any ;
|
|
4149
|
-
}
|
|
4150
|
-
}
|
|
4151
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4152
|
-
declare namespace LCEVCdec {
|
|
4153
|
-
/**
|
|
4154
|
-
* The older module interface, for backward compatibility.
|
|
4155
|
-
* Typed to the same interface, but under a different name.
|
|
4156
|
-
*/
|
|
4157
|
-
export import LcevcDil = LCEVCdec.LCEVCdec ;
|
|
4158
|
-
}
|
|
4159
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4160
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4161
|
-
/**
|
|
4162
|
-
* LCEVC Support CheckList Error if any.
|
|
4163
|
-
*/
|
|
4164
|
-
let SupportError : string ;
|
|
4165
|
-
}
|
|
4166
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4167
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4168
|
-
/**
|
|
4169
|
-
* LCEVC Support Checklist Result
|
|
4170
|
-
*/
|
|
4171
|
-
let SupportStatus : boolean ;
|
|
4172
|
-
}
|
|
4173
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4174
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4175
|
-
/**
|
|
4176
|
-
* Check if canvas has WebGL support
|
|
4177
|
-
*/
|
|
4178
|
-
function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
|
|
4179
|
-
}
|
|
4180
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4181
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4182
|
-
/**
|
|
4183
|
-
* Typedef for the module interface. Both LCEVCdec (new module) and LcevcDil
|
|
4184
|
-
* (old module) implement roughly the same interface.
|
|
4185
|
-
*/
|
|
4186
|
-
type LCEVCmodule = typeof LCEVCdec ;
|
|
4187
|
-
}
|
|
4188
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/managedmediasource.js
|
|
4189
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4190
|
-
class ManagedMediaSource extends MediaSource {
|
|
4191
|
-
private noStructuralTyping_ManagedMediaSource : any;
|
|
4192
|
-
static isTypeSupported (type : string ) : boolean ;
|
|
4193
|
-
}
|
|
4194
|
-
}
|
|
4195
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mdl.js
|
|
4196
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4197
|
-
class MaterialLayout {
|
|
4198
|
-
private noStructuralTyping_MaterialLayout : any;
|
|
4199
|
-
Constant_ : { MENU_ICON : string } ;
|
|
4200
|
-
toggleDrawer ( ) : any ;
|
|
4201
|
-
}
|
|
4202
|
-
}
|
|
4203
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/media_remote.js
|
|
4204
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4205
|
-
class RemotePlayback implements EventTarget {
|
|
4206
|
-
private noStructuralTyping_RemotePlayback : any;
|
|
4207
|
-
addEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | AddEventListenerOptions ) : void ;
|
|
4208
|
-
/**
|
|
4209
|
-
* The cancelWatchAvailability() method of the RemotePlayback interface
|
|
4210
|
-
* cancels the request to watch for one or all available devices.
|
|
4211
|
-
*/
|
|
4212
|
-
cancelWatchAvailability (id : number ) : Promise < any > ;
|
|
4213
|
-
dispatchEvent (evt : Event ) : boolean ;
|
|
4214
|
-
/**
|
|
4215
|
-
* The prompt() method of the RemotePlayback interface prompts the user
|
|
4216
|
-
* to select an available remote playback device and give permission
|
|
4217
|
-
* for the current media to be played using that device.
|
|
4218
|
-
*
|
|
4219
|
-
* If the user gives permission, the state will be set to connecting and
|
|
4220
|
-
* the user agent will connect to the device to initiate playback.
|
|
4221
|
-
*
|
|
4222
|
-
* If the user chooses to instead disconnect from the device, the state will
|
|
4223
|
-
* be set to disconnected and user agent will disconnect from this device.
|
|
4224
|
-
*/
|
|
4225
|
-
prompt ( ) : Promise < any > ;
|
|
4226
|
-
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | EventListenerOptions ) : void ;
|
|
4227
|
-
/**
|
|
4228
|
-
* Represents the RemotePlayback connection's state.
|
|
4229
|
-
*/
|
|
4230
|
-
state : string ;
|
|
4231
|
-
/**
|
|
4232
|
-
* The watchAvailability() method of the RemotePlayback interface watches
|
|
4233
|
-
* the list of available remote playback devices and returns a Promise that
|
|
4234
|
-
* resolves with the callbackId of a remote playback device.
|
|
4235
|
-
*/
|
|
4236
|
-
watchAvailability (callback : (a : boolean ) => any ) : Promise < any > ;
|
|
4237
|
-
}
|
|
4238
|
-
}
|
|
4239
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
|
|
4240
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4241
|
-
class MediaMetadata {
|
|
4242
|
-
private noStructuralTyping_MediaMetadata : any;
|
|
4243
|
-
constructor (options : any ) ;
|
|
4244
|
-
artist : string ;
|
|
4245
|
-
artwork : object ;
|
|
4246
|
-
title : string ;
|
|
4247
|
-
}
|
|
4248
|
-
}
|
|
4249
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
|
|
4250
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4251
|
-
class MediaSession {
|
|
4252
|
-
private noStructuralTyping_MediaSession : any;
|
|
4253
|
-
callback (a : { action : string , seekOffset : number | null } ) : any ;
|
|
4254
|
-
metadata : MediaMetadata | null ;
|
|
4255
|
-
type : string ;
|
|
4256
|
-
setActionHandler (type : any , callback : any ) : any ;
|
|
4257
|
-
}
|
|
4258
|
-
}
|
|
4259
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4260
|
-
declare namespace mediaTailor {
|
|
4261
|
-
type Ad = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeId : string , creativeSequence : string , durationInSeconds : number , nonLinearAdList : mediaTailor.NonLinearAd [] , skipOffset : string | null , startTimeInSeconds : number , trackingEvents : mediaTailor.TrackingEvent [] } ;
|
|
4262
|
-
}
|
|
4263
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4264
|
-
declare namespace mediaTailor {
|
|
4265
|
-
type AdBreak = { adBreakTrackingEvents : mediaTailor.TrackingEvent [] , ads : mediaTailor.Ad [] , durationInSeconds : number , nonLinearAdsList : mediaTailor.Ad [] , startTimeInSeconds : number } ;
|
|
4266
|
-
}
|
|
4267
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4268
|
-
declare namespace mediaTailor {
|
|
4269
|
-
type NonLinearAd = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeAdId : string , creativeId : string , creativeSequence : string , height : number | null , staticResource : string , width : number | null } ;
|
|
4270
|
-
}
|
|
4271
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4272
|
-
declare namespace mediaTailor {
|
|
4273
|
-
type SessionResponse = { manifestUrl : string | null , trackingUrl : string | null } ;
|
|
4274
|
-
}
|
|
4275
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4276
|
-
declare namespace mediaTailor {
|
|
4277
|
-
type TrackingEvent = { beaconUrls : string [] , eventType : string } ;
|
|
4278
|
-
}
|
|
4279
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4280
|
-
declare namespace mediaTailor {
|
|
4281
|
-
type TrackingResponse = { avails : mediaTailor.AdBreak [] } ;
|
|
4282
|
-
}
|
|
4283
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4284
|
-
declare namespace mediaTailorExternalResource {
|
|
4285
|
-
type App = { data : mediaTailorExternalResource.AppData , placeholder : mediaTailorExternalResource.AppPlaceholder } ;
|
|
4286
|
-
}
|
|
4287
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4288
|
-
declare namespace mediaTailorExternalResource {
|
|
4289
|
-
type AppData = { source : mediaTailorExternalResource.AppDataSource [] } ;
|
|
4290
|
-
}
|
|
4291
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4292
|
-
declare namespace mediaTailorExternalResource {
|
|
4293
|
-
type AppDataSource = { url : string } ;
|
|
4294
|
-
}
|
|
4295
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4296
|
-
declare namespace mediaTailorExternalResource {
|
|
4297
|
-
type AppPlaceholder = { left : number , top : number } ;
|
|
4298
|
-
}
|
|
4299
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4300
|
-
declare namespace mediaTailorExternalResource {
|
|
4301
|
-
type Response = { apps : mediaTailorExternalResource.App [] } ;
|
|
4302
|
-
}
|
|
4303
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4304
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4305
|
-
class DocumentPictureInPicture implements EventTarget {
|
|
4306
|
-
private noStructuralTyping_DocumentPictureInPicture : any;
|
|
4307
|
-
addEventListener (type : any , listener : any , options : any ) : any ;
|
|
4308
|
-
dispatchEvent (event : any ) : any ;
|
|
4309
|
-
removeEventListener (type : any , listener : any , options : any ) : any ;
|
|
4310
|
-
requestWindow (options : DocumentPictureInPictureOptions ) : Promise < Window | null > ;
|
|
4311
|
-
window : Window | null ;
|
|
4312
|
-
}
|
|
4313
|
-
}
|
|
4314
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4315
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4316
|
-
class DocumentPictureInPictureEvent extends Event {
|
|
4317
|
-
private noStructuralTyping_DocumentPictureInPictureEvent : any;
|
|
4318
|
-
constructor ( ) ;
|
|
4319
|
-
window : Window | null ;
|
|
4320
|
-
}
|
|
4321
|
-
}
|
|
4322
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4323
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4324
|
-
type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
|
|
4325
|
-
}
|
|
4326
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/playstation.js
|
|
4327
|
-
declare namespace msdk.device {
|
|
4328
|
-
function getDisplayInfo ( ) : Promise < { resolution : string } > ;
|
|
4329
|
-
}
|
|
4330
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/playstation.js
|
|
4331
|
-
declare namespace msdk.device {
|
|
4332
|
-
function getDisplayInfoImmediate ( ) : Promise < { resolution : string } > ;
|
|
4333
|
-
}
|
|
4334
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
|
|
4335
|
-
declare namespace window {
|
|
4336
|
-
let shakaMediaKeysPolyfill : string ;
|
|
4337
|
-
}
|
|
4338
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4339
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4340
|
-
class MediaKeyError {
|
|
4341
|
-
private noStructuralTyping_MediaKeyError : any;
|
|
4342
|
-
code : number ;
|
|
4343
|
-
systemCode : number ;
|
|
4344
|
-
}
|
|
4345
|
-
}
|
|
4346
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4347
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4348
|
-
class MediaKeyEvent extends Event {
|
|
4349
|
-
private noStructuralTyping_MediaKeyEvent : any;
|
|
4350
|
-
constructor (type : string , eventInitDict ? : object | null ) ;
|
|
4351
|
-
defaultURL : string ;
|
|
4352
|
-
errorCode : MediaKeyError | null ;
|
|
4353
|
-
initData : Uint8Array ;
|
|
4354
|
-
keySystem : string ;
|
|
4355
|
-
message : Uint8Array ;
|
|
4356
|
-
sessionId : string ;
|
|
4357
|
-
systemCode : number ;
|
|
4358
|
-
target : HTMLMediaElement ;
|
|
4359
|
-
}
|
|
4360
|
-
}
|
|
4361
3999
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abortable.js
|
|
4362
4000
|
declare namespace shaka.extern {
|
|
4363
4001
|
/**
|
|
@@ -4504,7 +4142,7 @@ declare namespace shaka.extern {
|
|
|
4504
4142
|
}
|
|
4505
4143
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
|
|
4506
4144
|
declare namespace shaka.extern {
|
|
4507
|
-
type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
4145
|
+
type AdsStats = { averageLoadTime : number , errors : number , loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
|
|
4508
4146
|
}
|
|
4509
4147
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
|
|
4510
4148
|
declare namespace shaka.extern {
|
|
@@ -4568,24 +4206,26 @@ declare namespace shaka.extern {
|
|
|
4568
4206
|
* playing content, this will return an empty stats object.
|
|
4569
4207
|
*/
|
|
4570
4208
|
getStats ( ) : any ;
|
|
4571
|
-
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings :
|
|
4209
|
+
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings : any | null ) : any ;
|
|
4210
|
+
initInterstitial (adContainer : HTMLElement | null , basePlayer : shaka.Player , baseVideo : HTMLMediaElement ) : any ;
|
|
4572
4211
|
initMediaTailor (adContainer : HTMLElement , networkingEngine : shaka.net.NetworkingEngine , video : HTMLMediaElement ) : any ;
|
|
4573
4212
|
initServerSide (adContainer : HTMLElement , video : HTMLMediaElement ) : any ;
|
|
4574
4213
|
onAssetUnload ( ) : any ;
|
|
4575
4214
|
onCueMetadataChange (value : shaka.extern.MetadataFrame ) : any ;
|
|
4576
4215
|
onDashTimedMetadata (region : shaka.extern.TimelineRegionInfo ) : any ;
|
|
4577
4216
|
onHlsTimedMetadata (metadata : shaka.extern.ID3Metadata , timestampOffset : number ) : any ;
|
|
4217
|
+
onInterstitialMetadata (basePlayer : shaka.Player , baseVideo : HTMLMediaElement , interstitial : shaka.extern.Interstitial ) : any ;
|
|
4578
4218
|
/**
|
|
4579
4219
|
* Fired when the manifest is updated.
|
|
4580
4220
|
*/
|
|
4581
4221
|
onManifestUpdated (isLive : boolean ) : any ;
|
|
4582
4222
|
release ( ) : any ;
|
|
4583
4223
|
replaceServerSideAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4584
|
-
requestClientSideAds (imaRequest :
|
|
4224
|
+
requestClientSideAds (imaRequest : any ) : any ;
|
|
4585
4225
|
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
4586
|
-
requestServerSideStream (imaRequest :
|
|
4226
|
+
requestServerSideStream (imaRequest : any , backupUrl ? : string ) : Promise < string > ;
|
|
4587
4227
|
setLocale (locale : string ) : any ;
|
|
4588
|
-
updateClientSideAdsRenderingSettings (adsRenderingSettings :
|
|
4228
|
+
updateClientSideAdsRenderingSettings (adsRenderingSettings : any ) : any ;
|
|
4589
4229
|
}
|
|
4590
4230
|
}
|
|
4591
4231
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
|
|
@@ -4699,7 +4339,7 @@ declare namespace shaka.extern {
|
|
|
4699
4339
|
}
|
|
4700
4340
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4701
4341
|
declare namespace shaka.extern {
|
|
4702
|
-
type DrmInfo = { audioRobustness : string , distinctiveIdentifierRequired : boolean , encryptionScheme : string , initData : shaka.extern.InitDataOverride [] | null , keyIds : Set < string > | null , keySystem : string , licenseServerUri : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
4342
|
+
type DrmInfo = { audioRobustness : string , distinctiveIdentifierRequired : boolean , encryptionScheme : string , initData : shaka.extern.InitDataOverride [] | null , keyIds : Set < string > | null , keySystem : string , keySystemUris ? : Set < string > | null , licenseServerUri : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
|
|
4703
4343
|
}
|
|
4704
4344
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4705
4345
|
declare namespace shaka.extern {
|
|
@@ -4715,7 +4355,7 @@ declare namespace shaka.extern {
|
|
|
4715
4355
|
}
|
|
4716
4356
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4717
4357
|
declare namespace shaka.extern {
|
|
4718
|
-
type Manifest = { ignoreManifestTimestampsInSegmentsMode : boolean , imageStreams : shaka.extern.Stream [] , minBufferTime : number , nextUrl : string | null , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , sequenceMode : boolean , serviceDescription : shaka.extern.ServiceDescription | null , textStreams : shaka.extern.Stream [] , type : string , variants : shaka.extern.Variant [] } ;
|
|
4358
|
+
type Manifest = { gapCount : number , ignoreManifestTimestampsInSegmentsMode : boolean , imageStreams : shaka.extern.Stream [] , isLowLatency : boolean , minBufferTime : number , nextUrl : string | null , offlineSessionIds : string [] , periodCount : number , presentationTimeline : shaka.media.PresentationTimeline , sequenceMode : boolean , serviceDescription : shaka.extern.ServiceDescription | null , textStreams : shaka.extern.Stream [] , type : string , variants : shaka.extern.Variant [] } ;
|
|
4719
4359
|
}
|
|
4720
4360
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
|
|
4721
4361
|
declare namespace shaka.extern {
|
|
@@ -4817,6 +4457,10 @@ declare namespace shaka.extern {
|
|
|
4817
4457
|
* Tells the parser that the initial variant has been chosen.
|
|
4818
4458
|
*/
|
|
4819
4459
|
onInitialVariantChosen (variant : shaka.extern.Variant ) : any ;
|
|
4460
|
+
/**
|
|
4461
|
+
* Set media element.
|
|
4462
|
+
*/
|
|
4463
|
+
setMediaElement (mediaElement : HTMLMediaElement | null ) : any ;
|
|
4820
4464
|
/**
|
|
4821
4465
|
* Initialize and start the parser. When |start| resolves, it should return
|
|
4822
4466
|
* the initial version of the manifest. |start| will only be called once. If
|
|
@@ -4851,7 +4495,7 @@ declare namespace shaka.extern.ManifestParser {
|
|
|
4851
4495
|
}
|
|
4852
4496
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
|
|
4853
4497
|
declare namespace shaka.extern.ManifestParser {
|
|
4854
|
-
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 } ;
|
|
4498
|
+
type PlayerInterface = { disableStream : (a : shaka.extern.Stream ) => any , 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 , onMetadata : (a : string , b : number , c : number | null , d : shaka.extern.MetadataFrame [] ) => any , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any , updateDuration : ( ) => any } ;
|
|
4855
4499
|
}
|
|
4856
4500
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/mp4_parser.js
|
|
4857
4501
|
declare namespace shaka.extern {
|
|
@@ -5177,6 +4821,10 @@ declare namespace shaka.extern {
|
|
|
5177
4821
|
type DrmSupportType = { audioRobustnessLevels : string [] , encryptionSchemes : ( string | null ) [] , persistentState : boolean , videoRobustnessLevels : string [] } ;
|
|
5178
4822
|
}
|
|
5179
4823
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
4824
|
+
declare namespace shaka.extern {
|
|
4825
|
+
type DynamicTargetLatencyConfiguration = { enabled : boolean , maxAttempts : number , maxLatency : number , minLatency : number , rebufferIncrement : number , stabilityThreshold : number } ;
|
|
4826
|
+
}
|
|
4827
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5180
4828
|
declare namespace shaka.extern {
|
|
5181
4829
|
type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
|
|
5182
4830
|
}
|
|
@@ -5193,6 +4841,10 @@ declare namespace shaka.extern {
|
|
|
5193
4841
|
type InitDataTransform = (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array ;
|
|
5194
4842
|
}
|
|
5195
4843
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
4844
|
+
declare namespace shaka.extern {
|
|
4845
|
+
type Interstitial = { endTime : number | null , startTime : number , values : shaka.extern.MetadataFrame [] } ;
|
|
4846
|
+
}
|
|
4847
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5196
4848
|
declare namespace shaka.extern {
|
|
5197
4849
|
type LanguageRole = { label : string | null , language : string , role : string } ;
|
|
5198
4850
|
}
|
|
@@ -5202,11 +4854,15 @@ declare namespace shaka.extern {
|
|
|
5202
4854
|
}
|
|
5203
4855
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5204
4856
|
declare namespace shaka.extern {
|
|
5205
|
-
type
|
|
4857
|
+
type LiveSyncConfiguration = { dynamicTargetLatency : shaka.extern.DynamicTargetLatencyConfiguration , enabled : boolean , maxPlaybackRate : number , minPlaybackRate : number , panicMode : boolean , panicThreshold : number , targetLatency : number , targetLatencyTolerance : number } ;
|
|
4858
|
+
}
|
|
4859
|
+
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
4860
|
+
declare namespace shaka.extern {
|
|
4861
|
+
type ManifestConfiguration = { availabilityWindowOverride : number , continueLoadingWhenPaused : boolean , 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 } ;
|
|
5206
4862
|
}
|
|
5207
4863
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5208
4864
|
declare namespace shaka.extern {
|
|
5209
|
-
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 } ;
|
|
4865
|
+
type MediaQualityInfo = { audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string , contentType : string , frameRate : number | null , height : number | null , label : string | null , language : string | null , mimeType : string | null , pixelAspectRatio : string | null , roles : string [] | null , width : number | null } ;
|
|
5210
4866
|
}
|
|
5211
4867
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5212
4868
|
declare namespace shaka.extern {
|
|
@@ -5254,11 +4910,11 @@ declare namespace shaka.extern {
|
|
|
5254
4910
|
}
|
|
5255
4911
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5256
4912
|
declare namespace shaka.extern {
|
|
5257
|
-
type Stats = { bufferingTime : number , bytesDownloaded : 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 } ;
|
|
4913
|
+
type Stats = { bufferingTime : number , bytesDownloaded : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , gapsJumped : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestGapCount : number , manifestPeriodCount : number , manifestSizeBytes : number , manifestTimeSeconds : number , maxSegmentDuration : number , nonFatalErrorCount : number , pauseTime : number , playTime : number , stallsDetected : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
|
|
5258
4914
|
}
|
|
5259
4915
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5260
4916
|
declare namespace shaka.extern {
|
|
5261
|
-
type StreamingConfiguration = { allowMediaSourceRecoveries : boolean , alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , clearDecodingCache : boolean , disableAudioPrefetch : boolean , disableTextPrefetch : boolean , disableVideoPrefetch : boolean , dispatchAllEmsgBoxes : boolean , durationBackoff : number , evictionGoal : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTP : boolean , forceHTTPS : boolean , gapDetectionThreshold : number , gapJumpTimerTime : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , infiniteLiveStreamDuration : boolean , liveSync :
|
|
4917
|
+
type StreamingConfiguration = { allowMediaSourceRecoveries : boolean , alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , clearDecodingCache : boolean , disableAudioPrefetch : boolean , disableTextPrefetch : boolean , disableVideoPrefetch : boolean , dispatchAllEmsgBoxes : boolean , dontChooseCodecs : boolean , durationBackoff : number , evictionGoal : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTP : boolean , forceHTTPS : boolean , gapDetectionThreshold : number , gapJumpTimerTime : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , infiniteLiveStreamDuration : boolean , liveSync : shaka.extern.LiveSyncConfiguration , loadTimeout : number , lowLatencyMode : boolean , maxDisabledTime : number , minTimeBetweenRecoveries : number , observeQualityChanges : boolean , parsePrftBox : boolean , preferNativeHls : boolean , prefetchAudioLanguages : string [] , preloadNextUrlWindow : number , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , segmentPrefetchLimit : number , shouldFixTimestampOffset : boolean , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsForFairPlay : boolean , vodDynamicPlaybackRate : boolean , vodDynamicPlaybackRateBufferRatio : number , vodDynamicPlaybackRateLowBufferRate : number } ;
|
|
5262
4918
|
}
|
|
5263
4919
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
|
|
5264
4920
|
declare namespace shaka.extern {
|
|
@@ -5413,69 +5069,3 @@ declare namespace shaka.extern {
|
|
|
5413
5069
|
declare namespace shaka.extern {
|
|
5414
5070
|
type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
|
|
5415
5071
|
}
|
|
5416
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tippy.js
|
|
5417
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5418
|
-
/**
|
|
5419
|
-
* This is the subset of this method that we use in our demo code.
|
|
5420
|
-
*/
|
|
5421
|
-
function tippy (element : Element , config : object ) : any ;
|
|
5422
|
-
}
|
|
5423
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5424
|
-
declare namespace webapis.productinfo {
|
|
5425
|
-
function is8KPanelSupported ( ) : boolean ;
|
|
5426
|
-
}
|
|
5427
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5428
|
-
declare namespace webapis.productinfo {
|
|
5429
|
-
function isUdPanelSupported ( ) : boolean ;
|
|
5430
|
-
}
|
|
5431
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5432
|
-
declare namespace webapis.systeminfo {
|
|
5433
|
-
function getMaxVideoResolution ( ) : shaka.extern.Resolution ;
|
|
5434
|
-
}
|
|
5435
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5436
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5437
|
-
class WebKitMediaKeyError {
|
|
5438
|
-
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
5439
|
-
code : number ;
|
|
5440
|
-
systemCode : number ;
|
|
5441
|
-
static MEDIA_KEYERR_CLIENT : number ;
|
|
5442
|
-
static MEDIA_KEYERR_DOMAIN : number ;
|
|
5443
|
-
static MEDIA_KEYERR_HARDWARECHANGE : number ;
|
|
5444
|
-
static MEDIA_KEYERR_OUTPUT : number ;
|
|
5445
|
-
static MEDIA_KEYERR_SERVICE : number ;
|
|
5446
|
-
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
5447
|
-
}
|
|
5448
|
-
}
|
|
5449
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5450
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5451
|
-
interface WebKitMediaKeySession extends EventTarget {
|
|
5452
|
-
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
5453
|
-
close ( ) : any ;
|
|
5454
|
-
dispatchEvent (evt : any ) : any ;
|
|
5455
|
-
error : WebKitMediaKeyError | null ;
|
|
5456
|
-
removeEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
5457
|
-
sessionId : string ;
|
|
5458
|
-
update (message : Uint8Array | null ) : any ;
|
|
5459
|
-
}
|
|
5460
|
-
}
|
|
5461
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5462
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5463
|
-
class WebKitMediaKeys {
|
|
5464
|
-
private noStructuralTyping_WebKitMediaKeys : any;
|
|
5465
|
-
constructor (keySystem : string ) ;
|
|
5466
|
-
createSession (contentType : string , initData : Uint8Array | null ) : WebKitMediaKeySession ;
|
|
5467
|
-
static isTypeSupported (keySystem : string , contentType : string ) : boolean ;
|
|
5468
|
-
}
|
|
5469
|
-
}
|
|
5470
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webos.js
|
|
5471
|
-
declare namespace PalmSystem {
|
|
5472
|
-
let deviceInfo : string ;
|
|
5473
|
-
}
|
|
5474
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/xbox.js
|
|
5475
|
-
declare namespace Windows.Media.Protection {
|
|
5476
|
-
enum ProtectionCapabilityResult {
|
|
5477
|
-
maybe = 'Maybe' ,
|
|
5478
|
-
notSupported = 'NotSupported' ,
|
|
5479
|
-
probably = 'Probably' ,
|
|
5480
|
-
}
|
|
5481
|
-
}
|