@byteplus/veplayer 2.3.1-rc.2 → 2.3.1-rc.4

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.
@@ -18793,12 +18793,12 @@ var __publicField = (obj, key, value) => {
18793
18793
  };
18794
18794
  };
18795
18795
  const createHlsMseStrategy = (options) => {
18796
- var _a;
18797
- if (options == null ? void 0 : options.hls.enableHlsJs) {
18796
+ var _a, _b;
18797
+ if ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableHlsJs) {
18798
18798
  return {
18799
18799
  options: {
18800
18800
  hlsJsPlugin: {
18801
- hlsOpts: (_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.hlsOpts
18801
+ hlsOpts: (_b = options == null ? void 0 : options.hls) == null ? void 0 : _b.hlsOpts
18802
18802
  }
18803
18803
  },
18804
18804
  module: DynamicModule.PluginHlsJs
@@ -18973,7 +18973,7 @@ var __publicField = (obj, key, value) => {
18973
18973
  backupStrategy && load(backupStrategy.module).then((module2) => {
18974
18974
  if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginFlv) {
18975
18975
  return module2.FlvPlugin;
18976
- } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls) {
18976
+ } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls || (backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHlsJs) {
18977
18977
  return module2.HlsPlugin;
18978
18978
  }
18979
18979
  }).catch(() => void 0)
@@ -21809,7 +21809,7 @@ var __publicField = (obj, key, value) => {
21809
21809
  user_id: this._userId,
21810
21810
  device_id: this._deviceId,
21811
21811
  ext: {
21812
- veplayer_version: "2.3.1-rc.2",
21812
+ veplayer_version: "2.3.1-rc.4",
21813
21813
  flv_version: "3.0.15-alpha.2",
21814
21814
  hls_version: "3.0.12",
21815
21815
  rts_version: "0.2.0-alpha.5"
@@ -18793,12 +18793,12 @@ var __publicField = (obj, key, value) => {
18793
18793
  };
18794
18794
  };
18795
18795
  const createHlsMseStrategy = (options) => {
18796
- var _a;
18797
- if (options == null ? void 0 : options.hls.enableHlsJs) {
18796
+ var _a, _b;
18797
+ if ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableHlsJs) {
18798
18798
  return {
18799
18799
  options: {
18800
18800
  hlsJsPlugin: {
18801
- hlsOpts: (_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.hlsOpts
18801
+ hlsOpts: (_b = options == null ? void 0 : options.hls) == null ? void 0 : _b.hlsOpts
18802
18802
  }
18803
18803
  },
18804
18804
  module: DynamicModule.PluginHlsJs
@@ -18973,7 +18973,7 @@ var __publicField = (obj, key, value) => {
18973
18973
  backupStrategy && load(backupStrategy.module).then((module2) => {
18974
18974
  if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginFlv) {
18975
18975
  return module2.FlvPlugin;
18976
- } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls) {
18976
+ } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls || (backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHlsJs) {
18977
18977
  return module2.HlsPlugin;
18978
18978
  }
18979
18979
  }).catch(() => void 0)
@@ -21809,7 +21809,7 @@ var __publicField = (obj, key, value) => {
21809
21809
  user_id: this._userId,
21810
21810
  device_id: this._deviceId,
21811
21811
  ext: {
21812
- veplayer_version: "2.3.1-rc.2",
21812
+ veplayer_version: "2.3.1-rc.4",
21813
21813
  flv_version: "3.0.15-alpha.2",
21814
21814
  hls_version: "3.0.12",
21815
21815
  rts_version: "0.2.0-alpha.5"