@byteplus/veplayer 1.9.3-rc.1 → 1.9.3-rc.2
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 +16 -6
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2137,7 +2137,17 @@ export interface IGetPlayInfoRes {
|
|
|
2137
2137
|
TotalCount: number;
|
|
2138
2138
|
Version: number;
|
|
2139
2139
|
}
|
|
2140
|
-
|
|
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
|
*/
|
|
@@ -4200,6 +4210,11 @@ declare class VePlayer {
|
|
|
4200
4210
|
static isRTMSupportCodec: (codec: RTMCodec, options: {
|
|
4201
4211
|
targetProfileLevel?: string;
|
|
4202
4212
|
}) => Promise<boolean>;
|
|
4213
|
+
/**
|
|
4214
|
+
* @brief 当前浏览器环境是否支持商业drm防录屏
|
|
4215
|
+
* @return boolean 是否支持商业drm防录屏
|
|
4216
|
+
*/
|
|
4217
|
+
static isDrmSupportUnRecord(): Promise<boolean>;
|
|
4203
4218
|
private vodLogCommon;
|
|
4204
4219
|
/**
|
|
4205
4220
|
* @hidden
|
|
@@ -4700,11 +4715,6 @@ declare class VePlayer {
|
|
|
4700
4715
|
* @param pluginName 插件名。
|
|
4701
4716
|
*/
|
|
4702
4717
|
getPlugin(pluginName: string): null | BasePlugin;
|
|
4703
|
-
/**
|
|
4704
|
-
* @brief 当前浏览器环境是否支持商业drm防录屏
|
|
4705
|
-
* @return boolean 是否支持商业drm防录屏
|
|
4706
|
-
*/
|
|
4707
|
-
isDrmSupportUnRecord(): Promise<boolean>;
|
|
4708
4718
|
/** {zh}
|
|
4709
4719
|
* @memberof VePlayer
|
|
4710
4720
|
* @brief 销毁当前播放器实例。
|