Commit graph

2 commits

Author SHA1 Message Date
Zaggy1024
9f788cb80f LibMedia: Implement CBR seeking through ContainerNavigator
This mainly acts as a proof of concept for manual seeking
implementations, which may prove useful for other formats than WAV.
2026-05-28 10:30:20 -05:00
Zaggy1024
3098c0fb62 LibMedia: Implement buffered ranges for FFmpegDemuxer
The default mode is to grab the index and use it to determine the start
and end of the buffered ranges. This works well for MP4.

For WAV, the index is incomplete, so instead use a much simpler method,
just determining the ranges based on the constant bitrate of the file.

This is implemented through a new virtual ContainerNavigator class.
2026-05-28 10:30:20 -05:00