DescriptionDon't mark a WebMediaPlayer as idle until it has size and first frame.
Slow connections, large MediaSource appends, or open-in-background can
result in large delays from when the WMP is constructed until it reaches
a state appropriate for suspension.
Waiting until we have the first frame and size information to mark a
player as idle should resolve any issues around suspending too early.
BUG=592706
TEST=fixed unittests. Suspend does not occur w/ open-in-background.
Committed: https://crrev.com/8e4dc68fcf8ab6f808e2b819e334098fcfd2f59f
Cr-Commit-Position: refs/heads/master@{#381156}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (3 generated)
|