Add thoughts

This commit is contained in:
Vanilagy
2026-04-17 15:06:27 +02:00
parent c8c8cf214c
commit 670664c76a
+4 -1
View File
@@ -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?
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.