Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 2696663002: Media Remoting: Don't auto suspend the media pipeline. (Closed)

Created:
3 years, 10 months ago by xjz
Modified:
3 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, apacible+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, erickung+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Remoting: Don't auto suspend the media pipeline. Disable the optimization to auto suspend media pipeline for background video or idle pipeline in media remoting to prevent the end of the session while still in remoting. BUG=691673 Review-Url: https://codereview.chromium.org/2696663002 Cr-Commit-Position: refs/heads/master@{#450805} Committed: https://chromium.googlesource.com/chromium/src/+/4e5d4bf3631742de169cea750db2d19d56d474a1

Patch Set 1 #

Patch Set 2 : Disable other auto suspend for optimization. #

Total comments: 10

Patch Set 3 : Addressed comments. #

Total comments: 6

Patch Set 4 : Addressed comments. #

Patch Set 5 : Fix tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -83 lines) Patch
M content/renderer/render_frame_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M media/base/media_observer.h View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 2 5 chunks +14 lines, -10 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 6 chunks +16 lines, -7 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M media/remoting/renderer_controller.h View 1 2 3 3 chunks +4 lines, -10 lines 0 comments Download
M media/remoting/renderer_controller.cc View 1 2 3 7 chunks +19 lines, -30 lines 0 comments Download
M media/remoting/renderer_controller_unittest.cc View 1 2 15 chunks +42 lines, -16 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
xjz
sandersd@: This CL adds a logic to disable pipeline suspend on idle for media remoting. ...
3 years, 10 months ago (2017-02-13 19:42:09 UTC) #5
sandersd (OOO until July 31)
On 2017/02/13 19:42:09, xjz wrote: > sandersd@: This CL adds a logic to disable pipeline ...
3 years, 10 months ago (2017-02-13 22:31:42 UTC) #8
miu
On 2017/02/13 22:31:42, sandersd wrote: > On 2017/02/13 19:42:09, xjz wrote: > > sandersd@: This ...
3 years, 10 months ago (2017-02-13 22:52:15 UTC) #9
xjz
Per discussion, disable all optimization that could suspend the pipeline for media remoting. PTAL. Thanks!
3 years, 10 months ago (2017-02-13 23:13:02 UTC) #14
miu
Comments on PS2: https://codereview.chromium.org/2696663002/diff/20001/media/base/media_observer.h File media/base/media_observer.h (right): https://codereview.chromium.org/2696663002/diff/20001/media/base/media_observer.h#newcode20 media/base/media_observer.h:20: virtual void SwitchRenderer() = 0; Observation: ...
3 years, 10 months ago (2017-02-13 23:36:08 UTC) #15
xjz
Addressed miu's comments. PTAL again. Thanks! https://codereview.chromium.org/2696663002/diff/20001/media/base/media_observer.h File media/base/media_observer.h (right): https://codereview.chromium.org/2696663002/diff/20001/media/base/media_observer.h#newcode20 media/base/media_observer.h:20: virtual void SwitchRenderer() ...
3 years, 10 months ago (2017-02-14 01:46:11 UTC) #16
sandersd (OOO until July 31)
//media/blink lgtm. I'm not sure about the name (I would prefer |is_suspend_allowed| to |can_auto_suspend|), but ...
3 years, 10 months ago (2017-02-15 01:19:09 UTC) #17
xjz
nasko@: PTAL change on content/renderer/render_frame_impl.cc. Thanks!
3 years, 10 months ago (2017-02-15 01:38:36 UTC) #19
miu
PS3 lgtm % nits: https://codereview.chromium.org/2696663002/diff/40001/media/base/media_observer.h File media/base/media_observer.h (right): https://codereview.chromium.org/2696663002/diff/40001/media/base/media_observer.h#newcode20 media/base/media_observer.h:20: // the optimization that might ...
3 years, 10 months ago (2017-02-15 02:00:43 UTC) #22
xjz
Thanks for reviewing. Addressed comments. https://codereview.chromium.org/2696663002/diff/40001/media/base/media_observer.h File media/base/media_observer.h (right): https://codereview.chromium.org/2696663002/diff/40001/media/base/media_observer.h#newcode20 media/base/media_observer.h:20: // the optimization that ...
3 years, 10 months ago (2017-02-15 02:31:57 UTC) #24
nasko
content/renderer/render_frame_impl.cc rubberstamp LGTM.
3 years, 10 months ago (2017-02-15 17:50:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2696663002/80001
3 years, 10 months ago (2017-02-15 19:52:17 UTC) #35
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 21:27:30 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4e5d4bf3631742de169cea750db2...

Powered by Google App Engine
This is Rietveld 408576698