@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.
- package/esm/ad.d.ts +3 -0
- package/esm/hlsjs.d.ts +3 -0
- package/esm/index.development.js +2529 -2363
- package/esm/index.production.js +7 -7
- package/esm/time-shift.d.ts +3 -0
- package/esm/veplayer.plugin.abr.development.js +1 -1
- package/esm/veplayer.plugin.abr.production.js +1 -1
- package/esm/veplayer.plugin.drm.development.js +1 -1
- package/esm/veplayer.plugin.drm.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +5 -4
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +1 -1
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.hlsjs.development.js +496 -218
- package/esm/veplayer.plugin.hlsjs.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +305 -156
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/esm/veplayer.plugin.time.shift.development.js +13 -16
- package/esm/veplayer.plugin.time.shift.production.js +1 -1
- package/esm/veplayer.plugin.xgvideo.development.js +1 -1
- package/esm/veplayer.plugin.xgvideo.production.js +1 -1
- package/esm/veplayer.strategy.base.development.js +1 -1
- package/esm/veplayer.strategy.base.production.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.development.js +1 -1
- package/esm/veplayer.strategy.rtm.adaptive.buffer.production.js +1 -1
- package/package.json +106 -2
- package/umd/ad.d.ts +3 -0
- package/umd/hlsjs.d.ts +3 -0
- package/umd/time-shift.d.ts +3 -0
- package/umd/veplayer.plugin.flv.development.js +4 -3
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hlsjs.development.js +495 -217
- package/umd/veplayer.plugin.hlsjs.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +304 -155
- 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] :
|
|
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.
|
|
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
|
-
|
|
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,
|