DescriptionFix buffered range updates in media::Pipeline
Currently the buffered ranges reported by
media::Pipeline::GetBufferedTimeRanges may be out of sync with the
actually buffered ranges in the demuxer, since there's no way for a
demuxer to indicate that some time range got evicted (e.g. in MSE case).
This CL replaces media::Pipeline::AddBufferedTimeRange with
OnBufferedTimeRangesChanged method that allows demuxer to report
arbitrary changes in buffered ranges.
BUG=570514
Committed: https://crrev.com/21e682ef9c2d34528aa24bf33f2e4b2734ac573b
Cr-Commit-Position: refs/heads/master@{#369585}
Patch Set 1 #Patch Set 2 : Buildfixes for Android/Chromecast #Patch Set 3 : Added unit test #
Total comments: 14
Patch Set 4 : Update buffered ranges on MSE SB.remove + unit test for that #Patch Set 5 : rebase #Patch Set 6 : Rebase + updated comment #Patch Set 7 : Fixed TimeDelta nit #Patch Set 8 : Android buildfix #
Messages
Total messages: 32 (10 generated)
|