@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
package/package.json
CHANGED
|
@@ -2763,21 +2763,6 @@
|
|
|
2763
2763
|
length: Buffer2.totalLength && Buffer2.totalLength(buffers)
|
|
2764
2764
|
};
|
|
2765
2765
|
}
|
|
2766
|
-
}, {
|
|
2767
|
-
key: "isBuffered",
|
|
2768
|
-
value: function isBuffered(media, pos) {
|
|
2769
|
-
if (media) {
|
|
2770
|
-
var buffered = Buffer2.get(media);
|
|
2771
|
-
if (buffered !== null && buffered !== void 0 && buffered.length) {
|
|
2772
|
-
for (var i = 0; i < buffered.length; i++) {
|
|
2773
|
-
if (pos >= buffered.start(i) && pos <= buffered.end(i)) {
|
|
2774
|
-
return true;
|
|
2775
|
-
}
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
}
|
|
2779
|
-
return false;
|
|
2780
|
-
}
|
|
2781
2766
|
}]);
|
|
2782
2767
|
return Buffer2;
|
|
2783
2768
|
}();
|
|
@@ -5907,7 +5892,7 @@
|
|
|
5907
5892
|
continue;
|
|
5908
5893
|
}
|
|
5909
5894
|
frameLength = (data[i + 3] & 3) << 11 | data[i + 4] << 3 | (data[i + 5] & 224) >> 5;
|
|
5910
|
-
if (
|
|
5895
|
+
if (len - i < frameLength)
|
|
5911
5896
|
break;
|
|
5912
5897
|
protectionSkipBytes = (~data[i + 1] & 1) * 2;
|
|
5913
5898
|
frames.push({
|
|
@@ -10326,7 +10311,7 @@
|
|
|
10326
10311
|
}
|
|
10327
10312
|
return;
|
|
10328
10313
|
}
|
|
10329
|
-
if (opts.isLive && media.readyState === 4 && bufferEnd
|
|
10314
|
+
if (opts.isLive && media.readyState === 4 && bufferEnd > opts.disconnectTime) {
|
|
10330
10315
|
_this.disconnect();
|
|
10331
10316
|
}
|
|
10332
10317
|
}
|
|
@@ -10498,7 +10483,7 @@
|
|
|
10498
10483
|
_createClass$4(Flv2, [{
|
|
10499
10484
|
key: "version",
|
|
10500
10485
|
get: function get() {
|
|
10501
|
-
return "3.0.19-rc.
|
|
10486
|
+
return "3.0.19-rc.0";
|
|
10502
10487
|
}
|
|
10503
10488
|
}, {
|
|
10504
10489
|
key: "isLive",
|