@volcengine/veplayer-plugin 2.4.1-rc.0 → 2.4.2-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/index.development.js +84 -60
- package/esm/index.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +3 -18
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +81 -42
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.flv.development.js +3 -18
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +81 -42
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -2759,21 +2759,6 @@ var Buffer$1 = /* @__PURE__ */ function() {
|
|
|
2759
2759
|
length: Buffer2.totalLength && Buffer2.totalLength(buffers)
|
|
2760
2760
|
};
|
|
2761
2761
|
}
|
|
2762
|
-
}, {
|
|
2763
|
-
key: "isBuffered",
|
|
2764
|
-
value: function isBuffered(media, pos) {
|
|
2765
|
-
if (media) {
|
|
2766
|
-
var buffered = Buffer2.get(media);
|
|
2767
|
-
if (buffered !== null && buffered !== void 0 && buffered.length) {
|
|
2768
|
-
for (var i = 0; i < buffered.length; i++) {
|
|
2769
|
-
if (pos >= buffered.start(i) && pos <= buffered.end(i)) {
|
|
2770
|
-
return true;
|
|
2771
|
-
}
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
return false;
|
|
2776
|
-
}
|
|
2777
2762
|
}]);
|
|
2778
2763
|
return Buffer2;
|
|
2779
2764
|
}();
|
|
@@ -5903,7 +5888,7 @@ var AAC = /* @__PURE__ */ function() {
|
|
|
5903
5888
|
continue;
|
|
5904
5889
|
}
|
|
5905
5890
|
frameLength = (data[i + 3] & 3) << 11 | data[i + 4] << 3 | (data[i + 5] & 224) >> 5;
|
|
5906
|
-
if (
|
|
5891
|
+
if (len - i < frameLength)
|
|
5907
5892
|
break;
|
|
5908
5893
|
protectionSkipBytes = (~data[i + 1] & 1) * 2;
|
|
5909
5894
|
frames.push({
|
|
@@ -10322,7 +10307,7 @@ var Flv = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
10322
10307
|
}
|
|
10323
10308
|
return;
|
|
10324
10309
|
}
|
|
10325
|
-
if (opts.isLive && media.readyState === 4 && bufferEnd
|
|
10310
|
+
if (opts.isLive && media.readyState === 4 && bufferEnd > opts.disconnectTime) {
|
|
10326
10311
|
_this.disconnect();
|
|
10327
10312
|
}
|
|
10328
10313
|
}
|
|
@@ -10494,7 +10479,7 @@ var Flv = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
10494
10479
|
_createClass$4(Flv2, [{
|
|
10495
10480
|
key: "version",
|
|
10496
10481
|
get: function get() {
|
|
10497
|
-
return "3.0.19-rc.
|
|
10482
|
+
return "3.0.19-rc.0";
|
|
10498
10483
|
}
|
|
10499
10484
|
}, {
|
|
10500
10485
|
key: "isLive",
|