@byteplus/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.3",
|
|
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
|
}
|
|
@@ -34615,11 +34615,20 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
34615
34615
|
var _a;
|
|
34616
34616
|
return ((_a = options == null ? void 0 : options.drm) == null ? void 0 : _a.fairplay) && (Sniffer$2.browser === "safari" || Sniffer$2.os.isIos);
|
|
34617
34617
|
}
|
|
34618
|
+
function isBaiduOnOpenHarmony() {
|
|
34619
|
+
const ua = navigator.userAgent;
|
|
34620
|
+
const isOpenHarmony = /OpenHarmony/i.test(ua);
|
|
34621
|
+
const isBaidu = /baiduboxapp|baiduboxlite/i.test(ua);
|
|
34622
|
+
return isOpenHarmony && isBaidu;
|
|
34623
|
+
}
|
|
34618
34624
|
function enableMse(options) {
|
|
34619
34625
|
var _a;
|
|
34620
34626
|
if (preferNativeForFairplay(options)) {
|
|
34621
34627
|
return false;
|
|
34622
34628
|
}
|
|
34629
|
+
if (isBaiduOnOpenHarmony()) {
|
|
34630
|
+
return false;
|
|
34631
|
+
}
|
|
34623
34632
|
return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
|
|
34624
34633
|
}
|
|
34625
34634
|
function enableHlsJs(options) {
|
|
@@ -34893,6 +34902,10 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
|
|
|
34893
34902
|
return RtmPlugin.isSupportedH264();
|
|
34894
34903
|
return false;
|
|
34895
34904
|
}
|
|
34905
|
+
async function isRTMSeiSupported() {
|
|
34906
|
+
const { RtmPlugin } = await load$4(DynamicModule$5.PluginRtm);
|
|
34907
|
+
return RtmPlugin.isEncodedTransformSupported();
|
|
34908
|
+
}
|
|
34896
34909
|
const strategy = window["VePlayer"].strategy;
|
|
34897
34910
|
const util$1 = window["VePlayer"].util;
|
|
34898
34911
|
const DynamicModule$4 = window["VePlayer"].DynamicModule;
|
|
@@ -51461,6 +51474,7 @@ Radeong 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.9.0)|-1
|
|
|
51461
51474
|
exports2.isFLVSupported = isFLVSupported;
|
|
51462
51475
|
exports2.isMMSSupported = isMMSSupported;
|
|
51463
51476
|
exports2.isMseSupported = isMseSupported;
|
|
51477
|
+
exports2.isRTMSeiSupported = isRTMSeiSupported;
|
|
51464
51478
|
exports2.isRTMSupportCodec = isRTMSupportCodec;
|
|
51465
51479
|
exports2.isRTMSupported = isRTMSupported;
|
|
51466
51480
|
exports2.isSoftDecodeSupported = isSoftDecodeSupported;
|