From 670664c76a2d9b9e09f3d304946e1cae5496dbee Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Fri, 17 Apr 2026 15:06:27 +0200 Subject: [PATCH] Add thoughts --- todo.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/todo.txt b/todo.txt index 4d88d5d..ef78284 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,7 @@ MENTION APPEND-ONLY IN UPLOAD EXAMPLE IN WRITING HLS also I wish there was a more explicit way this was enforced and would error at runtime. -writablestream target? \ No newline at end of file +writablestream target? + +Thoughts: +So, a certain "lookahead" logic is definitely needed. The question is if this is a per-demuxer thing or a general thing instead. The demuxer could get in a "packet query" that specifies things like "I am interested in the next 20 seconds guaranteed", allowing the demuxer to pre-fetch more intelligently. The alternative would be some sort of demuxer-agnostic approach where there is a magical "packet requester" that has to be segment-aware. I'm actually not sure if that's good. \ No newline at end of file