@volcengine/veplayer 1.5.10 → 1.5.13
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/index.d.ts +6 -0
- package/dist/index.min.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -985,6 +985,9 @@ declare enum CodecType {
|
|
|
985
985
|
H265 = "h265",
|
|
986
986
|
H264 = "h264"
|
|
987
987
|
}
|
|
988
|
+
declare enum RTMCodec {
|
|
989
|
+
H264 = "h264"
|
|
990
|
+
}
|
|
988
991
|
export declare type PLAY_MODE_TYPE = "order" | "sloop" | "loop" | "random";
|
|
989
992
|
export interface IMusicListItem {
|
|
990
993
|
/**
|
|
@@ -1973,6 +1976,9 @@ declare class VePlayer {
|
|
|
1973
1976
|
private sdkUmdLoader;
|
|
1974
1977
|
static isMSESupported: typeof isMSESupport;
|
|
1975
1978
|
static isRTMSupported: typeof import("@byted/xgplayer-rts").RtsPlugin.isSupported;
|
|
1979
|
+
static isRTMSupportCodec: (codec: RTMCodec, options: {
|
|
1980
|
+
targetProfileLevel?: string;
|
|
1981
|
+
}) => Promise<boolean>;
|
|
1976
1982
|
static playerVersion: string;
|
|
1977
1983
|
constructor(configs: IPlayerConfig);
|
|
1978
1984
|
/**
|