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

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.
@@ -18789,12 +18789,12 @@ const createFlvMseStrategy = (options) => {
18789
18789
  };
18790
18790
  };
18791
18791
  const createHlsMseStrategy = (options) => {
18792
- var _a;
18793
- if (options == null ? void 0 : options.hls.enableHlsJs) {
18792
+ var _a, _b;
18793
+ if ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableHlsJs) {
18794
18794
  return {
18795
18795
  options: {
18796
18796
  hlsJsPlugin: {
18797
- hlsOpts: (_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.hlsOpts
18797
+ hlsOpts: (_b = options == null ? void 0 : options.hls) == null ? void 0 : _b.hlsOpts
18798
18798
  }
18799
18799
  },
18800
18800
  module: DynamicModule.PluginHlsJs
@@ -18969,7 +18969,7 @@ const getRtmStrategy = async (options, player) => {
18969
18969
  backupStrategy && load(backupStrategy.module).then((module) => {
18970
18970
  if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginFlv) {
18971
18971
  return module.FlvPlugin;
18972
- } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls) {
18972
+ } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls || (backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHlsJs) {
18973
18973
  return module.HlsPlugin;
18974
18974
  }
18975
18975
  }).catch(() => void 0)
@@ -21805,7 +21805,7 @@ class Logger extends Plugin {
21805
21805
  user_id: this._userId,
21806
21806
  device_id: this._deviceId,
21807
21807
  ext: {
21808
- veplayer_version: "2.3.1-rc.2",
21808
+ veplayer_version: "2.3.1-rc.3",
21809
21809
  flv_version: "3.0.15-alpha.2",
21810
21810
  hls_version: "3.0.12",
21811
21811
  rts_version: "0.2.0-alpha.5"
@@ -18789,12 +18789,12 @@ const createFlvMseStrategy = (options) => {
18789
18789
  };
18790
18790
  };
18791
18791
  const createHlsMseStrategy = (options) => {
18792
- var _a;
18793
- if (options == null ? void 0 : options.hls.enableHlsJs) {
18792
+ var _a, _b;
18793
+ if ((_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.enableHlsJs) {
18794
18794
  return {
18795
18795
  options: {
18796
18796
  hlsJsPlugin: {
18797
- hlsOpts: (_a = options == null ? void 0 : options.hls) == null ? void 0 : _a.hlsOpts
18797
+ hlsOpts: (_b = options == null ? void 0 : options.hls) == null ? void 0 : _b.hlsOpts
18798
18798
  }
18799
18799
  },
18800
18800
  module: DynamicModule.PluginHlsJs
@@ -18969,7 +18969,7 @@ const getRtmStrategy = async (options, player) => {
18969
18969
  backupStrategy && load(backupStrategy.module).then((module) => {
18970
18970
  if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginFlv) {
18971
18971
  return module.FlvPlugin;
18972
- } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls) {
18972
+ } else if ((backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHls || (backupStrategy == null ? void 0 : backupStrategy.module) === DynamicModule.PluginHlsJs) {
18973
18973
  return module.HlsPlugin;
18974
18974
  }
18975
18975
  }).catch(() => void 0)
@@ -21805,7 +21805,7 @@ class Logger extends Plugin {
21805
21805
  user_id: this._userId,
21806
21806
  device_id: this._deviceId,
21807
21807
  ext: {
21808
- veplayer_version: "2.3.1-rc.2",
21808
+ veplayer_version: "2.3.1-rc.3",
21809
21809
  flv_version: "3.0.15-alpha.2",
21810
21810
  hls_version: "3.0.12",
21811
21811
  rts_version: "0.2.0-alpha.5"