DescriptionEnhance WebMediaPlayer::buffered() to account for evicted ranges.
The BufferedResourceLoader now reports the earliest available byte
via its ProgressCB. BufferedDataSource recieves this update and
notifies the BufferedDataSourceHost to remove all ranges prior to
the eviction point.
Additionally modifies WebMediaPlayerImpl() to ignore demuxed ranges
when reporting buffered() for streaming sources. Notably, this will
cause missing ranges in the controls for streaming resources. I
think this is acceptable since users can't seek to these positions.
At present, this CL doesn't really do anything other than affect the
controls. A followup change will change would change seekable() to
use buffered() when a streaming resource w/ a duration is present.
BUG=412562
TEST=lots, tbd.
Patch Set 1 #
Total comments: 1
Messages
Total messages: 13 (1 generated)
|