@volcengine/veplayer-plugin 2.5.0 → 2.5.1-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.development.js +34 -17
- package/esm/index.production.js +1 -1
- package/esm/veplayer.plugin.flv.development.js +7 -3
- 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 +18 -11
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.flv.development.js +7 -3
- 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 +18 -11
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -1644,7 +1644,7 @@
|
|
|
1644
1644
|
}
|
|
1645
1645
|
return offsetTime;
|
|
1646
1646
|
};
|
|
1647
|
-
var version = "3.0.21-rc.
|
|
1647
|
+
var version = "3.0.21-rc.5";
|
|
1648
1648
|
var ERROR_MAP = {
|
|
1649
1649
|
1: 5101,
|
|
1650
1650
|
2: 5102,
|
|
@@ -7378,7 +7378,11 @@
|
|
|
7378
7378
|
track.config = [];
|
|
7379
7379
|
track.channelCount = header.channelCount;
|
|
7380
7380
|
track.sampleRate = header.sampleRate;
|
|
7381
|
-
|
|
7381
|
+
if (isFirefox) {
|
|
7382
|
+
track.codec = "mp3";
|
|
7383
|
+
} else {
|
|
7384
|
+
track.container = "audio/mpeg";
|
|
7385
|
+
}
|
|
7382
7386
|
track.samples.push(sample);
|
|
7383
7387
|
return {
|
|
7384
7388
|
length: header.frameLength
|
|
@@ -7509,8 +7513,10 @@
|
|
|
7509
7513
|
break;
|
|
7510
7514
|
case 3:
|
|
7511
7515
|
case 4:
|
|
7512
|
-
audioTrack.pid
|
|
7513
|
-
|
|
7516
|
+
if (audioTrack.pid === -1) {
|
|
7517
|
+
audioTrack.pid = audioPid = esPid;
|
|
7518
|
+
audioTrack.codecType = AudioCodecType.MP3;
|
|
7519
|
+
}
|
|
7514
7520
|
break;
|
|
7515
7521
|
case 27:
|
|
7516
7522
|
if (videoPid !== -1)
|
|
@@ -15712,7 +15718,7 @@
|
|
|
15712
15718
|
}]);
|
|
15713
15719
|
return Hls2;
|
|
15714
15720
|
}(EventEmitter);
|
|
15715
|
-
_defineProperty$3(Hls, "version", "3.0.21-rc.
|
|
15721
|
+
_defineProperty$3(Hls, "version", "3.0.21-rc.5");
|
|
15716
15722
|
try {
|
|
15717
15723
|
if (localStorage.getItem("xgd")) {
|
|
15718
15724
|
Hls.enableLogger();
|