Descriptionmedia-internals: Store MediaLog events for future use.
Developed based on watk@'s CL with modifications.
With this CL, opening chrome://media-internals after HTML5 media playback has
happened is working.
Technical details:
- In the browser process, always save up to 128 latest media log events per
render process. If we hit the limit, old logs will be discarded.
- When chrome://media-internals UI is opened, all saved logs will be sent to the
UI.
- When a tab is closed, all saved logs associated with that tab is discarded.
Test shows that 128 log entries should be sufficient for 4 youtube video
playbacks (with minor seeking activities).
BUG=497286
TEST=Manually tested.
Committed: https://crrev.com/e63e59b8de4de11455c8afd8f946f7839268a574
Cr-Commit-Position: refs/heads/master@{#333623}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updated. #
Total comments: 15
Patch Set 3 : comments addressed #Patch Set 4 : comments addressed #
Messages
Total messages: 20 (4 generated)
|