WIP: Improve buffered range calculation for MediaSource objects.