From c0e0388ff0f301ae71c02aab1f7d22dfdc1f8af8 Mon Sep 17 00:00:00 2001 From: Ben Nicholson Date: Fri, 25 Sep 2026 15:00:09 +1000 Subject: [PATCH] CLAUDE.md: step 7 progress and open HLS items HLS plays on AES67; list what to come back to (clock drift vs PTP, download speed, untested cases) before moving on to cspot. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 6a3f5be..dd78d95 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -52,6 +52,14 @@ Repo: https://gitea.apointless.space/bsncubed/aes67-ESP32-P4 - [x] 5. SAP discovery, then syslog, then health/temperatures (one at a time). VLAN split moved to phase 2. - [x] 6. PTP TimeTransmitter: BMCA roles (auto/master), hybrid mode. - [ ] 7. Sources: HLS player, then cspot (Spotify Connect), then failover + /api/player. + - [x] 7.1-7.4 HLS plays on AES67 (PSRAM ring, TS demux + AAC, 44.1 -> 48 kHz). Tested with Triple J Hottest (TS, AAC-LC 44.1k). + - [ ] Come back to HLS (open items): + - Clock drift: the station's encoder clock vs our PTP clock is not corrected. Starts 3 segments (~30 s) behind live, so it shows after hours/days (skip when falling out of the live window, or buffering). Fix: steer the 44.1 -> 48 kHz ratio by a few ppm from the distance to the live edge / ring level. + - Download speed ~1.4 Mbit/s over TLS (fine for ~250 kbit/s; tune buffer sizes / per-chunk overhead). + - Not yet tested: HE-AAC variant (140k), other stations, fMP4/ADTS-only playlists, discontinuities (#EXT-X-DISCONTINUITY), network loss and recovery, long runs. + - Audio starts only after PTP lock (~20 s after boot): intended, TX needs PTP. + - [ ] cspot (Spotify Connect) + - [ ] failover (auto mode) + /api/player - [ ] 8. Mono sum, gain, polish. ## Phase 2 (parked)