@volcengine/veplayer 1.9.3-rc.1 → 1.9.3-rc.3

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
@@ -2137,7 +2137,17 @@ export interface IGetPlayInfoRes {
2137
2137
  TotalCount: number;
2138
2138
  Version: number;
2139
2139
  }
2140
- declare enum CodecType {
2140
+ /**
2141
+ * @author bytedance
2142
+ * @version 1.0
2143
+ * @Description
2144
+ * @date 2024/5/17 15:53
2145
+ */
2146
+ /** {zh}
2147
+ * @list Options
2148
+ * @brief 视频编码格式。
2149
+ */
2150
+ export declare const enum CodecType {
2141
2151
  /** {zh}
2142
2152
  * @brief H.264
2143
2153
  */
@@ -3996,9 +4006,21 @@ declare enum UmdKeys {
3996
4006
  * @breif umdmap 配置
3997
4007
  */
3998
4008
  export declare type UMDMap = Record<UmdKeys, {
4009
+ /**
4010
+ * umd Module 的名称,即在window下暴露的接口名称
4011
+ */
3999
4012
  name: string;
4013
+ /**
4014
+ * 对应umd文件名,只用来标记,实际不使用
4015
+ */
4000
4016
  pluginName?: string;
4017
+ /**
4018
+ * 对应npm包的名称,在打包文件时,会在libd.config.js中onPostBuild的钩子中会用于寻找对应npm包
4019
+ */
4001
4020
  packageName: string;
4021
+ /**
4022
+ * npm包中umd入口文件路径,用于打包上传到cdn目录
4023
+ */
4002
4024
  devPath: string;
4003
4025
  }>;
4004
4026
  declare class umdLoader {
@@ -4200,6 +4222,11 @@ declare class VePlayer {
4200
4222
  static isRTMSupportCodec: (codec: RTMCodec, options: {
4201
4223
  targetProfileLevel?: string;
4202
4224
  }) => Promise<boolean>;
4225
+ /**
4226
+ * @brief 当前浏览器环境是否支持商业drm防录屏
4227
+ * @return boolean 是否支持商业drm防录屏
4228
+ */
4229
+ static isDrmSupportUnRecord(): Promise<boolean>;
4203
4230
  private vodLogCommon;
4204
4231
  /**
4205
4232
  * @hidden
@@ -4700,11 +4727,6 @@ declare class VePlayer {
4700
4727
  * @param pluginName 插件名。
4701
4728
  */
4702
4729
  getPlugin(pluginName: string): null | BasePlugin;
4703
- /**
4704
- * @brief 当前浏览器环境是否支持商业drm防录屏
4705
- * @return boolean 是否支持商业drm防录屏
4706
- */
4707
- isDrmSupportUnRecord(): Promise<boolean>;
4708
4730
  /** {zh}
4709
4731
  * @memberof VePlayer
4710
4732
  * @brief 销毁当前播放器实例。
@@ -5518,9 +5540,11 @@ export declare const Events: {
5518
5540
  */
5519
5541
  SHORTCUT: string;
5520
5542
  /** {zh}
5543
+ * @deprecated
5521
5544
  * @brief SEI 信息解析。
5522
5545
  */
5523
5546
  /** {en}
5547
+ * @deprecated
5524
5548
  * @brief The player parses the SEI information.
5525
5549
  */
5526
5550
  SEI_PARSED: string;
@@ -5835,9 +5859,11 @@ export declare const Event: {
5835
5859
  */
5836
5860
  SHORTCUT: string;
5837
5861
  /** {zh}
5862
+ * @deprecated
5838
5863
  * @brief SEI 信息解析。
5839
5864
  */
5840
5865
  /** {en}
5866
+ * @deprecated
5841
5867
  * @brief The player parses the SEI information.
5842
5868
  */
5843
5869
  SEI_PARSED: string;