@byteplus/veplayer 2.10.4-rc.0 → 2.10.4-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/esm/veplayer.biz.live.development.js +15 -1
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +2 -1
- package/esm/veplayer.development.js +18 -4
- package/esm/veplayer.live.d.ts +2 -1
- package/esm/veplayer.live.development.js +18 -4
- 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 +15 -1
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +2 -1
- package/umd/veplayer.development.js +18 -4
- package/umd/veplayer.live.d.ts +2 -1
- package/umd/veplayer.live.development.js +18 -4
- 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
|
@@ -26574,7 +26574,7 @@ let Logger$1 = class Logger2 extends Plugin$2 {
|
|
|
26574
26574
|
veplayer_version: "2.3.1-rc.3",
|
|
26575
26575
|
flv_version: "3.0.23-rc.7",
|
|
26576
26576
|
hls_version: "3.0.21-rc.21",
|
|
26577
|
-
rts_version: "0.2.1-alpha.
|
|
26577
|
+
rts_version: "0.2.1-alpha.62"
|
|
26578
26578
|
}
|
|
26579
26579
|
});
|
|
26580
26580
|
}
|
|
@@ -28247,11 +28247,20 @@ function preferNativeForFairplay(options) {
|
|
|
28247
28247
|
var _a;
|
|
28248
28248
|
return ((_a = options == null ? void 0 : options.drm) == null ? void 0 : _a.fairplay) && (Sniffer$2.browser === "safari" || Sniffer$2.os.isIos);
|
|
28249
28249
|
}
|
|
28250
|
+
function isBaiduOnOpenHarmony() {
|
|
28251
|
+
const ua = navigator.userAgent;
|
|
28252
|
+
const isOpenHarmony = /OpenHarmony/i.test(ua);
|
|
28253
|
+
const isBaidu = /baiduboxapp|baiduboxlite/i.test(ua);
|
|
28254
|
+
return isOpenHarmony && isBaidu;
|
|
28255
|
+
}
|
|
28250
28256
|
function enableMse(options) {
|
|
28251
28257
|
var _a;
|
|
28252
28258
|
if (preferNativeForFairplay(options)) {
|
|
28253
28259
|
return false;
|
|
28254
28260
|
}
|
|
28261
|
+
if (isBaiduOnOpenHarmony()) {
|
|
28262
|
+
return false;
|
|
28263
|
+
}
|
|
28255
28264
|
return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
|
|
28256
28265
|
}
|
|
28257
28266
|
function enableHlsJs(options) {
|
|
@@ -28525,6 +28534,10 @@ async function isRTMSupportCodec(codec = RTMCodec.H264) {
|
|
|
28525
28534
|
return RtmPlugin.isSupportedH264();
|
|
28526
28535
|
return false;
|
|
28527
28536
|
}
|
|
28537
|
+
async function isRTMSeiSupported() {
|
|
28538
|
+
const { RtmPlugin } = await load$4(DynamicModule$5.PluginRtm);
|
|
28539
|
+
return RtmPlugin.isEncodedTransformSupported();
|
|
28540
|
+
}
|
|
28528
28541
|
const strategy = window["VePlayer"].strategy;
|
|
28529
28542
|
const util$1 = window["VePlayer"].util;
|
|
28530
28543
|
const DynamicModule$4 = window["VePlayer"].DynamicModule;
|
|
@@ -49994,6 +50007,7 @@ export {
|
|
|
49994
50007
|
isFLVSupported,
|
|
49995
50008
|
isMMSSupported,
|
|
49996
50009
|
isMseSupported,
|
|
50010
|
+
isRTMSeiSupported,
|
|
49997
50011
|
isRTMSupportCodec,
|
|
49998
50012
|
isRTMSupported,
|
|
49999
50013
|
isSoftDecodeSupported,
|