hls.js: 10s -> 30s segment load cap (iPhone FragLoadTimeout)
The iPhone error 'Playback failed: FragLoadTimeout' + 74 all-200 segment requests = the phone's downlink can't deliver a ~700KB segment within the 10s cap; hls.js measured the load client-side while the server finished instantly. Raise maxLoadTimeMs to 30s (first-byte 20s) so slow-but-alive phone links complete; retries still bound the truly-dead case. assets v=11.
This commit is contained in:
1 parent
5268e77d00
commit
3df074a5fe
2 files changed
+12
-11
No files matched your search
+2
-2
@@ -6,7 +6,7 @@
|
||||
<title>ani-web</title>
|
||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23f97316'/%3E%3Ctext x='32' y='45' font-family='sans-serif' font-size='42' font-weight='700' text-anchor='middle' fill='%230e0f13'%3Ea%3C/text%3E%3C/svg%3E">
|
||||
|
||||
<link rel="stylesheet" href="style.css?v=10">
|
||||
<link rel="stylesheet" href="style.css?v=11">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
@@ -30,6 +30,6 @@
|
||||
max-age=300 in browser AND possibly in your HTTPS proxy, and a stale
|
||||
copy is exactly how users keep seeing an old UI after a deploy -->
|
||||
<script src="hls.min.js"></script>
|
||||
<script src="app.js?v=10"></script>
|
||||
<script src="app.js?v=11"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user