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

Issue 936553003: Fix VideoFramePump to send keep-alive packets only after the first real frame. (Closed)

Created:
5 years, 10 months ago by Sergey Ulanov
Modified:
5 years, 10 months ago
Reviewers:
Wez
CC:
chromium-reviews, bruening+watch_chromium.org, glider+watch_chromium.org, timurrrr+watch_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix VideoFramePump to send keep-alive packets only after the first real frame. Many ClientSession unittests assume that the first video frame always contains video dimensions. When running under valgrind the keep-alive timer may fire before the first video frame is sent and this breaks the tests. Fixed VideoFramePump to start sending keep-alive messages only after the first real frame is sent. Also made the keep-alive timer non-repeating. This ensures that the pump doesn't try sending a keep-alive message until the previous one has been sent. BUG=458691 Committed: https://crrev.com/9fa354c9fceaf32963d0c7ef1dcf7c1d869dddee Cr-Commit-Position: refs/heads/master@{#316933}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -15 lines) Patch
M remoting/host/client_session_unittest.cc View 4 chunks +4 lines, -7 lines 0 comments Download
M remoting/host/video_frame_pump.cc View 2 chunks +6 lines, -5 lines 2 comments Download
M tools/valgrind/gtest_exclude/remoting_unittests.gtest.txt View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Sergey Ulanov
5 years, 10 months ago (2015-02-17 23:46:42 UTC) #3
Wez
On 2015/02/17 23:46:42, Sergey Ulanov wrote: typo: dimentions
5 years, 10 months ago (2015-02-18 22:55:11 UTC) #4
Wez
Looks like this CL is missing the actual fix in VideoFramePump..? https://codereview.chromium.org/936553003/diff/10004/remoting/host/video_frame_pump.cc File remoting/host/video_frame_pump.cc (right): ...
5 years, 10 months ago (2015-02-18 22:59:35 UTC) #5
Sergey Ulanov
On 2015/02/18 22:55:11, Wez wrote: > On 2015/02/17 23:46:42, Sergey Ulanov wrote: > > typo: ...
5 years, 10 months ago (2015-02-18 23:26:59 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/936553003/diff/10004/remoting/host/video_frame_pump.cc File remoting/host/video_frame_pump.cc (right): https://codereview.chromium.org/936553003/diff/10004/remoting/host/video_frame_pump.cc#newcode68 remoting/host/video_frame_pump.cc:68: false), On 2015/02/18 22:59:35, Wez wrote: > You've changed ...
5 years, 10 months ago (2015-02-18 23:31:41 UTC) #7
Sergey Ulanov
> Looks like this CL is missing the actual fix in VideoFramePump..? Previously VideoFramePump constructor ...
5 years, 10 months ago (2015-02-18 23:31:51 UTC) #8
Wez
Ahhh, thanks for the clarification. :) LGTM!
5 years, 10 months ago (2015-02-18 23:34:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/936553003/10004
5 years, 10 months ago (2015-02-18 23:38:41 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:10004)
5 years, 10 months ago (2015-02-19 00:39:34 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 00:40:04 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9fa354c9fceaf32963d0c7ef1dcf7c1d869dddee
Cr-Commit-Position: refs/heads/master@{#316933}

Powered by Google App Engine
This is Rietveld 408576698