@halibegic/react-video-player 0.0.41 → 0.0.42
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.
|
@@ -1491,7 +1491,7 @@ function kr({ url: e, isLive: t, messages: n }) {
|
|
|
1491
1491
|
if (console.error("[Player][HLS] ERROR", x, I), !!o.current && I.fatal)
|
|
1492
1492
|
switch (I.type) {
|
|
1493
1493
|
case re.ErrorTypes.NETWORK_ERROR:
|
|
1494
|
-
console.log("[Player][HLS] NETWORK_ERROR", I), t
|
|
1494
|
+
console.log("[Player][HLS] NETWORK_ERROR", I), t && I.details === "manifestLoadError" ? (v.current < g && (y.current && clearTimeout(y.current), v.current += 1, y.current = setTimeout(() => {
|
|
1495
1495
|
if (o.current)
|
|
1496
1496
|
try {
|
|
1497
1497
|
console.log("[Player][HLS] Retrying stream..."), o.current.loadSource(e);
|