@geekapps/silo-elements-nextjs 0.3.23 → 0.3.24
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/dist/VideoPlayer.js +3 -1
- package/dist/VideoPlayer.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2544,9 +2544,11 @@ function Video({
|
|
|
2544
2544
|
const failedTrack = hls.audioTrack;
|
|
2545
2545
|
if (failedTrack >= 0 && pinnedAudio === -1) {
|
|
2546
2546
|
failedAudioTracks.add(failedTrack);
|
|
2547
|
-
console.warn("[Silo/hls] audio track", failedTrack, "failed \u2014 trying next");
|
|
2547
|
+
console.warn("[Silo/hls] audio track", failedTrack, "failed \u2014 recovering MSE and trying next");
|
|
2548
|
+
hls.recoverMediaError();
|
|
2548
2549
|
tryNextAudioTrack2();
|
|
2549
2550
|
}
|
|
2551
|
+
return;
|
|
2550
2552
|
}
|
|
2551
2553
|
if (data.details === Hls.ErrorDetails.BUFFER_STALLED_ERROR && pinnedLevel >= 0) {
|
|
2552
2554
|
stalledOnPinnedLevel += 1;
|