Z Agent commited on
Commit
4a90d00
·
1 Parent(s): 7cdd985

proxy: parallel-range segment booster (boost=1) + faithful error relay + EXT-X-MEDIA URI rewrite

Browse files

- _boosted_segment: 4 concurrent Range fetches per big segment (>1MB) — acek-cdn
per-connection throttles ~450KB/s (token sp=500); parallel ranges verified
4x aggregate. Falls back to single-stream on any inconsistency.
- _proxy_do: upstream error statuses relayed BEFORE playlist handling — an HTML
error page on a .m3u8 URL is no longer rewritten into a fake 200 playlist.
- _m3u8_rewrite: URI= attributes (EXT-X-MEDIA audio tracks, i-frames) now
resolved against the upstream base and routed through the proxy — fixes
relative-audio-URI players resolving against the wrong base (404 loops).

1 file changed +127 -6
main.py+127-6