Chromium Code Reviews
DescriptionDisable "pause-and-buffer" on Android, cancel suspended players.
The Android MediaPlayer never supported "pause-and-buffer" so to
avoid unexpected behavior on metered networks, disable this feature
for WebMediaPlayerImpl as well.
This also releases the network connection for suspended instances
of WebMediaPlayerImpl. Due to "pause-and-buffer" on non-Android
platforms only instances that the user has never interacted with
(i.e. they have not played and then paused the player) will be
released. On Android, all suspended players will lose their
network connection after reaches the deferred state.
BUG=594669
TEST=new unittests, verified connection is closed manually.
Committed: https://crrev.com/37fe586e648a966438f0b26473155cba830d497e
Cr-Commit-Position: refs/heads/master@{#381280}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix test bug. #
Messages
Total messages: 9 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||