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

Issue 1772353003: Bug Fix: Remote Video Hang For Apprtc Loopback (Closed)

Created:
4 years, 9 months ago by qiangchen
Modified:
4 years, 9 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bug Fix: Remote Video Hang For Apprtc Loopback On ChromeOS (Pit), we observed remote video hang when running apprtc loopback. The cause is that when the tab is inactive, renderer does not pull frames from WebMediaPlayerMS, and it relies on WebMediaPlayerMS to digest old frames. In case of hardware decoding, we have only 4 decode buffers. If we use up all 4 of them, no more decoding can happen, and the video will hang. The old algorithm digesting old frames is conservative, and then there is a chance that we use up all 4 buffers. In this CL, we switch to an aggressive way. It is safe, as when the tab is inactive, no one cares about what happens behind the scenes. BUG=588813 Committed: https://crrev.com/aa4011dd349cf4a3f5da97c8a20d55cedbf24ffc Cr-Commit-Position: refs/heads/master@{#380461}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update stats #

Total comments: 4

Patch Set 3 : Comment #

Patch Set 4 : Trybot #

Patch Set 5 : Blank line remove #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -12 lines) Patch
M content/renderer/media/webmediaplayer_ms_compositor.cc View 1 2 3 4 3 chunks +21 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
qiangchen
Hi, Dale: This is another fix CL for some boundary case of my rendering smoothness ...
4 years, 9 months ago (2016-03-09 00:29:42 UTC) #3
DaleCurtis
https://codereview.chromium.org/1772353003/diff/1/content/renderer/media/webmediaplayer_ms_compositor.cc File content/renderer/media/webmediaplayer_ms_compositor.cc (right): https://codereview.chromium.org/1772353003/diff/1/content/renderer/media/webmediaplayer_ms_compositor.cc#newcode224 content/renderer/media/webmediaplayer_ms_compositor.cc:224: rendering_frame_buffer_->Reset(); Hmm, is this really what you want? This ...
4 years, 9 months ago (2016-03-09 00:42:23 UTC) #4
qiangchen
Changed to preserve the most recent frame during inactive tab. And consider stats update now. ...
4 years, 9 months ago (2016-03-09 19:55:02 UTC) #5
DaleCurtis
I forget all the details here, so you might want to have someone from RTC ...
4 years, 9 months ago (2016-03-09 21:54:01 UTC) #6
qiangchen
https://codereview.chromium.org/1772353003/diff/20001/content/renderer/media/webmediaplayer_ms_compositor.cc File content/renderer/media/webmediaplayer_ms_compositor.cc (right): https://codereview.chromium.org/1772353003/diff/20001/content/renderer/media/webmediaplayer_ms_compositor.cc#newcode218 content/renderer/media/webmediaplayer_ms_compositor.cc:218: // This block considers the case that vsyncs stops ...
4 years, 9 months ago (2016-03-09 22:46:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353003/40001
4 years, 9 months ago (2016-03-09 22:47:22 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/178945)
4 years, 9 months ago (2016-03-09 23:53:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353003/80001
4 years, 9 months ago (2016-03-10 20:51:48 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-10 20:58:01 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 21:00:18 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/aa4011dd349cf4a3f5da97c8a20d55cedbf24ffc
Cr-Commit-Position: refs/heads/master@{#380461}

Powered by Google App Engine
This is Rietveld 408576698