fix(web): close leaked audio streams and ffmpeg jobs #98

Merged
joshuafhiggins merged 1 commits from t3/fix-streaming-leaks into main 2026-11-16 21:51:44 -05:00
1 Commits
  • fix(web): close leaked audio streams and ffmpeg jobs
    - File and ffmpeg streams cancel when the client aborts (seek, track change)
    - ffmpeg transcodes respect backpressure and are killed on cancel
    - HLS jobs dedupe in-flight creation; segments use -hls_flags temp_file
    - Evicted HLS jobs kill ffmpeg; concurrent ffmpeg is capped
    - Persistent, size-capped transcode cache (OTUNES_CACHE_DIR, OTUNES_CACHE_MAX_MB)
    - Codec info cached per file; drop per-chunk ffmpeg and codec logging
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>