@volcengine/veplayer 2.10.3 → 2.10.4-rc.1
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/esm/veplayer.biz.live.development.js +9 -4
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +2 -1
- package/esm/veplayer.development.js +10 -5
- package/esm/veplayer.live.d.ts +2 -1
- package/esm/veplayer.live.development.js +10 -5
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.development.js +1 -1
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +9 -4
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +2 -1
- package/umd/veplayer.development.js +10 -5
- package/umd/veplayer.live.d.ts +2 -1
- package/umd/veplayer.live.development.js +10 -5
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +2 -1
- package/veplayer.live.d.ts +2 -1
package/esm/veplayer.d.ts
CHANGED
|
@@ -7519,6 +7519,7 @@ declare function isRTMSupported(): Promise<boolean>;
|
|
|
7519
7519
|
* @returns
|
|
7520
7520
|
*/
|
|
7521
7521
|
declare function isRTMSupportCodec(codec?: string): Promise<boolean>;
|
|
7522
|
+
declare function isRTMSeiSupported(): Promise<boolean>;
|
|
7522
7523
|
/** {zh}
|
|
7523
7524
|
* @detail api
|
|
7524
7525
|
* @brief 检查当前浏览器是否支持 FLV 格式流的编码信息。
|
|
@@ -13939,4 +13940,4 @@ declare namespace live {
|
|
|
13939
13940
|
const ERRORS: Partial<Record<ValueOf<typeof ErrorCode$0>, error.ErrorInfo<TextKey$0>>>;
|
|
13940
13941
|
function create$0(errorCode: ValueOf<typeof ErrorCode$0>, i18n?: VeI18n<TextKey$0>): error.VeError<"DEFINITION_FALLBACK_TOAST" | "DEFINITION_SWITCHING" | "ERROR_REFRESH" | "UNMUTE" | "MANIFEST" | "NETWORK" | "NETWORK_TIMEOUT" | "NETWORK_FORBIDDEN" | "NETWORK_NOTFOUND" | "DEMUX" | "REMUX" | "MEDIA" | "MEDIA_ERR_CODEC_NOT_SUPPORTED" | "MEDIA_ERR_URL_EMPTY" | "DRM" | "DRM_LICENSE" | "DRM_UNSUPPORTED" | "DRM_NO_MEDIA_KEY" | "DRM_NO_KEY_SESSION" | "DRM_GENERATE_QUEST_FAIL" | "DRM_LACK_SERVER_CERTIFICATE_PATH" | "DRM_LACK_SERVER_PROCESS_SPC_PATH" | "DRM_LICENSE_FAIL" | "DRM_KEY_ERROR" | "DRM_CERT_FAIL" | "OTHER" | "RUNTIME" | "MODULE_LOAD_ERROR" | "UNKNOWN" | "ERROR_TYPES" | "HAVE_NOTHING" | "HAVE_METADATA" | "HAVE_CURRENT_DATA" | "HAVE_FUTURE_DATA" | "HAVE_ENOUGH_DATA" | "NETWORK_EMPTY" | "NETWORK_IDLE" | "NETWORK_LOADING" | "NETWORK_NO_SOURCE" | "MEDIA_ERR_ABORTED" | "MEDIA_ERR_NETWORK" | "MEDIA_ERR_DECODE" | "MEDIA_ERR_SRC_NOT_SUPPORTED" | "REPLAY" | "ERROR" | "PLAY_TIPS" | "PAUSE_TIPS" | "PLAYNEXT_TIPS" | "DOWNLOAD_TIPS" | "ROTATE_TIPS" | "RELOAD_TIPS" | "FULLSCREEN_TIPS" | "EXITFULLSCREEN_TIPS" | "CSSFULLSCREEN_TIPS" | "EXITCSSFULLSCREEN_TIPS" | "TEXTTRACK" | "PIP" | "SCREENSHOT" | "LIVE" | "OFF" | "OPEN" | "MINI_DRAG" | "MINISCREEN" | "REFRESH_TIPS" | "REFRESH" | "FORWARD" | "LIVE_TIP" | "GOP" | "INVALID_PARAMETER" | "EMPTY_RTM_FALLBACK_PARAMETER" | "INVALID_LOGGER" | "FORMAT" | "FPS" | "BITRATE" | "RESOLUTION" | "ENCODE_TYPE" | "BUFFER_END" | "CURRENT_TIME" | "DECODE_EFFICIENCY" | "DECODE_COST" | "DECODE_INFO">;
|
|
13941
13942
|
}
|
|
13942
|
-
export { Codec, DecodeType, Degradation, DynamicModule, RTMCodec, ListType, Plugin, ExposedSource, VePlayerLive, util, register, registerPlugin, createLivePlayer, isMseSupported, isSoftDecodeSupported, isRTMSupported, isFLVSupported, isRTMSupportCodec, isMMSSupported, load, POSITIONS, EN, ZH_CN, Sniffer, live };
|
|
13943
|
+
export { Codec, DecodeType, Degradation, DynamicModule, RTMCodec, ListType, Plugin, ExposedSource, VePlayerLive, util, register, registerPlugin, createLivePlayer, isMseSupported, isSoftDecodeSupported, isRTMSupported, isFLVSupported, isRTMSupportCodec, isRTMSeiSupported, isMMSSupported, load, POSITIONS, EN, ZH_CN, Sniffer, live };
|
|
@@ -14576,7 +14576,7 @@ class VePlayerBase {
|
|
|
14576
14576
|
* @brief Retrieve the player SDK version number.
|
|
14577
14577
|
*/
|
|
14578
14578
|
get playerVersion() {
|
|
14579
|
-
return "2.10.
|
|
14579
|
+
return "2.10.4-rc.1";
|
|
14580
14580
|
}
|
|
14581
14581
|
/** {zh}
|
|
14582
14582
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -55415,10 +55415,10 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
55415
55415
|
device_id: deviceId,
|
|
55416
55416
|
error_report_stop: true,
|
|
55417
55417
|
ext: {
|
|
55418
|
-
veplayer_version: "2.10.
|
|
55419
|
-
flv_version: "3.0.23-rc.
|
|
55418
|
+
veplayer_version: "2.10.4-rc.1",
|
|
55419
|
+
flv_version: "3.0.23-rc.7",
|
|
55420
55420
|
hls_version: "3.0.21-rc.21",
|
|
55421
|
-
rts_version: "0.2.1-alpha.
|
|
55421
|
+
rts_version: "0.2.1-alpha.62"
|
|
55422
55422
|
}
|
|
55423
55423
|
});
|
|
55424
55424
|
}
|
|
@@ -56268,6 +56268,10 @@ async function isRTMSupportCodec(codec = RTMCodec.H264) {
|
|
|
56268
56268
|
return RtmPlugin.isSupportedH264();
|
|
56269
56269
|
return false;
|
|
56270
56270
|
}
|
|
56271
|
+
async function isRTMSeiSupported() {
|
|
56272
|
+
const { RtmPlugin } = await load(DynamicModule.PluginRtm);
|
|
56273
|
+
return RtmPlugin.isEncodedTransformSupported();
|
|
56274
|
+
}
|
|
56271
56275
|
const rtmStrategy = {
|
|
56272
56276
|
options: {},
|
|
56273
56277
|
module: DynamicModule.PluginRtm
|
|
@@ -72878,7 +72882,7 @@ async function prepare(options) {
|
|
|
72878
72882
|
}
|
|
72879
72883
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
72880
72884
|
...options,
|
|
72881
|
-
playerVersion: "2.10.
|
|
72885
|
+
playerVersion: "2.10.4-rc.1",
|
|
72882
72886
|
type: "LIVE"
|
|
72883
72887
|
}));
|
|
72884
72888
|
return liveVeStrategy.veStrategyManager;
|
|
@@ -72910,6 +72914,7 @@ export {
|
|
|
72910
72914
|
isFLVSupported,
|
|
72911
72915
|
isMMSSupported$1 as isMMSSupported,
|
|
72912
72916
|
isMseSupported$2 as isMseSupported,
|
|
72917
|
+
isRTMSeiSupported,
|
|
72913
72918
|
isRTMSupportCodec,
|
|
72914
72919
|
isRTMSupported,
|
|
72915
72920
|
isSoftDecodeSupported,
|
package/esm/veplayer.live.d.ts
CHANGED
|
@@ -7519,6 +7519,7 @@ declare function isRTMSupported(): Promise<boolean>;
|
|
|
7519
7519
|
* @returns
|
|
7520
7520
|
*/
|
|
7521
7521
|
declare function isRTMSupportCodec(codec?: string): Promise<boolean>;
|
|
7522
|
+
declare function isRTMSeiSupported(): Promise<boolean>;
|
|
7522
7523
|
/** {zh}
|
|
7523
7524
|
* @detail api
|
|
7524
7525
|
* @brief 检查当前浏览器是否支持 FLV 格式流的编码信息。
|
|
@@ -13947,4 +13948,4 @@ declare const enum DrmType {
|
|
|
13947
13948
|
declare const isMseSupported$0: typeof isMseSupported;
|
|
13948
13949
|
declare const isSoftDecodeSupported$0: typeof isSoftDecodeSupported;
|
|
13949
13950
|
declare const isMMSSupported$0: typeof isMMSSupported;
|
|
13950
|
-
export { Codec, DecodeType, Degradation, DynamicModule, RTMCodec, ListType, DrmType, Plugin, ExposedSource, VePlayerLive, util, register, registerPlugin, createLivePlayer, isMseSupported$0 as isMseSupported, isSoftDecodeSupported$0 as isSoftDecodeSupported, isRTMSupported, isFLVSupported, isRTMSupportCodec, isMMSSupported$0 as isMMSSupported, load, POSITIONS, EN, ZH_CN, Sniffer, live };
|
|
13951
|
+
export { Codec, DecodeType, Degradation, DynamicModule, RTMCodec, ListType, DrmType, Plugin, ExposedSource, VePlayerLive, util, register, registerPlugin, createLivePlayer, isMseSupported$0 as isMseSupported, isSoftDecodeSupported$0 as isSoftDecodeSupported, isRTMSupported, isFLVSupported, isRTMSupportCodec, isRTMSeiSupported, isMMSSupported$0 as isMMSSupported, load, POSITIONS, EN, ZH_CN, Sniffer, live };
|
|
@@ -14576,7 +14576,7 @@ class VePlayerBase {
|
|
|
14576
14576
|
* @brief Retrieve the player SDK version number.
|
|
14577
14577
|
*/
|
|
14578
14578
|
get playerVersion() {
|
|
14579
|
-
return "2.10.
|
|
14579
|
+
return "2.10.4-rc.1";
|
|
14580
14580
|
}
|
|
14581
14581
|
/** {zh}
|
|
14582
14582
|
* @brief 获取当前播放视频的清晰度唯一标识(definition)。
|
|
@@ -55415,10 +55415,10 @@ let Logger$1 = class Logger2 extends Plugin {
|
|
|
55415
55415
|
device_id: deviceId,
|
|
55416
55416
|
error_report_stop: true,
|
|
55417
55417
|
ext: {
|
|
55418
|
-
veplayer_version: "2.10.
|
|
55419
|
-
flv_version: "3.0.23-rc.
|
|
55418
|
+
veplayer_version: "2.10.4-rc.1",
|
|
55419
|
+
flv_version: "3.0.23-rc.7",
|
|
55420
55420
|
hls_version: "3.0.21-rc.21",
|
|
55421
|
-
rts_version: "0.2.1-alpha.
|
|
55421
|
+
rts_version: "0.2.1-alpha.62"
|
|
55422
55422
|
}
|
|
55423
55423
|
});
|
|
55424
55424
|
}
|
|
@@ -56274,6 +56274,10 @@ async function isRTMSupportCodec(codec = RTMCodec.H264) {
|
|
|
56274
56274
|
return RtmPlugin.isSupportedH264();
|
|
56275
56275
|
return false;
|
|
56276
56276
|
}
|
|
56277
|
+
async function isRTMSeiSupported() {
|
|
56278
|
+
const { RtmPlugin } = await load(DynamicModule.PluginRtm);
|
|
56279
|
+
return RtmPlugin.isEncodedTransformSupported();
|
|
56280
|
+
}
|
|
56277
56281
|
const rtmStrategy = {
|
|
56278
56282
|
options: {},
|
|
56279
56283
|
module: DynamicModule.PluginRtm
|
|
@@ -72884,7 +72888,7 @@ async function prepare(options) {
|
|
|
72884
72888
|
}
|
|
72885
72889
|
await ((_a = liveVeStrategy.veStrategyManager) == null ? void 0 : _a.init({
|
|
72886
72890
|
...options,
|
|
72887
|
-
playerVersion: "2.10.
|
|
72891
|
+
playerVersion: "2.10.4-rc.1",
|
|
72888
72892
|
type: "LIVE"
|
|
72889
72893
|
}));
|
|
72890
72894
|
return liveVeStrategy.veStrategyManager;
|
|
@@ -72916,6 +72920,7 @@ export {
|
|
|
72916
72920
|
isFLVSupported,
|
|
72917
72921
|
isMMSSupported,
|
|
72918
72922
|
isMseSupported,
|
|
72923
|
+
isRTMSeiSupported,
|
|
72919
72924
|
isRTMSupportCodec,
|
|
72920
72925
|
isRTMSupported,
|
|
72921
72926
|
isSoftDecodeSupported,
|