@volcengine/veplayer 2.9.0-rc.0 → 2.9.0

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.
@@ -26427,12 +26427,8 @@ function getCueClass() {
26427
26427
  return Number.POSITIVE_INFINITY;
26428
26428
  })();
26429
26429
  const event = window["VePlayer"].event;
26430
- const HLS_EVENTS = Object.entries(Events$1).reduce(
26431
- (pre, [eventKey, eventName]) => {
26432
- pre[`HLS_${eventKey}`] = eventName;
26433
- return pre;
26434
- },
26435
- {}
26430
+ const HLS_EVENTS = Object.fromEntries(
26431
+ Object.entries(Events$1).map(([key, value]) => [`HLS_${key}`, value])
26436
26432
  );
26437
26433
  const Events = {
26438
26434
  ...event.Events,
@@ -28453,7 +28449,7 @@ let Logger$1 = class Logger2 extends Plugin$2 {
28453
28449
  device_id: (_f = (_e2 = this.player.config) == null ? void 0 : _e2.teaTracker) == null ? void 0 : _f.deviceId,
28454
28450
  error_report_stop: true,
28455
28451
  ext: {
28456
- veplayer_version: "2.3.1-rc.1",
28452
+ veplayer_version: "2.3.0",
28457
28453
  flv_version: "3.0.23-rc.6",
28458
28454
  hls_version: "3.0.21-rc.21",
28459
28455
  rts_version: "0.2.1-alpha.42"
@@ -30128,7 +30124,7 @@ function enableMse(options) {
30128
30124
  if (preferNativeForFairplay(options)) {
30129
30125
  return false;
30130
30126
  }
30131
- return ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true;
30127
+ return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
30132
30128
  }
30133
30129
  function enableHlsJs(options) {
30134
30130
  var _a;