@volcengine/veplayer 2.12.0-rc.1 → 2.12.0-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 +16 -2
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +2 -1
- package/esm/veplayer.development.js +163 -138
- package/esm/veplayer.live.d.ts +2 -1
- package/esm/veplayer.live.development.js +163 -138
- package/esm/veplayer.live.production.js +3 -3
- package/esm/veplayer.production.js +3 -3
- package/esm/veplayer.vod.development.js +145 -134
- package/esm/veplayer.vod.production.js +2 -2
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +16 -2
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +2 -1
- package/umd/veplayer.development.js +163 -138
- package/umd/veplayer.live.d.ts +2 -1
- package/umd/veplayer.live.development.js +163 -138
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +145 -134
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +2 -1
- package/veplayer.live.d.ts +2 -1
package/package.json
CHANGED
|
@@ -26724,9 +26724,9 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
26724
26724
|
error_report_stop: true,
|
|
26725
26725
|
ext: {
|
|
26726
26726
|
veplayer_version: "2.3.1-rc.1",
|
|
26727
|
-
flv_version: "3.0.24-rc.
|
|
26727
|
+
flv_version: "3.0.24-rc.6",
|
|
26728
26728
|
hls_version: "3.0.24-rc.2",
|
|
26729
|
-
rts_version: "0.2.1-alpha.
|
|
26729
|
+
rts_version: "0.2.1-alpha.64"
|
|
26730
26730
|
}
|
|
26731
26731
|
});
|
|
26732
26732
|
}
|
|
@@ -34614,11 +34614,20 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
34614
34614
|
var _a;
|
|
34615
34615
|
return ((_a = options == null ? void 0 : options.drm) == null ? void 0 : _a.fairplay) && (Sniffer$2.browser === "safari" || Sniffer$2.os.isIos);
|
|
34616
34616
|
}
|
|
34617
|
+
function isBaiduOnOpenHarmony() {
|
|
34618
|
+
const ua = navigator.userAgent;
|
|
34619
|
+
const isOpenHarmony = /OpenHarmony/i.test(ua);
|
|
34620
|
+
const isBaidu = /baiduboxapp|baiduboxlite/i.test(ua);
|
|
34621
|
+
return isOpenHarmony && isBaidu;
|
|
34622
|
+
}
|
|
34617
34623
|
function enableMse(options) {
|
|
34618
34624
|
var _a;
|
|
34619
34625
|
if (preferNativeForFairplay(options)) {
|
|
34620
34626
|
return false;
|
|
34621
34627
|
}
|
|
34628
|
+
if (isBaiduOnOpenHarmony()) {
|
|
34629
|
+
return false;
|
|
34630
|
+
}
|
|
34622
34631
|
return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
|
|
34623
34632
|
}
|
|
34624
34633
|
function enableHlsJs(options) {
|
|
@@ -34892,6 +34901,10 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
34892
34901
|
return RtmPlugin.isSupportedH264();
|
|
34893
34902
|
return false;
|
|
34894
34903
|
}
|
|
34904
|
+
async function isRTMSeiSupported() {
|
|
34905
|
+
const { RtmPlugin } = await load$4(DynamicModule$5.PluginRtm);
|
|
34906
|
+
return RtmPlugin.isEncodedTransformSupported();
|
|
34907
|
+
}
|
|
34895
34908
|
const strategy = window["VePlayer"].strategy;
|
|
34896
34909
|
const util$1 = window["VePlayer"].util;
|
|
34897
34910
|
const DynamicModule$4 = window["VePlayer"].DynamicModule;
|
|
@@ -51460,6 +51473,7 @@ Radeong 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.9.0)|-1
|
|
|
51460
51473
|
exports2.isFLVSupported = isFLVSupported;
|
|
51461
51474
|
exports2.isMMSSupported = isMMSSupported;
|
|
51462
51475
|
exports2.isMseSupported = isMseSupported;
|
|
51476
|
+
exports2.isRTMSeiSupported = isRTMSeiSupported;
|
|
51463
51477
|
exports2.isRTMSupportCodec = isRTMSupportCodec;
|
|
51464
51478
|
exports2.isRTMSupported = isRTMSupported;
|
|
51465
51479
|
exports2.isSoftDecodeSupported = isSoftDecodeSupported;
|