@volcengine/veplayer 1.9.4-rc.4 → 1.9.4-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -9
- package/index.min.js +2 -2
- package/package.json +1 -1
- package/plugin/hlsEncrypt.js +2 -2
package/index.d.ts
CHANGED
|
@@ -3617,7 +3617,7 @@ declare enum StrategyNames {
|
|
|
3617
3617
|
/**{zh}
|
|
3618
3618
|
* @hidden
|
|
3619
3619
|
* h265策略配置
|
|
3620
|
-
* @detail
|
|
3620
|
+
* @detail Options
|
|
3621
3621
|
*/
|
|
3622
3622
|
export declare type IH265Config = {
|
|
3623
3623
|
/**
|
|
@@ -3631,7 +3631,7 @@ export declare type IH265Config = {
|
|
|
3631
3631
|
} & VeStrategyH265Config;
|
|
3632
3632
|
/**{zh}
|
|
3633
3633
|
* 预加载初始配置
|
|
3634
|
-
* @detail
|
|
3634
|
+
* @detail Options
|
|
3635
3635
|
*/
|
|
3636
3636
|
export declare type IPreloadConfig = {
|
|
3637
3637
|
/**
|
|
@@ -3684,11 +3684,10 @@ export declare type IAdaptRangeConfig = {
|
|
|
3684
3684
|
};
|
|
3685
3685
|
/**{zh}
|
|
3686
3686
|
* 高级能力(策略)配置
|
|
3687
|
-
* @detail
|
|
3687
|
+
* @detail Options
|
|
3688
3688
|
*/
|
|
3689
3689
|
export declare type StrategyConfigOptions = {
|
|
3690
3690
|
/**
|
|
3691
|
-
* @hidden
|
|
3692
3691
|
* h265策略配置
|
|
3693
3692
|
*/
|
|
3694
3693
|
[StrategyNames.H265]?: boolean | IH265Config;
|
|
@@ -3703,7 +3702,7 @@ export declare type StrategyConfigOptions = {
|
|
|
3703
3702
|
};
|
|
3704
3703
|
/**{zh}
|
|
3705
3704
|
* 播放器预初始化配置
|
|
3706
|
-
* @detail
|
|
3705
|
+
* @detail Options
|
|
3707
3706
|
*/
|
|
3708
3707
|
export declare type StrategyInitOptions = {
|
|
3709
3708
|
/**
|
|
@@ -3729,7 +3728,7 @@ export declare type StrategyInitOptions = {
|
|
|
3729
3728
|
};
|
|
3730
3729
|
/**{zh}
|
|
3731
3730
|
* 预加载实例,通过预加载实例可执行一些高级方法
|
|
3732
|
-
* @detail
|
|
3731
|
+
* @detail Options
|
|
3733
3732
|
*/
|
|
3734
3733
|
export declare type PreloaderManager = {
|
|
3735
3734
|
/**
|
|
@@ -3765,7 +3764,7 @@ declare enum PreloaderStatus {
|
|
|
3765
3764
|
}
|
|
3766
3765
|
/**{zh}
|
|
3767
3766
|
* 预加载配置更新
|
|
3768
|
-
* @detail
|
|
3767
|
+
* @detail Options
|
|
3769
3768
|
*/
|
|
3770
3769
|
export declare type IPreloadUpdateConfig = {
|
|
3771
3770
|
/**
|
|
@@ -3779,7 +3778,7 @@ export declare type IPreloadUpdateConfig = {
|
|
|
3779
3778
|
};
|
|
3780
3779
|
/**{zh}
|
|
3781
3780
|
* 预加载视频资源
|
|
3782
|
-
* @detail
|
|
3781
|
+
* @detail Options
|
|
3783
3782
|
*/
|
|
3784
3783
|
export declare type IPreloadStream = {
|
|
3785
3784
|
/**
|
|
@@ -4257,7 +4256,7 @@ declare class VePlayer {
|
|
|
4257
4256
|
*/
|
|
4258
4257
|
static sdkVersion: string;
|
|
4259
4258
|
/**{zh}
|
|
4260
|
-
* @brief
|
|
4259
|
+
* @brief 播放策略预初始化配置
|
|
4261
4260
|
* @param options 初始化配置,详情见{@link StrategyInitOptions}
|
|
4262
4261
|
*/
|
|
4263
4262
|
static prepare(options: StrategyInitOptions): Promise<void>;
|