@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/VideoPlayer.js
CHANGED
|
@@ -1014,9 +1014,11 @@ function Video({
|
|
|
1014
1014
|
const failedTrack = hls.audioTrack;
|
|
1015
1015
|
if (failedTrack >= 0 && pinnedAudio === -1) {
|
|
1016
1016
|
failedAudioTracks.add(failedTrack);
|
|
1017
|
-
console.warn("[Silo/hls] audio track", failedTrack, "failed \u2014 trying next");
|
|
1017
|
+
console.warn("[Silo/hls] audio track", failedTrack, "failed \u2014 recovering MSE and trying next");
|
|
1018
|
+
hls.recoverMediaError();
|
|
1018
1019
|
tryNextAudioTrack2();
|
|
1019
1020
|
}
|
|
1021
|
+
return;
|
|
1020
1022
|
}
|
|
1021
1023
|
if (data.details === Hls.ErrorDetails.BUFFER_STALLED_ERROR && pinnedLevel >= 0) {
|
|
1022
1024
|
stalledOnPinnedLevel += 1;
|