@byteplus/veplayer 2.3.1-rc.0 → 2.3.1-rc.1

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.
@@ -13436,10 +13436,6 @@ var __publicField = (obj, key, value) => {
13436
13436
  plugins.forEach((plugin) => {
13437
13437
  TopRightBar.isTopRightPlugin(plugin, options) ? topRightPlugins.push(plugin) : normalPlugins.push(plugin);
13438
13438
  });
13439
- window._veplayer_test_log["startxgplayer"] = {
13440
- msg: "start to new XGPlayer",
13441
- timestamp: performance.now()
13442
- };
13443
13439
  this._player = new Player({
13444
13440
  ...DEFAULT_OPTIONS,
13445
13441
  ...xgOptions,
@@ -18733,25 +18729,10 @@ var __publicField = (obj, key, value) => {
18733
18729
  if (!mseStrategy && !softStrategy) {
18734
18730
  return {};
18735
18731
  }
18736
- window._veplayer_test_log["beforefetch"] = {
18737
- msg: "start to load cdn",
18738
- timestamp: performance.now()
18739
- };
18740
18732
  const [mseModule, softModule] = await Promise.all([
18741
18733
  (mseStrategy == null ? void 0 : mseStrategy.module) && load(mseStrategy.module).catch(() => void 0),
18742
18734
  (softStrategy == null ? void 0 : softStrategy.module) && load(softStrategy.module).catch(() => void 0)
18743
18735
  ]);
18744
- if (mseModule) {
18745
- window._veplayer_test_log["fetched"] = {
18746
- msg: "cdn loaded",
18747
- timestamp: performance.now()
18748
- };
18749
- } else {
18750
- window._veplayer_test_log["fetched"] = {
18751
- msg: "cdn loaded but empty",
18752
- timestamp: performance.now()
18753
- };
18754
- }
18755
18736
  (softModule == null ? void 0 : softModule.XGVideoPlugin) && ((_c = softStrategy == null ? void 0 : softStrategy.afterLoad) == null ? void 0 : _c.call(softStrategy, softModule == null ? void 0 : softModule.XGVideoPlugin));
18756
18737
  const combineOptions$1 = combineOptions([mseStrategy, softStrategy]);
18757
18738
  const plugins = [];
@@ -21812,7 +21793,7 @@ var __publicField = (obj, key, value) => {
21812
21793
  user_id: this._userId,
21813
21794
  device_id: this._deviceId,
21814
21795
  ext: {
21815
- veplayer_version: "2.3.1-rc.0",
21796
+ veplayer_version: "2.3.1-rc.1",
21816
21797
  flv_version: "3.0.15-alpha.2",
21817
21798
  hls_version: "3.0.12",
21818
21799
  rts_version: "0.2.0-alpha.5"
@@ -22193,12 +22174,6 @@ var __publicField = (obj, key, value) => {
22193
22174
  async function createLivePlayer(options) {
22194
22175
  var _a, _b;
22195
22176
  let player = void 0;
22196
- window._veplayer_test_log = {
22197
- start: {
22198
- msg: "start to create veplayer",
22199
- timestamp: performance.now()
22200
- }
22201
- };
22202
22177
  if (!options || !options.url && !options.playlist) {
22203
22178
  throw create(ErrorCode.INVALID_PARAMETER, new VeI18n());
22204
22179
  }
@@ -13436,10 +13436,6 @@ var __publicField = (obj, key, value) => {
13436
13436
  plugins.forEach((plugin) => {
13437
13437
  TopRightBar.isTopRightPlugin(plugin, options) ? topRightPlugins.push(plugin) : normalPlugins.push(plugin);
13438
13438
  });
13439
- window._veplayer_test_log["startxgplayer"] = {
13440
- msg: "start to new XGPlayer",
13441
- timestamp: performance.now()
13442
- };
13443
13439
  this._player = new Player({
13444
13440
  ...DEFAULT_OPTIONS,
13445
13441
  ...xgOptions,
@@ -18733,25 +18729,10 @@ var __publicField = (obj, key, value) => {
18733
18729
  if (!mseStrategy && !softStrategy) {
18734
18730
  return {};
18735
18731
  }
18736
- window._veplayer_test_log["beforefetch"] = {
18737
- msg: "start to load cdn",
18738
- timestamp: performance.now()
18739
- };
18740
18732
  const [mseModule, softModule] = await Promise.all([
18741
18733
  (mseStrategy == null ? void 0 : mseStrategy.module) && load(mseStrategy.module).catch(() => void 0),
18742
18734
  (softStrategy == null ? void 0 : softStrategy.module) && load(softStrategy.module).catch(() => void 0)
18743
18735
  ]);
18744
- if (mseModule) {
18745
- window._veplayer_test_log["fetched"] = {
18746
- msg: "cdn loaded",
18747
- timestamp: performance.now()
18748
- };
18749
- } else {
18750
- window._veplayer_test_log["fetched"] = {
18751
- msg: "cdn loaded but empty",
18752
- timestamp: performance.now()
18753
- };
18754
- }
18755
18736
  (softModule == null ? void 0 : softModule.XGVideoPlugin) && ((_c = softStrategy == null ? void 0 : softStrategy.afterLoad) == null ? void 0 : _c.call(softStrategy, softModule == null ? void 0 : softModule.XGVideoPlugin));
18756
18737
  const combineOptions$1 = combineOptions([mseStrategy, softStrategy]);
18757
18738
  const plugins = [];
@@ -21812,7 +21793,7 @@ var __publicField = (obj, key, value) => {
21812
21793
  user_id: this._userId,
21813
21794
  device_id: this._deviceId,
21814
21795
  ext: {
21815
- veplayer_version: "2.3.1-rc.0",
21796
+ veplayer_version: "2.3.1-rc.1",
21816
21797
  flv_version: "3.0.15-alpha.2",
21817
21798
  hls_version: "3.0.12",
21818
21799
  rts_version: "0.2.0-alpha.5"
@@ -22193,12 +22174,6 @@ var __publicField = (obj, key, value) => {
22193
22174
  async function createLivePlayer(options) {
22194
22175
  var _a, _b;
22195
22176
  let player = void 0;
22196
- window._veplayer_test_log = {
22197
- start: {
22198
- msg: "start to create veplayer",
22199
- timestamp: performance.now()
22200
- }
22201
- };
22202
22177
  if (!options || !options.url && !options.playlist) {
22203
22178
  throw create(ErrorCode.INVALID_PARAMETER, new VeI18n());
22204
22179
  }