Chromium Code Reviews
DescriptionMerge M50: "Disable "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.
Review URL: https://codereview.chromium.org/1798213002
Cr-Commit-Position: refs/heads/master@{#381280}
(cherry picked from commit 37fe586e648a966438f0b26473155cba830d497e)
Committed: https://chromium.googlesource.com/chromium/src/+/cec74ffcf0ffab45ec51ac48d49dda4489c88b04
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||