shaka-player 4.8.18 → 4.8.20
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/dist/locales.js +37 -37
- package/dist/shaka-player.compiled.d.ts +8 -697
- package/dist/shaka-player.compiled.debug.d.ts +8 -697
- package/dist/shaka-player.compiled.debug.js +24 -23
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.js +260 -260
- package/dist/shaka-player.compiled.map +2 -2
- package/dist/shaka-player.ui.d.ts +8 -697
- package/dist/shaka-player.ui.debug.d.ts +8 -697
- package/dist/shaka-player.ui.debug.js +27 -26
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +292 -292
- package/dist/shaka-player.ui.map +2 -2
- package/externs/shaka/player.js +2 -2
- package/lib/abr/simple_abr_manager.js +2 -2
- package/lib/dash/mpd_utils.js +3 -3
- package/lib/media/streaming_engine.js +9 -1
- package/lib/player.js +15 -6
- package/lib/util/manifest_parser_utils.js +1 -0
- package/package.json +1 -1
|
@@ -519,7 +519,7 @@ declare namespace shaka.ads {
|
|
|
519
519
|
replaceServerSideAdTagParameters (adTagParameters : any ) : any ;
|
|
520
520
|
requestClientSideAds (imaRequest : any ) : any ;
|
|
521
521
|
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
522
|
-
requestServerSideStream (imaRequest :
|
|
522
|
+
requestServerSideStream (imaRequest : any , backupUrl ? : string ) : Promise < string > ;
|
|
523
523
|
setLocale (locale : any ) : any ;
|
|
524
524
|
updateClientSideAdsRenderingSettings (adsRenderingSettings : any ) : any ;
|
|
525
525
|
/**
|
|
@@ -657,7 +657,7 @@ declare namespace shaka.ads {
|
|
|
657
657
|
declare namespace shaka.ads {
|
|
658
658
|
class ClientSideAd implements shaka.extern.IAd {
|
|
659
659
|
private noStructuralTyping_shaka_ads_ClientSideAd : any;
|
|
660
|
-
constructor (imaAd :
|
|
660
|
+
constructor (imaAd : any , imaAdManager : any , video : HTMLMediaElement | null ) ;
|
|
661
661
|
canSkipNow ( ) : any ;
|
|
662
662
|
getAdId ( ) : any ;
|
|
663
663
|
getAdvertiserName ( ) : any ;
|
|
@@ -694,7 +694,7 @@ declare namespace shaka.ads {
|
|
|
694
694
|
declare namespace shaka.ads {
|
|
695
695
|
class MediaTailorAd implements shaka.extern.IAd {
|
|
696
696
|
private noStructuralTyping_shaka_ads_MediaTailorAd : any;
|
|
697
|
-
constructor (mediaTailorAd :
|
|
697
|
+
constructor (mediaTailorAd : any | null , adPosition : number , totalAds : number , isLinear : any , video : HTMLMediaElement | null ) ;
|
|
698
698
|
canSkipNow ( ) : any ;
|
|
699
699
|
getAdId ( ) : any ;
|
|
700
700
|
getAdvertiserName ( ) : any ;
|
|
@@ -731,7 +731,7 @@ declare namespace shaka.ads {
|
|
|
731
731
|
declare namespace shaka.ads {
|
|
732
732
|
class ServerSideAd implements shaka.extern.IAd {
|
|
733
733
|
private noStructuralTyping_shaka_ads_ServerSideAd : any;
|
|
734
|
-
constructor (imaAd :
|
|
734
|
+
constructor (imaAd : any | null , video : HTMLMediaElement | null ) ;
|
|
735
735
|
canSkipNow ( ) : any ;
|
|
736
736
|
getAdId ( ) : any ;
|
|
737
737
|
getAdvertiserName ( ) : any ;
|
|
@@ -3718,629 +3718,6 @@ declare namespace shaka.util {
|
|
|
3718
3718
|
static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
|
|
3719
3719
|
}
|
|
3720
3720
|
}
|
|
3721
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/airplay.js
|
|
3722
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3723
|
-
class AirPlayEvent extends Event {
|
|
3724
|
-
private noStructuralTyping_AirPlayEvent : any;
|
|
3725
|
-
constructor ( ...a : any [] ) ;
|
|
3726
|
-
availability : String | null ;
|
|
3727
|
-
}
|
|
3728
|
-
}
|
|
3729
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/awesomplete.js
|
|
3730
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3731
|
-
class Awesomplete {
|
|
3732
|
-
private noStructuralTyping_Awesomplete : any;
|
|
3733
|
-
constructor (input : Element ) ;
|
|
3734
|
-
list : string [] ;
|
|
3735
|
-
minChars : number ;
|
|
3736
|
-
evaluate ( ) : any ;
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3740
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3741
|
-
function __onGCastApiAvailable (a : boolean ) : any ;
|
|
3742
|
-
}
|
|
3743
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3744
|
-
declare namespace cast.receiver {
|
|
3745
|
-
class CastChannel {
|
|
3746
|
-
private noStructuralTyping_cast_receiver_CastChannel : any;
|
|
3747
|
-
send (message : any ) : any ;
|
|
3748
|
-
}
|
|
3749
|
-
}
|
|
3750
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3751
|
-
declare namespace cast.receiver {
|
|
3752
|
-
class CastMessageBus {
|
|
3753
|
-
private noStructuralTyping_cast_receiver_CastMessageBus : any;
|
|
3754
|
-
broadcast (message : any ) : any ;
|
|
3755
|
-
getCastChannel (senderId : string ) : cast.receiver.CastChannel ;
|
|
3756
|
-
onMessage : Function | null ;
|
|
3757
|
-
}
|
|
3758
|
-
}
|
|
3759
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3760
|
-
declare namespace cast.receiver.CastMessageBus {
|
|
3761
|
-
class Event {
|
|
3762
|
-
private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
|
|
3763
|
-
data : any ;
|
|
3764
|
-
senderId : string ;
|
|
3765
|
-
}
|
|
3766
|
-
}
|
|
3767
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3768
|
-
declare namespace cast.receiver {
|
|
3769
|
-
class CastReceiverManager {
|
|
3770
|
-
private noStructuralTyping_cast_receiver_CastReceiverManager : any;
|
|
3771
|
-
onSenderConnected : Function | null ;
|
|
3772
|
-
onSenderDisconnected : Function | null ;
|
|
3773
|
-
onSystemVolumeChanged : Function | null ;
|
|
3774
|
-
getCastMessageBus (namespace : string , messageType ? : string ) : cast.receiver.CastMessageBus | null ;
|
|
3775
|
-
getSenders ( ) : string [] | null ;
|
|
3776
|
-
getSystemVolume ( ) : cast.receiver.system.SystemVolumeData | null ;
|
|
3777
|
-
isSystemReady ( ) : boolean ;
|
|
3778
|
-
setSystemVolumeLevel (level : number ) : any ;
|
|
3779
|
-
setSystemVolumeMuted (muted : number ) : any ;
|
|
3780
|
-
start ( ) : any ;
|
|
3781
|
-
stop ( ) : any ;
|
|
3782
|
-
static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
|
|
3783
|
-
}
|
|
3784
|
-
}
|
|
3785
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3786
|
-
declare namespace cast.receiver.media {
|
|
3787
|
-
enum MetadataType {
|
|
3788
|
-
GENERIC = 0.0 ,
|
|
3789
|
-
MOVIE = 1.0 ,
|
|
3790
|
-
MUSIC_TRACK = 3.0 ,
|
|
3791
|
-
PHOTO = 4.0 ,
|
|
3792
|
-
TV_SHOW = 2.0 ,
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3796
|
-
declare namespace cast.receiver.system {
|
|
3797
|
-
class SystemVolumeData {
|
|
3798
|
-
private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
|
|
3799
|
-
level : number ;
|
|
3800
|
-
muted : boolean ;
|
|
3801
|
-
}
|
|
3802
|
-
}
|
|
3803
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3804
|
-
declare namespace chrome.cast {
|
|
3805
|
-
class ApiConfig {
|
|
3806
|
-
private noStructuralTyping_chrome_cast_ApiConfig : any;
|
|
3807
|
-
constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
|
|
3808
|
-
}
|
|
3809
|
-
}
|
|
3810
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3811
|
-
declare namespace chrome.cast {
|
|
3812
|
-
class Error {
|
|
3813
|
-
private noStructuralTyping_chrome_cast_Error : any;
|
|
3814
|
-
constructor (code : string , description ? : string , details ? : object | null ) ;
|
|
3815
|
-
code : string ;
|
|
3816
|
-
description : string | null ;
|
|
3817
|
-
details : object | null ;
|
|
3818
|
-
}
|
|
3819
|
-
}
|
|
3820
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3821
|
-
declare namespace chrome.cast {
|
|
3822
|
-
class Receiver {
|
|
3823
|
-
private noStructuralTyping_chrome_cast_Receiver : any;
|
|
3824
|
-
friendlyName : 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 Session {
|
|
3830
|
-
private noStructuralTyping_chrome_cast_Session : any;
|
|
3831
|
-
receiver : chrome.cast.Receiver | null ;
|
|
3832
|
-
sessionId : string ;
|
|
3833
|
-
status : string ;
|
|
3834
|
-
addMessageListener (namespace : string , listener : Function | null ) : any ;
|
|
3835
|
-
addUpdateListener (listener : Function | null ) : any ;
|
|
3836
|
-
leave (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3837
|
-
removeMessageListener (namespace : string , listener : Function | null ) : any ;
|
|
3838
|
-
removeUpdateListener (listener : Function | null ) : any ;
|
|
3839
|
-
sendMessage (namespace : string , message : object | string , successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3840
|
-
stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
|
|
3841
|
-
}
|
|
3842
|
-
}
|
|
3843
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3844
|
-
declare namespace chrome.cast {
|
|
3845
|
-
class SessionRequest {
|
|
3846
|
-
private noStructuralTyping_chrome_cast_SessionRequest : any;
|
|
3847
|
-
constructor (appId : string , capabilities : ( object | null ) [] | null , timeout : number | null , androidReceiverCompatible : boolean , credentialsData : object | null ) ;
|
|
3848
|
-
}
|
|
3849
|
-
}
|
|
3850
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3851
|
-
declare namespace chrome.cast.SessionStatus {
|
|
3852
|
-
let STOPPED : string ;
|
|
3853
|
-
}
|
|
3854
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v2.js
|
|
3855
|
-
declare namespace chrome.cast {
|
|
3856
|
-
let isAvailable : boolean ;
|
|
3857
|
-
}
|
|
3858
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v3.js
|
|
3859
|
-
declare namespace cast.framework {
|
|
3860
|
-
class CastReceiverContext {
|
|
3861
|
-
private noStructuralTyping_cast_framework_CastReceiverContext : any;
|
|
3862
|
-
start (options : cast.framework.CastReceiverOptions ) : cast.framework.CastReceiverContext ;
|
|
3863
|
-
static getInstance ( ) : cast.framework.CastReceiverContext ;
|
|
3864
|
-
}
|
|
3865
|
-
}
|
|
3866
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cast-sdk-v3.js
|
|
3867
|
-
declare namespace cast.framework {
|
|
3868
|
-
type CastReceiverOptions = { disableIdleTimeout : boolean , skipPlayersLoad : boolean , statusText : string } ;
|
|
3869
|
-
}
|
|
3870
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/cmcd.js
|
|
3871
|
-
declare namespace ಠ_ಠ.clutz {
|
|
3872
|
-
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 } ;
|
|
3873
|
-
}
|
|
3874
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/hisense.js
|
|
3875
|
-
declare namespace window {
|
|
3876
|
-
function Hisense_Get4KSupportState ( ) : boolean ;
|
|
3877
|
-
}
|
|
3878
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3879
|
-
declare namespace google.ima.AdErrorEvent {
|
|
3880
|
-
enum Type {
|
|
3881
|
-
AD_ERROR = 'AD_ERROR' ,
|
|
3882
|
-
}
|
|
3883
|
-
}
|
|
3884
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3885
|
-
declare namespace google.ima.AdEvent {
|
|
3886
|
-
enum Type {
|
|
3887
|
-
AD_BREAK_READY = 'AD_BREAK_READY' ,
|
|
3888
|
-
AD_BUFFERING = 'AD_BUFFERING' ,
|
|
3889
|
-
AD_ERROR = 'AD_ERROR' ,
|
|
3890
|
-
AD_METADATA = 'AD_METADATA' ,
|
|
3891
|
-
AD_PROGRESS = 'AD_PROGRESS' ,
|
|
3892
|
-
ALL_ADS_COMPLETED = 'ALL_ADS_COMPLETED' ,
|
|
3893
|
-
CLICK = 'CLICK' ,
|
|
3894
|
-
COMPLETE = 'COMPLETE' ,
|
|
3895
|
-
CONTENT_PAUSE_REQUESTED = 'CONTENT_PAUSE_REQUESTED' ,
|
|
3896
|
-
CONTENT_RESUME_REQUESTED = 'CONTENT_RESUME_REQUESTED' ,
|
|
3897
|
-
DURATION_CHANGE = 'DURATION_CHANGE' ,
|
|
3898
|
-
FIRST_QUARTILE = 'FIRST_QUARTILE' ,
|
|
3899
|
-
IMPRESSION = 'IMPRESSION' ,
|
|
3900
|
-
INTERACTION = 'INTERACTION' ,
|
|
3901
|
-
LINEAR_CHANGED = 'LINEAR_CHANGED' ,
|
|
3902
|
-
LOADED = 'LOADED' ,
|
|
3903
|
-
LOG = 'LOG' ,
|
|
3904
|
-
MIDPOINT = 'MIDPOINT' ,
|
|
3905
|
-
PAUSED = 'PAUSED' ,
|
|
3906
|
-
RESUMED = 'RESUMED' ,
|
|
3907
|
-
SKIPPABLE_STATE_CHANGED = 'SKIPPABLE_STATE_CHANGED' ,
|
|
3908
|
-
SKIPPED = 'SKIPPED' ,
|
|
3909
|
-
STARTED = 'STARTED' ,
|
|
3910
|
-
THIRD_QUARTILE = 'THIRD_QUARTILE' ,
|
|
3911
|
-
USER_CLOSE = 'USER_CLOSE' ,
|
|
3912
|
-
VOLUME_CHANGED = 'VOLUME_CHANGED' ,
|
|
3913
|
-
VOLUME_MUTED = 'VOLUME_MUTED' ,
|
|
3914
|
-
}
|
|
3915
|
-
}
|
|
3916
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3917
|
-
declare namespace google.ima {
|
|
3918
|
-
class AdsLoader implements EventTarget {
|
|
3919
|
-
private noStructuralTyping_google_ima_AdsLoader : any;
|
|
3920
|
-
constructor (container : google.ima.AdDisplayContainer ) ;
|
|
3921
|
-
addEventListener ( ) : any ;
|
|
3922
|
-
contentComplete ( ) : any ;
|
|
3923
|
-
destroy ( ) : any ;
|
|
3924
|
-
dispatchEvent ( ) : any ;
|
|
3925
|
-
getSettings ( ) : google.ima.ImaSdkSettings | null ;
|
|
3926
|
-
removeEventListener ( ) : any ;
|
|
3927
|
-
requestAds (request : google.ima.AdsRequest ) : any ;
|
|
3928
|
-
}
|
|
3929
|
-
}
|
|
3930
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3931
|
-
declare namespace google.ima {
|
|
3932
|
-
class AdsManager implements EventTarget {
|
|
3933
|
-
private noStructuralTyping_google_ima_AdsManager : any;
|
|
3934
|
-
addEventListener ( ) : any ;
|
|
3935
|
-
destroy ( ) : any ;
|
|
3936
|
-
dispatchEvent ( ) : any ;
|
|
3937
|
-
getAdSkippableState ( ) : boolean ;
|
|
3938
|
-
getCuePoints ( ) : number [] ;
|
|
3939
|
-
getRemainingTime ( ) : number ;
|
|
3940
|
-
getVolume ( ) : any ;
|
|
3941
|
-
init (width : number , height : number , viewMode : google.ima.ViewMode ) : any ;
|
|
3942
|
-
pause ( ) : any ;
|
|
3943
|
-
removeEventListener ( ) : any ;
|
|
3944
|
-
resize (width : number , height : number , viewMode : google.ima.ViewMode ) : any ;
|
|
3945
|
-
resume ( ) : any ;
|
|
3946
|
-
setVolume (volume : number ) : any ;
|
|
3947
|
-
skip ( ) : any ;
|
|
3948
|
-
start ( ) : any ;
|
|
3949
|
-
stop ( ) : any ;
|
|
3950
|
-
updateAdsRenderingSettings (adsRenderingSettings : google.ima.AdsRenderingSettings ) : any ;
|
|
3951
|
-
}
|
|
3952
|
-
}
|
|
3953
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3954
|
-
declare namespace google.ima.AdsManagerLoadedEvent {
|
|
3955
|
-
enum Type {
|
|
3956
|
-
ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
|
|
3957
|
-
}
|
|
3958
|
-
}
|
|
3959
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3960
|
-
declare namespace google.ima {
|
|
3961
|
-
type AdsRenderingSettings = { autoAlign : boolean , bitrate : number , enablePreloading : boolean , loadVideoTimeout : number , mimeTypes : string [] | null , playAdsAfterTime : number , restoreCustomPlaybackStateOnAdBreakComplete : boolean , uiElements : string [] | null , useStyledLinearAds : boolean , useStyledNonLinearAds : boolean } ;
|
|
3962
|
-
}
|
|
3963
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3964
|
-
declare namespace google.ima {
|
|
3965
|
-
type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
|
|
3966
|
-
}
|
|
3967
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3968
|
-
declare namespace google.ima.ImaSdkSettings {
|
|
3969
|
-
enum VpaidMode {
|
|
3970
|
-
DISABLED = 0.0 ,
|
|
3971
|
-
ENABLED = 1.0 ,
|
|
3972
|
-
INSECURE = 2.0 ,
|
|
3973
|
-
}
|
|
3974
|
-
}
|
|
3975
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3976
|
-
declare namespace google.ima {
|
|
3977
|
-
enum ViewMode {
|
|
3978
|
-
FULLSCREEN = 'FULLSCREEN' ,
|
|
3979
|
-
NORMAL = 'NORMAL' ,
|
|
3980
|
-
}
|
|
3981
|
-
}
|
|
3982
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3983
|
-
declare namespace google.ima.dai.api {
|
|
3984
|
-
enum OmidAccessMode {
|
|
3985
|
-
DOMAIN = 'domain' ,
|
|
3986
|
-
FULL = 'full' ,
|
|
3987
|
-
LIMITED = 'limited' ,
|
|
3988
|
-
}
|
|
3989
|
-
}
|
|
3990
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
3991
|
-
declare namespace google.ima.dai.api {
|
|
3992
|
-
enum OmidVerificationVendor {
|
|
3993
|
-
COMSCORE = 7.0 ,
|
|
3994
|
-
DOUBLEVERIFY = 3.0 ,
|
|
3995
|
-
GOOGLE = 9.0 ,
|
|
3996
|
-
INTEGRAL_AD_SCIENCE = 4.0 ,
|
|
3997
|
-
MEETRICS = 8.0 ,
|
|
3998
|
-
MOAT = 2.0 ,
|
|
3999
|
-
NIELSEN = 6.0 ,
|
|
4000
|
-
OTHER = 1.0 ,
|
|
4001
|
-
PIXELATE = 5.0 ,
|
|
4002
|
-
}
|
|
4003
|
-
}
|
|
4004
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4005
|
-
declare namespace google.ima.dai.api.StreamEvent {
|
|
4006
|
-
enum Type {
|
|
4007
|
-
AD_BREAK_ENDED = 'adBreakEnded' ,
|
|
4008
|
-
AD_BREAK_STARTED = 'adBreakStarted' ,
|
|
4009
|
-
AD_PERIOD_ENDED = 'adPeriodEnded' ,
|
|
4010
|
-
AD_PERIOD_STARTED = 'adPeriodStarted' ,
|
|
4011
|
-
AD_PROGRESS = 'adProgress' ,
|
|
4012
|
-
CLICK = 'click' ,
|
|
4013
|
-
COMPLETE = 'complete' ,
|
|
4014
|
-
CUEPOINTS_CHANGED = 'cuepointsChanged' ,
|
|
4015
|
-
ERROR = 'error' ,
|
|
4016
|
-
FIRST_QUARTILE = 'firstquartile' ,
|
|
4017
|
-
LOADED = 'loaded' ,
|
|
4018
|
-
MIDPOINT = 'midpoint' ,
|
|
4019
|
-
SKIPPABLE_STATE_CHANGED = 'skippableStateChanged' ,
|
|
4020
|
-
SKIPPED = 'skip' ,
|
|
4021
|
-
STARTED = 'started' ,
|
|
4022
|
-
STREAM_INITIALIZED = 'streamInitialized' ,
|
|
4023
|
-
THIRD_QUARTILE = 'thirdquartile' ,
|
|
4024
|
-
VIDEO_CLICKED = 'videoClicked' ,
|
|
4025
|
-
}
|
|
4026
|
-
}
|
|
4027
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4028
|
-
declare namespace google.ima.dai.api {
|
|
4029
|
-
class StreamManager implements EventTarget {
|
|
4030
|
-
private noStructuralTyping_google_ima_dai_api_StreamManager : any;
|
|
4031
|
-
constructor (videoElement : HTMLMediaElement | null , adUiElement ? : HTMLElement | null , uiSettings ? : google.ima.dai.api.UiSettings | null ) ;
|
|
4032
|
-
addEventListener (type : string | any [] | null , handler : null | object , capture ? : boolean | AddEventListenerOptions , handlerScope ? : object | null ) : any ;
|
|
4033
|
-
contentTimeForStreamTime (streamTime : number ) : any ;
|
|
4034
|
-
dispatchEvent ( ) : any ;
|
|
4035
|
-
onTimedMetadata (metadata : object | null ) : any ;
|
|
4036
|
-
previousCuePointForStreamTime (streamTime : number ) : any ;
|
|
4037
|
-
processMetadata (type : string , data : Uint8Array | null | string , timestamp : number ) : any ;
|
|
4038
|
-
removeEventListener ( ) : any ;
|
|
4039
|
-
replaceAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4040
|
-
requestStream (streamRequest : google.ima.dai.api.StreamRequest | null ) : any ;
|
|
4041
|
-
reset ( ) : any ;
|
|
4042
|
-
setClickElement (clickElement : Element | null ) : any ;
|
|
4043
|
-
streamTimeForContentTime (contentTime : number ) : any ;
|
|
4044
|
-
}
|
|
4045
|
-
}
|
|
4046
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4047
|
-
declare namespace google.ima.dai.api.StreamRequest {
|
|
4048
|
-
enum StreamFormat {
|
|
4049
|
-
DASH = 'dash' ,
|
|
4050
|
-
HLS = 'hls' ,
|
|
4051
|
-
}
|
|
4052
|
-
}
|
|
4053
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
|
|
4054
|
-
declare namespace google.ima {
|
|
4055
|
-
let settings : google.ima.ImaSdkSettings ;
|
|
4056
|
-
}
|
|
4057
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
|
|
4058
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4059
|
-
/**
|
|
4060
|
-
* A JSON Web Key.
|
|
4061
|
-
*/
|
|
4062
|
-
class JWK {
|
|
4063
|
-
private noStructuralTyping_JWK : any;
|
|
4064
|
-
/**
|
|
4065
|
-
* A key in base 64. Used with kty="oct".
|
|
4066
|
-
*/
|
|
4067
|
-
k : string ;
|
|
4068
|
-
/**
|
|
4069
|
-
* A key ID. Any ASCII string.
|
|
4070
|
-
*/
|
|
4071
|
-
kid : string ;
|
|
4072
|
-
/**
|
|
4073
|
-
* A key type. One of:
|
|
4074
|
-
* 1. "oct" (symmetric key octect sequence)
|
|
4075
|
-
* 2. "RSA" (RSA key)
|
|
4076
|
-
* 3. "EC" (elliptical curve key)
|
|
4077
|
-
* Use "oct" for clearkey.
|
|
4078
|
-
*/
|
|
4079
|
-
kty : string ;
|
|
4080
|
-
}
|
|
4081
|
-
}
|
|
4082
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
|
|
4083
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4084
|
-
/**
|
|
4085
|
-
* A JSON Web Key set.
|
|
4086
|
-
*/
|
|
4087
|
-
class JWKSet {
|
|
4088
|
-
private noStructuralTyping_JWKSet : any;
|
|
4089
|
-
keys : ( JWK | null ) [] | null ;
|
|
4090
|
-
}
|
|
4091
|
-
}
|
|
4092
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4093
|
-
declare namespace LCEVCdec {
|
|
4094
|
-
/**
|
|
4095
|
-
* LCEVC Dec constructor
|
|
4096
|
-
*/
|
|
4097
|
-
class LCEVCdec {
|
|
4098
|
-
private noStructuralTyping_LCEVCdec_LCEVCdec : any;
|
|
4099
|
-
/**
|
|
4100
|
-
* LCEVC Dec constructor
|
|
4101
|
-
*/
|
|
4102
|
-
constructor (media : HTMLVideoElement | null , canvas : HTMLCanvasElement | null , lcevcConfig : shaka.extern.LcevcConfiguration ) ;
|
|
4103
|
-
/**
|
|
4104
|
-
* Append the video buffers before they are appended to
|
|
4105
|
-
* Media Source Extensions SourceBuffer. Here the lcevc data
|
|
4106
|
-
* will be parsed and managed to enhance frames based on timestamps.
|
|
4107
|
-
* @param data Video Buffer Data.
|
|
4108
|
-
* @param type Type of Video Buffer Data.
|
|
4109
|
-
* @param variantId Variant that the fragment belongs to.
|
|
4110
|
-
* @param timestampOffset Timestamp offset for appended segments
|
|
4111
|
-
*/
|
|
4112
|
-
appendBuffer (data : ArrayBuffer | ArrayBufferView , type : string , variantId : number , timestampOffset : number ) : any ;
|
|
4113
|
-
/**
|
|
4114
|
-
* Close LCEVC DEC
|
|
4115
|
-
*/
|
|
4116
|
-
close ( ) : any ;
|
|
4117
|
-
/**
|
|
4118
|
-
* Set container Format for LCEVC Data Parsing.
|
|
4119
|
-
* @param containerFormat container type of the stream.
|
|
4120
|
-
*/
|
|
4121
|
-
setContainerFormat (containerFormat : number ) : any ;
|
|
4122
|
-
/**
|
|
4123
|
-
* Set current variant as variantId to the LCEVC decoder
|
|
4124
|
-
* @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.
|
|
4125
|
-
*/
|
|
4126
|
-
setLevelSwitching (variantId : number , autoBufferSwitch : boolean ) : any ;
|
|
4127
|
-
/**
|
|
4128
|
-
* Set streaming Format for LCEVC Data Parsing.
|
|
4129
|
-
* @param streamingFormat container type of the stream.
|
|
4130
|
-
*/
|
|
4131
|
-
setStreamingFormat (streamingFormat : number ) : any ;
|
|
4132
|
-
}
|
|
4133
|
-
}
|
|
4134
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4135
|
-
declare namespace LCEVCdec {
|
|
4136
|
-
/**
|
|
4137
|
-
* The older module interface, for backward compatibility.
|
|
4138
|
-
* Typed to the same interface, but under a different name.
|
|
4139
|
-
*/
|
|
4140
|
-
export import LcevcDil = LCEVCdec.LCEVCdec ;
|
|
4141
|
-
}
|
|
4142
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4143
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4144
|
-
/**
|
|
4145
|
-
* LCEVC Support CheckList Error if any.
|
|
4146
|
-
*/
|
|
4147
|
-
let SupportError : string ;
|
|
4148
|
-
}
|
|
4149
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4150
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4151
|
-
/**
|
|
4152
|
-
* LCEVC Support Checklist Result
|
|
4153
|
-
*/
|
|
4154
|
-
let SupportStatus : boolean ;
|
|
4155
|
-
}
|
|
4156
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4157
|
-
declare namespace LCEVCdec.SupportObject {
|
|
4158
|
-
/**
|
|
4159
|
-
* Check if canvas has WebGL support
|
|
4160
|
-
*/
|
|
4161
|
-
function webGLSupport (canvas : HTMLCanvasElement | null ) : boolean ;
|
|
4162
|
-
}
|
|
4163
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/lcevc.js
|
|
4164
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4165
|
-
/**
|
|
4166
|
-
* Typedef for the module interface. Both LCEVCdec (new module) and LcevcDil
|
|
4167
|
-
* (old module) implement roughly the same interface.
|
|
4168
|
-
*/
|
|
4169
|
-
type LCEVCmodule = typeof LCEVCdec ;
|
|
4170
|
-
}
|
|
4171
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/managedmediasource.js
|
|
4172
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4173
|
-
class ManagedMediaSource extends MediaSource {
|
|
4174
|
-
private noStructuralTyping_ManagedMediaSource : any;
|
|
4175
|
-
static isTypeSupported (type : string ) : boolean ;
|
|
4176
|
-
}
|
|
4177
|
-
}
|
|
4178
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mdl.js
|
|
4179
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4180
|
-
class MaterialLayout {
|
|
4181
|
-
private noStructuralTyping_MaterialLayout : any;
|
|
4182
|
-
Constant_ : { MENU_ICON : string } ;
|
|
4183
|
-
toggleDrawer ( ) : any ;
|
|
4184
|
-
}
|
|
4185
|
-
}
|
|
4186
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/media_remote.js
|
|
4187
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4188
|
-
class RemotePlayback implements EventTarget {
|
|
4189
|
-
private noStructuralTyping_RemotePlayback : any;
|
|
4190
|
-
addEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | AddEventListenerOptions ) : void ;
|
|
4191
|
-
/**
|
|
4192
|
-
* The cancelWatchAvailability() method of the RemotePlayback interface
|
|
4193
|
-
* cancels the request to watch for one or all available devices.
|
|
4194
|
-
*/
|
|
4195
|
-
cancelWatchAvailability (id : number ) : Promise < any > ;
|
|
4196
|
-
dispatchEvent (evt : Event ) : boolean ;
|
|
4197
|
-
/**
|
|
4198
|
-
* The prompt() method of the RemotePlayback interface prompts the user
|
|
4199
|
-
* to select an available remote playback device and give permission
|
|
4200
|
-
* for the current media to be played using that device.
|
|
4201
|
-
*
|
|
4202
|
-
* If the user gives permission, the state will be set to connecting and
|
|
4203
|
-
* the user agent will connect to the device to initiate playback.
|
|
4204
|
-
*
|
|
4205
|
-
* If the user chooses to instead disconnect from the device, the state will
|
|
4206
|
-
* be set to disconnected and user agent will disconnect from this device.
|
|
4207
|
-
*/
|
|
4208
|
-
prompt ( ) : Promise < any > ;
|
|
4209
|
-
removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , opt_options ? : boolean | EventListenerOptions ) : void ;
|
|
4210
|
-
/**
|
|
4211
|
-
* Represents the RemotePlayback connection's state.
|
|
4212
|
-
*/
|
|
4213
|
-
state : string ;
|
|
4214
|
-
/**
|
|
4215
|
-
* The watchAvailability() method of the RemotePlayback interface watches
|
|
4216
|
-
* the list of available remote playback devices and returns a Promise that
|
|
4217
|
-
* resolves with the callbackId of a remote playback device.
|
|
4218
|
-
*/
|
|
4219
|
-
watchAvailability (callback : (a : boolean ) => any ) : Promise < any > ;
|
|
4220
|
-
}
|
|
4221
|
-
}
|
|
4222
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
|
|
4223
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4224
|
-
class MediaMetadata {
|
|
4225
|
-
private noStructuralTyping_MediaMetadata : any;
|
|
4226
|
-
constructor (options : any ) ;
|
|
4227
|
-
artist : string ;
|
|
4228
|
-
artwork : object ;
|
|
4229
|
-
title : string ;
|
|
4230
|
-
}
|
|
4231
|
-
}
|
|
4232
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
|
|
4233
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4234
|
-
class MediaSession {
|
|
4235
|
-
private noStructuralTyping_MediaSession : any;
|
|
4236
|
-
callback (a : { action : string , seekOffset : number | null } ) : any ;
|
|
4237
|
-
metadata : MediaMetadata | null ;
|
|
4238
|
-
type : string ;
|
|
4239
|
-
setActionHandler (type : any , callback : any ) : any ;
|
|
4240
|
-
}
|
|
4241
|
-
}
|
|
4242
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4243
|
-
declare namespace mediaTailor {
|
|
4244
|
-
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 [] } ;
|
|
4245
|
-
}
|
|
4246
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4247
|
-
declare namespace mediaTailor {
|
|
4248
|
-
type AdBreak = { adBreakTrackingEvents : mediaTailor.TrackingEvent [] , ads : mediaTailor.Ad [] , durationInSeconds : number , nonLinearAdsList : mediaTailor.Ad [] , startTimeInSeconds : number } ;
|
|
4249
|
-
}
|
|
4250
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4251
|
-
declare namespace mediaTailor {
|
|
4252
|
-
type NonLinearAd = { adId : string , adParameters : string , adSystem : string , adTitle : string , creativeAdId : string , creativeId : string , creativeSequence : string , height : number | null , staticResource : string , width : number | null } ;
|
|
4253
|
-
}
|
|
4254
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4255
|
-
declare namespace mediaTailor {
|
|
4256
|
-
type SessionResponse = { manifestUrl : string | null , trackingUrl : string | null } ;
|
|
4257
|
-
}
|
|
4258
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4259
|
-
declare namespace mediaTailor {
|
|
4260
|
-
type TrackingEvent = { beaconUrls : string [] , eventType : string } ;
|
|
4261
|
-
}
|
|
4262
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4263
|
-
declare namespace mediaTailor {
|
|
4264
|
-
type TrackingResponse = { avails : mediaTailor.AdBreak [] } ;
|
|
4265
|
-
}
|
|
4266
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4267
|
-
declare namespace mediaTailorExternalResource {
|
|
4268
|
-
type App = { data : mediaTailorExternalResource.AppData , placeholder : mediaTailorExternalResource.AppPlaceholder } ;
|
|
4269
|
-
}
|
|
4270
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4271
|
-
declare namespace mediaTailorExternalResource {
|
|
4272
|
-
type AppData = { source : mediaTailorExternalResource.AppDataSource [] } ;
|
|
4273
|
-
}
|
|
4274
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4275
|
-
declare namespace mediaTailorExternalResource {
|
|
4276
|
-
type AppDataSource = { url : string } ;
|
|
4277
|
-
}
|
|
4278
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4279
|
-
declare namespace mediaTailorExternalResource {
|
|
4280
|
-
type AppPlaceholder = { left : number , top : number } ;
|
|
4281
|
-
}
|
|
4282
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/mediatailor.js
|
|
4283
|
-
declare namespace mediaTailorExternalResource {
|
|
4284
|
-
type Response = { apps : mediaTailorExternalResource.App [] } ;
|
|
4285
|
-
}
|
|
4286
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4287
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4288
|
-
class DocumentPictureInPicture implements EventTarget {
|
|
4289
|
-
private noStructuralTyping_DocumentPictureInPicture : any;
|
|
4290
|
-
addEventListener (type : any , listener : any , options : any ) : any ;
|
|
4291
|
-
dispatchEvent (event : any ) : any ;
|
|
4292
|
-
removeEventListener (type : any , listener : any , options : any ) : any ;
|
|
4293
|
-
requestWindow (options : DocumentPictureInPictureOptions ) : Promise < Window | null > ;
|
|
4294
|
-
window : Window | null ;
|
|
4295
|
-
}
|
|
4296
|
-
}
|
|
4297
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4298
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4299
|
-
class DocumentPictureInPictureEvent extends Event {
|
|
4300
|
-
private noStructuralTyping_DocumentPictureInPictureEvent : any;
|
|
4301
|
-
constructor ( ) ;
|
|
4302
|
-
window : Window | null ;
|
|
4303
|
-
}
|
|
4304
|
-
}
|
|
4305
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/pictureinpicture.js
|
|
4306
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4307
|
-
type DocumentPictureInPictureOptions = { height ? : number , width ? : number } ;
|
|
4308
|
-
}
|
|
4309
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/playstation.js
|
|
4310
|
-
declare namespace msdk.device {
|
|
4311
|
-
function getDisplayInfo ( ) : Promise < { resolution : string } > ;
|
|
4312
|
-
}
|
|
4313
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/playstation.js
|
|
4314
|
-
declare namespace msdk.device {
|
|
4315
|
-
function getDisplayInfoImmediate ( ) : Promise < { resolution : string } > ;
|
|
4316
|
-
}
|
|
4317
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
|
|
4318
|
-
declare namespace window {
|
|
4319
|
-
let shakaMediaKeysPolyfill : string ;
|
|
4320
|
-
}
|
|
4321
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4322
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4323
|
-
class MediaKeyError {
|
|
4324
|
-
private noStructuralTyping_MediaKeyError : any;
|
|
4325
|
-
code : number ;
|
|
4326
|
-
systemCode : number ;
|
|
4327
|
-
}
|
|
4328
|
-
}
|
|
4329
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
|
|
4330
|
-
declare namespace ಠ_ಠ.clutz {
|
|
4331
|
-
class MediaKeyEvent extends Event {
|
|
4332
|
-
private noStructuralTyping_MediaKeyEvent : any;
|
|
4333
|
-
constructor (type : string , eventInitDict ? : object | null ) ;
|
|
4334
|
-
defaultURL : string ;
|
|
4335
|
-
errorCode : MediaKeyError | null ;
|
|
4336
|
-
initData : Uint8Array ;
|
|
4337
|
-
keySystem : string ;
|
|
4338
|
-
message : Uint8Array ;
|
|
4339
|
-
sessionId : string ;
|
|
4340
|
-
systemCode : number ;
|
|
4341
|
-
target : HTMLMediaElement ;
|
|
4342
|
-
}
|
|
4343
|
-
}
|
|
4344
3721
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abortable.js
|
|
4345
3722
|
declare namespace shaka.extern {
|
|
4346
3723
|
/**
|
|
@@ -4551,7 +3928,7 @@ declare namespace shaka.extern {
|
|
|
4551
3928
|
* playing content, this will return an empty stats object.
|
|
4552
3929
|
*/
|
|
4553
3930
|
getStats ( ) : any ;
|
|
4554
|
-
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings :
|
|
3931
|
+
initClientSide (adContainer : HTMLElement , video : HTMLMediaElement , adsRenderingSettings : any | null ) : any ;
|
|
4555
3932
|
initMediaTailor (adContainer : HTMLElement , networkingEngine : shaka.net.NetworkingEngine , video : HTMLMediaElement ) : any ;
|
|
4556
3933
|
initServerSide (adContainer : HTMLElement , video : HTMLMediaElement ) : any ;
|
|
4557
3934
|
onAssetUnload ( ) : any ;
|
|
@@ -4564,11 +3941,11 @@ declare namespace shaka.extern {
|
|
|
4564
3941
|
onManifestUpdated (isLive : boolean ) : any ;
|
|
4565
3942
|
release ( ) : any ;
|
|
4566
3943
|
replaceServerSideAdTagParameters (adTagParameters : object | null ) : any ;
|
|
4567
|
-
requestClientSideAds (imaRequest :
|
|
3944
|
+
requestClientSideAds (imaRequest : any ) : any ;
|
|
4568
3945
|
requestMediaTailorStream (url : string , adsParams : object | null , backupUrl ? : string ) : Promise < string > ;
|
|
4569
|
-
requestServerSideStream (imaRequest :
|
|
3946
|
+
requestServerSideStream (imaRequest : any , backupUrl ? : string ) : Promise < string > ;
|
|
4570
3947
|
setLocale (locale : string ) : any ;
|
|
4571
|
-
updateClientSideAdsRenderingSettings (adsRenderingSettings :
|
|
3948
|
+
updateClientSideAdsRenderingSettings (adsRenderingSettings : any ) : any ;
|
|
4572
3949
|
}
|
|
4573
3950
|
}
|
|
4574
3951
|
// Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
|
|
@@ -5392,69 +4769,3 @@ declare namespace shaka.extern {
|
|
|
5392
4769
|
declare namespace shaka.extern {
|
|
5393
4770
|
type TransmuxerPlugin = ( ) => shaka.extern.Transmuxer ;
|
|
5394
4771
|
}
|
|
5395
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tippy.js
|
|
5396
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5397
|
-
/**
|
|
5398
|
-
* This is the subset of this method that we use in our demo code.
|
|
5399
|
-
*/
|
|
5400
|
-
function tippy (element : Element , config : object ) : any ;
|
|
5401
|
-
}
|
|
5402
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5403
|
-
declare namespace webapis.productinfo {
|
|
5404
|
-
function is8KPanelSupported ( ) : boolean ;
|
|
5405
|
-
}
|
|
5406
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5407
|
-
declare namespace webapis.productinfo {
|
|
5408
|
-
function isUdPanelSupported ( ) : boolean ;
|
|
5409
|
-
}
|
|
5410
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/tizen.js
|
|
5411
|
-
declare namespace webapis.systeminfo {
|
|
5412
|
-
function getMaxVideoResolution ( ) : { height : number , width : number } ;
|
|
5413
|
-
}
|
|
5414
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5415
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5416
|
-
class WebKitMediaKeyError {
|
|
5417
|
-
private noStructuralTyping_WebKitMediaKeyError : any;
|
|
5418
|
-
code : number ;
|
|
5419
|
-
systemCode : number ;
|
|
5420
|
-
static MEDIA_KEYERR_CLIENT : number ;
|
|
5421
|
-
static MEDIA_KEYERR_DOMAIN : number ;
|
|
5422
|
-
static MEDIA_KEYERR_HARDWARECHANGE : number ;
|
|
5423
|
-
static MEDIA_KEYERR_OUTPUT : number ;
|
|
5424
|
-
static MEDIA_KEYERR_SERVICE : number ;
|
|
5425
|
-
static MEDIA_KEYERR_UNKNOWN : number ;
|
|
5426
|
-
}
|
|
5427
|
-
}
|
|
5428
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5429
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5430
|
-
interface WebKitMediaKeySession extends EventTarget {
|
|
5431
|
-
addEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
5432
|
-
close ( ) : any ;
|
|
5433
|
-
dispatchEvent (evt : any ) : any ;
|
|
5434
|
-
error : WebKitMediaKeyError | null ;
|
|
5435
|
-
removeEventListener (type : any , listener : any , useCapture : any ) : any ;
|
|
5436
|
-
sessionId : string ;
|
|
5437
|
-
update (message : Uint8Array | null ) : any ;
|
|
5438
|
-
}
|
|
5439
|
-
}
|
|
5440
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
|
|
5441
|
-
declare namespace ಠ_ಠ.clutz {
|
|
5442
|
-
class WebKitMediaKeys {
|
|
5443
|
-
private noStructuralTyping_WebKitMediaKeys : any;
|
|
5444
|
-
constructor (keySystem : string ) ;
|
|
5445
|
-
createSession (contentType : string , initData : Uint8Array | null ) : WebKitMediaKeySession ;
|
|
5446
|
-
static isTypeSupported (keySystem : string , contentType : string ) : boolean ;
|
|
5447
|
-
}
|
|
5448
|
-
}
|
|
5449
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/webos.js
|
|
5450
|
-
declare namespace PalmSystem {
|
|
5451
|
-
let deviceInfo : string ;
|
|
5452
|
-
}
|
|
5453
|
-
// Generated from /home/runner/work/shaka-player/shaka-player/externs/xbox.js
|
|
5454
|
-
declare namespace Windows.Media.Protection {
|
|
5455
|
-
enum ProtectionCapabilityResult {
|
|
5456
|
-
maybe = 'Maybe' ,
|
|
5457
|
-
notSupported = 'NotSupported' ,
|
|
5458
|
-
probably = 'Probably' ,
|
|
5459
|
-
}
|
|
5460
|
-
}
|