@volcengine/veplayer-plugin 2.5.0 → 2.6.0-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.
- package/esm/index.d.ts +1 -0
- package/esm/index.development.css +14 -0
- package/esm/index.development.js +42959 -31350
- package/esm/index.production.css +1 -1
- package/esm/index.production.js +13 -4
- package/esm/veplayer.plugin.ad.development.css +14 -0
- package/esm/veplayer.plugin.ad.development.js +13318 -0
- package/esm/veplayer.plugin.ad.production.css +1 -0
- package/esm/veplayer.plugin.ad.production.js +4 -0
- package/esm/veplayer.plugin.flv.development.js +2 -2
- package/esm/veplayer.plugin.flv.production.js +1 -1
- package/esm/veplayer.plugin.hls.development.js +11 -5
- package/esm/veplayer.plugin.hls.production.js +1 -1
- package/esm/veplayer.plugin.mp4.development.js +1 -1
- package/esm/veplayer.plugin.mp4.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +45 -142
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/package.json +1 -1
- package/umd/index.d.ts +1 -0
- package/umd/veplayer.plugin.ad.development.css +14 -0
- package/umd/veplayer.plugin.ad.development.js +13321 -0
- package/umd/veplayer.plugin.ad.production.css +1 -0
- package/umd/veplayer.plugin.ad.production.js +1 -0
- package/umd/veplayer.plugin.flv.development.js +2 -2
- package/umd/veplayer.plugin.flv.production.js +1 -1
- package/umd/veplayer.plugin.hls.development.js +11 -5
- package/umd/veplayer.plugin.hls.production.js +1 -1
- package/umd/veplayer.plugin.mp4.development.js +1 -1
- package/umd/veplayer.plugin.mp4.production.js +1 -1
- package/umd/veplayer.plugin.rtm.development.js +45 -142
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -1640,7 +1640,7 @@ util.getCurrentTimeByOffset = function(offsetTime, segments) {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
return offsetTime;
|
|
1642
1642
|
};
|
|
1643
|
-
var version = "3.0.21-rc.
|
|
1643
|
+
var version = "3.0.21-rc.3";
|
|
1644
1644
|
var ERROR_MAP = {
|
|
1645
1645
|
1: 5101,
|
|
1646
1646
|
2: 5102,
|
|
@@ -7374,7 +7374,11 @@ var MPEG = /* @__PURE__ */ function() {
|
|
|
7374
7374
|
track.config = [];
|
|
7375
7375
|
track.channelCount = header.channelCount;
|
|
7376
7376
|
track.sampleRate = header.sampleRate;
|
|
7377
|
-
|
|
7377
|
+
if (isFirefox) {
|
|
7378
|
+
track.codec = "mp3";
|
|
7379
|
+
} else {
|
|
7380
|
+
track.container = "audio/mpeg";
|
|
7381
|
+
}
|
|
7378
7382
|
track.samples.push(sample);
|
|
7379
7383
|
return {
|
|
7380
7384
|
length: header.frameLength
|
|
@@ -7505,8 +7509,10 @@ var TsDemuxer = /* @__PURE__ */ function() {
|
|
|
7505
7509
|
break;
|
|
7506
7510
|
case 3:
|
|
7507
7511
|
case 4:
|
|
7508
|
-
audioTrack.pid
|
|
7509
|
-
|
|
7512
|
+
if (audioTrack.pid === -1) {
|
|
7513
|
+
audioTrack.pid = audioPid = esPid;
|
|
7514
|
+
audioTrack.codecType = AudioCodecType.MP3;
|
|
7515
|
+
}
|
|
7510
7516
|
break;
|
|
7511
7517
|
case 27:
|
|
7512
7518
|
if (videoPid !== -1)
|
|
@@ -15708,7 +15714,7 @@ var Hls = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
15708
15714
|
}]);
|
|
15709
15715
|
return Hls2;
|
|
15710
15716
|
}(EventEmitter);
|
|
15711
|
-
_defineProperty$3(Hls, "version", "3.0.21-rc.
|
|
15717
|
+
_defineProperty$3(Hls, "version", "3.0.21-rc.3");
|
|
15712
15718
|
try {
|
|
15713
15719
|
if (localStorage.getItem("xgd")) {
|
|
15714
15720
|
Hls.enableLogger();
|