straw/strawApp
Kayos 1df904f8b3 IosSafeHttpDataSource: drop chunk size from 1 MiB to 512 KiB
Curl matrix on Lucy egress (2026-05-24) against a fresh iOS audio URL
showed YT enforces a per-request Range cap of roughly 900 KiB on
iOS-bound googlevideo URLs:
  bytes=0-524287  (~512 KiB)  -> 206
  bytes=0-786431  (~768 KiB)  -> 206
  bytes=0-917503  (~896 KiB)  -> 206
  bytes=0-999999  (~977 KiB)  -> 403
  bytes=0-1048575 (~1 MiB)    -> 403

Audio (itag 251) hits this cap; large video (itag 248) didn't trip it on
the first chunk but would on any later read. 512 KiB chunks give a 2x
safety margin under the observed ceiling.

This finally explains why vc=17 still 403'd after the bounded-Range fix
landed — the bound itself was over the cap.
2026-05-24 14:42:13 -07:00
..
src/main IosSafeHttpDataSource: drop chunk size from 1 MiB to 512 KiB 2026-05-24 14:42:13 -07:00
build.gradle.kts Path C-6: rip NewPipeExtractor 2026-05-24 13:29:19 -07:00