@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.
@@ -26720,9 +26720,9 @@ let Logger$1 = class Logger2 extends Plugin$2 {
26720
26720
  error_report_stop: true,
26721
26721
  ext: {
26722
26722
  veplayer_version: "2.3.1-rc.1",
26723
- flv_version: "3.0.24-rc.2",
26723
+ flv_version: "3.0.24-rc.6",
26724
26724
  hls_version: "3.0.24-rc.2",
26725
- rts_version: "0.2.1-alpha.57"
26725
+ rts_version: "0.2.1-alpha.64"
26726
26726
  }
26727
26727
  });
26728
26728
  }
@@ -34616,11 +34616,20 @@ function preferNativeForFairplay(options) {
34616
34616
  var _a;
34617
34617
  return ((_a = options == null ? void 0 : options.drm) == null ? void 0 : _a.fairplay) && (Sniffer$2.browser === "safari" || Sniffer$2.os.isIos);
34618
34618
  }
34619
+ function isBaiduOnOpenHarmony() {
34620
+ const ua = navigator.userAgent;
34621
+ const isOpenHarmony = /OpenHarmony/i.test(ua);
34622
+ const isBaidu = /baiduboxapp|baiduboxlite/i.test(ua);
34623
+ return isOpenHarmony && isBaidu;
34624
+ }
34619
34625
  function enableMse(options) {
34620
34626
  var _a;
34621
34627
  if (preferNativeForFairplay(options)) {
34622
34628
  return false;
34623
34629
  }
34630
+ if (isBaiduOnOpenHarmony()) {
34631
+ return false;
34632
+ }
34624
34633
  return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
34625
34634
  }
34626
34635
  function enableHlsJs(options) {
@@ -34894,6 +34903,10 @@ async function isRTMSupportCodec(codec = RTMCodec.H264) {
34894
34903
  return RtmPlugin.isSupportedH264();
34895
34904
  return false;
34896
34905
  }
34906
+ async function isRTMSeiSupported() {
34907
+ const { RtmPlugin } = await load$4(DynamicModule$5.PluginRtm);
34908
+ return RtmPlugin.isEncodedTransformSupported();
34909
+ }
34897
34910
  const strategy = window["VePlayer"].strategy;
34898
34911
  const util$1 = window["VePlayer"].util;
34899
34912
  const DynamicModule$4 = window["VePlayer"].DynamicModule;
@@ -51455,6 +51468,7 @@ export {
51455
51468
  isFLVSupported,
51456
51469
  isMMSSupported,
51457
51470
  isMseSupported,
51471
+ isRTMSeiSupported,
51458
51472
  isRTMSupportCodec,
51459
51473
  isRTMSupported,
51460
51474
  isSoftDecodeSupported,