Commit graph

6 commits

Author SHA1 Message Date
Zaggy1024
fea33aa02f LibMedia+Tests: Add a method to remove data from incremental streams
This will later be used to test updating of buffered time ranges when
data is removed. It will also be needed when data eviction is
implemented.
2026-05-28 10:30:20 -05:00
Zaggy1024
054d6d1b17 Tests: Add tests for available incremental stream byte ranges 2026-05-28 10:30:20 -05:00
antoniospg
0a89e76775 LibMedia: Fix wrong comparison to check if chunk covers new one 2026-05-08 17:51:28 -05:00
Zaggy1024
af45418fbf Everywhere: Rename IncrementallyPopulatedStream::reached_end_of_body
This needs to be called even if we haven't reached the end of the body,
so let's call it close() instead.
2026-02-18 13:13:32 -06:00
Zaggy1024
972438c4d7 LibMedia: Abstract the interface of IncrementallyPopulatedStream
The way that other classes interact with IncrementallyPopulatedStream
is now through a virtual interface MediaStream and MediaStreamCursor.
This way, we can have simpler implementations of reading media data
that will not require an RB tree and synchronization.
2026-01-30 10:02:00 -06:00
Zaggy1024
798a945e3c Tests: Add tests for Media::IncrementallyPopulatedStream 2026-01-29 18:06:02 -06:00