@volcengine/veplayer-plugin 2.10.3-rc.0 → 2.10.4-rc.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.
Files changed (35) hide show
  1. package/esm/ad.d.ts +3 -0
  2. package/esm/hlsjs.d.ts +3 -0
  3. package/esm/index.development.js +2529 -2363
  4. package/esm/index.production.js +7 -7
  5. package/esm/time-shift.d.ts +3 -0
  6. package/esm/veplayer.plugin.abr.development.js +1 -1
  7. package/esm/veplayer.plugin.abr.production.js +1 -1
  8. package/esm/veplayer.plugin.drm.development.js +1 -1
  9. package/esm/veplayer.plugin.drm.production.js +1 -1
  10. package/esm/veplayer.plugin.flv.development.js +5 -4
  11. package/esm/veplayer.plugin.flv.production.js +1 -1
  12. package/esm/veplayer.plugin.hls.development.js +1 -1
  13. package/esm/veplayer.plugin.hls.production.js +1 -1
  14. package/esm/veplayer.plugin.hlsjs.development.js +496 -218
  15. package/esm/veplayer.plugin.hlsjs.production.js +1 -1
  16. package/esm/veplayer.plugin.rtm.development.js +305 -156
  17. package/esm/veplayer.plugin.rtm.production.js +1 -1
  18. package/esm/veplayer.plugin.time.shift.development.js +13 -16
  19. package/esm/veplayer.plugin.time.shift.production.js +1 -1
  20. package/esm/veplayer.plugin.xgvideo.development.js +1 -1
  21. package/esm/veplayer.plugin.xgvideo.production.js +1 -1
  22. package/esm/veplayer.strategy.base.development.js +1 -1
  23. package/esm/veplayer.strategy.base.production.js +1 -1
  24. package/esm/veplayer.strategy.rtm.adaptive.buffer.development.js +1 -1
  25. package/esm/veplayer.strategy.rtm.adaptive.buffer.production.js +1 -1
  26. package/package.json +106 -2
  27. package/umd/ad.d.ts +3 -0
  28. package/umd/hlsjs.d.ts +3 -0
  29. package/umd/time-shift.d.ts +3 -0
  30. package/umd/veplayer.plugin.flv.development.js +4 -3
  31. package/umd/veplayer.plugin.flv.production.js +1 -1
  32. package/umd/veplayer.plugin.hlsjs.development.js +495 -217
  33. package/umd/veplayer.plugin.hlsjs.production.js +1 -1
  34. package/umd/veplayer.plugin.rtm.development.js +304 -155
  35. package/umd/veplayer.plugin.rtm.production.js +1 -1
@@ -4,6 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
+ import { DynamicModule } from "@volcengine/veplayer";
7
8
  function ownKeys$2(object, enumerableOnly) {
8
9
  var keys = Object.keys(object);
9
10
  if (Object.getOwnPropertySymbols) {
@@ -3831,7 +3832,7 @@ var MSE = /* @__PURE__ */ function() {
3831
3832
  key: "isSupported",
3832
3833
  value: function isSupported() {
3833
3834
  var mime = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 'video/mp4; codecs="avc1.42E01E,mp4a.40.2"';
3834
- var preferMMS = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
3835
+ var preferMMS = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
3835
3836
  var MediaSource2 = getMediaSource(preferMMS);
3836
3837
  if (!MediaSource2)
3837
3838
  return false;
@@ -11026,7 +11027,7 @@ var Flv = /* @__PURE__ */ function(_EventEmitter) {
11026
11027
  _createClass$4(Flv2, [{
11027
11028
  key: "version",
11028
11029
  get: function get() {
11029
- return "3.0.23-rc.6";
11030
+ return "3.0.23-rc.7";
11030
11031
  }
11031
11032
  }, {
11032
11033
  key: "isLive",
@@ -11630,7 +11631,8 @@ var FlvPlugin$1 = /* @__PURE__ */ function(_BasePlugin) {
11630
11631
  }, {
11631
11632
  key: "transferCost",
11632
11633
  get: function get() {
11633
- return this.flv._transferCost.transferCost;
11634
+ var _this$flv5, _this$flv5$_transferC;
11635
+ return (_this$flv5 = this.flv) === null || _this$flv5 === void 0 ? void 0 : (_this$flv5$_transferC = _this$flv5._transferCost) === null || _this$flv5$_transferC === void 0 ? void 0 : _this$flv5$_transferC.transferCost;
11634
11636
  }
11635
11637
  }, {
11636
11638
  key: "beforePlayerInit",
@@ -11931,7 +11933,6 @@ class FlvPlugin extends FlvPlugin$1 {
11931
11933
  super.beforePlayerInit();
11932
11934
  }
11933
11935
  }
11934
- const DynamicModule = window["VePlayer"].DynamicModule;
11935
11936
  const __PLUGIN_NAME__ = DynamicModule.PluginFlv;
11936
11937
  export {
11937
11938
  Adaptive,