|
Implement evictFrames() to support MSE's coded frame eviction algorithm.
s/WebKit/Blink/ Implemented WebSourceBufferImpl::evictFrames() to call SourceBuffer::GarbageCollectIfNeeded()
Also use playback time in the MSE garbage collection:
The MSE spec clearly mentions what should be the state
of the media element based on the buffered ranges
(see MSE spec 2.4.4 SourceBuffer Monitoring).
Since there is a latency between the read position
in the source buffer stream and the playback position,
the MSE garbage collection must be adjusted so as to
not remove the playback position from the buffered ranges.
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+309 lines, -86 lines) |
Patch |
 |
M |
media/blink/webmediaplayer_impl.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/blink/websourcebuffer_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/blink/websourcebuffer_impl.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/chunk_demuxer.h
|
View
|
|
4 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/chunk_demuxer.cc
|
View
|
|
5 chunks |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/chunk_demuxer_unittest.cc
|
View
|
1
|
6 chunks |
+54 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/filters/source_buffer_range.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/source_buffer_range.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/source_buffer_stream.h
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/filters/source_buffer_stream.cc
|
View
|
1
2
|
8 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/filters/source_buffer_stream_unittest.cc
|
View
|
1
2
|
26 chunks |
+150 lines, -65 lines |
0 comments
|
Download
|
Total messages: 7 (3 generated)
|