Author: [Generated AI] Date: April 14, 2026
Through reverse engineering of minified Shaka code (version 4.3.x), we trace the error to the update_() function within manifest_parser.js . Under normal conditions, the updatePeriod() method flushes old segments. However, when the server sends overlapping EXTINF durations and contradictory EXT-X-PART cues, the SegmentIndex ’s fit() function fails to resolve the timeline. This creates a circular reference in the segment object graph. During the next updateManifest() cycle, the recursive resolveTimeline_() function iterates indefinitely until the browser throws a Maximum call stack size exceeded error. Shaka’s global error handler lacks a specific code for recursion overflow and defaults to 6001 . shaka error 6001
| Condition | Value | Outcome | | :--- | :--- | :--- | | HLS version | v8 (LL-HLS) | Required | | Partial segment delta | < 50 ms | Required | | Manifest duration | 4 seconds | Required | | Server-side part hold-back | Decreasing by 10% per chunk | Triggers error in < 30s | Author: [Generated AI] Date: April 14, 2026 Through