852c0ffa0f
- main/hls: task active while source.mode is hls/auto and hls_url is set. esp_http_client over HTTPS (IDF certificate bundle), redirects followed (max 5), streamed reads in 4 KB chunks to a sink callback. - Master playlist: highest BANDWIDTH variant; URL resolution for absolute, host-relative and path-relative references; CRLF tolerant. - Media playlist: TARGETDURATION, MEDIA-SEQUENCE, segments; start 3 segments behind the live edge, fetch each new one in order, skip ahead if the window moved past us, reload after target/2 when nothing is new. - Verified with Triple J Hottest (ABC, Akamai): 252 kbit/s AAC-LC variant chosen, 3 back-fill segments then one new ~10 s segment at a time, ~303 KB in ~1.25 s each; heap 439 KB, PSRAM 31.9 MB free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>