@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer",
3
- "version": "2.9.0-rc.0",
3
+ "version": "2.9.0",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
@@ -26431,12 +26431,8 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
26431
26431
  return Number.POSITIVE_INFINITY;
26432
26432
  })();
26433
26433
  const event = window["VePlayer"].event;
26434
- const HLS_EVENTS = Object.entries(Events$1).reduce(
26435
- (pre, [eventKey, eventName]) => {
26436
- pre[`HLS_${eventKey}`] = eventName;
26437
- return pre;
26438
- },
26439
- {}
26434
+ const HLS_EVENTS = Object.fromEntries(
26435
+ Object.entries(Events$1).map(([key, value]) => [`HLS_${key}`, value])
26440
26436
  );
26441
26437
  const Events = {
26442
26438
  ...event.Events,
@@ -28457,7 +28453,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
28457
28453
  device_id: (_f = (_e2 = this.player.config) == null ? void 0 : _e2.teaTracker) == null ? void 0 : _f.deviceId,
28458
28454
  error_report_stop: true,
28459
28455
  ext: {
28460
- veplayer_version: "2.3.1-rc.1",
28456
+ veplayer_version: "2.3.0",
28461
28457
  flv_version: "3.0.23-rc.6",
28462
28458
  hls_version: "3.0.21-rc.21",
28463
28459
  rts_version: "0.2.1-alpha.42"
@@ -30126,7 +30122,7 @@ MediaSource ${JSON.stringify(attachMediaSourceData)} from ${logFromSource}`);
30126
30122
  if (preferNativeForFairplay(options)) {
30127
30123
  return false;
30128
30124
  }
30129
- return ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true;
30125
+ return Sniffer$2.device !== "mobile" || (((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableMSE) ?? true);
30130
30126
  }
30131
30127
  function enableHlsJs(options) {
30132
30128
  var _a;