@byteplus/veplayer 1.9.7-rc.8 → 1.9.7

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 CHANGED
@@ -4114,6 +4114,10 @@ declare abstract class AbstractBaseAdapter {
4114
4114
  playerData: PlayerData;
4115
4115
  streamType: string;
4116
4116
  });
4117
+ /**
4118
+ * @description 是否使用原生video的abr能力
4119
+ */
4120
+ abstract useNativeAbr(): boolean;
4117
4121
  abstract canOpenAbr(vidPlayInfo?: VideoInfoRes): boolean;
4118
4122
  abstract applyAbrPluginConfig(_finalOptions: any, _autoBitrateOpts: any): void;
4119
4123
  abstract prepareAbrModule(_playerData: any, _sdkUmdLoader: any): void;
@@ -4384,7 +4388,7 @@ declare class umdLoader {
4384
4388
  */
4385
4389
  export declare type PlayerCore = Player & {
4386
4390
  sdk?: VePlayer;
4387
- changePluginsIcon?: (name: any, isShow: any) => void;
4391
+ changePluginsIcon?: (name: string, isShow: boolean) => void;
4388
4392
  playerData?: PlayerData;
4389
4393
  playerType?: string;
4390
4394
  playerVersion?: string;