DescriptionFix MediaSource renderer to limit memory consumption.
MediaSource renderer wasn't marking keyframes properly, and as result
SourceBuffer would keep all data it receives forever. Also added
explicit remove() call to cleanup the buffers before each keyframe.
Beside that changed default duration to a correct value instead of 1s
It currently doesn't cause any problems, but it may in the future if
MediaSource implementation is changed to handle overlapping frames
differently.
BUG=321825
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276574
Patch Set 1 : #
Total comments: 8
Patch Set 2 : #
Messages
Total messages: 11 (0 generated)
|