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

Issue 1772353002: Adds a test for an one-way media PeerConnection. (Closed)

Created:
4 years, 9 months ago by hta-webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adds a test for an one-way media PeerConnection. This involves changing a few verification functions for frames received so that they always accept the result if there's no stream. BUG= Committed: https://crrev.com/6b4f839c53090683ef2fb4be60d6b0d8f93818af Cr-Commit-Position: refs/heads/master@{#11937}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comment #

Total comments: 3

Patch Set 3 : Refactoring P2PTestConductor frame cheks #

Total comments: 11

Patch Set 4 : More review cleanups #

Total comments: 8

Patch Set 5 : Restructure to check for track presence #

Patch Set 6 : Another bug. #

Patch Set 7 : No more remote track check #

Patch Set 8 : Fix Windows compile error #

Total comments: 4

Patch Set 9 : Bug fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -59 lines) Patch
M webrtc/api/peerconnection_unittest.cc View 1 2 3 4 5 6 7 8 11 chunks +100 lines, -59 lines 0 comments Download

Messages

Total messages: 70 (31 generated)
hta-webrtc
Small CL.
4 years, 9 months ago (2016-03-08 12:39:16 UTC) #3
phoglund
lgtm https://codereview.webrtc.org/1772353002/diff/1/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/1/webrtc/api/peerconnection_unittest.cc#newcode429 webrtc/api/peerconnection_unittest.cc:429: // If there is no incoming stream, return ...
4 years, 9 months ago (2016-03-08 12:52:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/20001
4 years, 9 months ago (2016-03-08 13:52:51 UTC) #7
hta-webrtc
Thanks, committing. https://codereview.webrtc.org/1772353002/diff/1/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/1/webrtc/api/peerconnection_unittest.cc#newcode429 webrtc/api/peerconnection_unittest.cc:429: // If there is no incoming stream, ...
4 years, 9 months ago (2016-03-08 13:54:06 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/3970)
4 years, 9 months ago (2016-03-08 13:58:22 UTC) #10
hta-webrtc
Need an OWNER approval
4 years, 9 months ago (2016-03-08 14:05:16 UTC) #11
perkj_webrtc
https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode430 webrtc/api/peerconnection_unittest.cc:430: if (remote_streams()->count() == 0) { can you please refactor ...
4 years, 9 months ago (2016-03-08 23:07:50 UTC) #13
hta-webrtc
Not wanting to do restructuring at this time.... https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode430 webrtc/api/peerconnection_unittest.cc:430: if ...
4 years, 9 months ago (2016-03-09 04:09:53 UTC) #14
hta-webrtc
After having meditated upon it for a few hours.... https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode430 webrtc/api/peerconnection_unittest.cc:430: ...
4 years, 9 months ago (2016-03-09 09:40:17 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/40001
4 years, 9 months ago (2016-03-09 09:40:35 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-09 10:41:17 UTC) #19
perkj_webrtc
Yes - thanks much better. Just a question .. You abort if nothing can receive ...
4 years, 9 months ago (2016-03-09 14:17:17 UTC) #20
hta-webrtc
More commentary. My build machine is upgrading, so it's a bit tricky to expand the ...
4 years, 9 months ago (2016-03-09 14:31:28 UTC) #21
perkj_webrtc
https://codereview.webrtc.org/1772353002/diff/40001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/40001/webrtc/api/peerconnection_unittest.cc#newcode1061 webrtc/api/peerconnection_unittest.cc:1061: if (!initiating_client_->can_receive_audio() || these can be removed now? https://codereview.webrtc.org/1772353002/diff/40001/webrtc/api/peerconnection_unittest.cc#newcode1065 ...
4 years, 9 months ago (2016-03-09 14:44:42 UTC) #22
hta-webrtc
Looks better? https://codereview.webrtc.org/1772353002/diff/40001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/40001/webrtc/api/peerconnection_unittest.cc#newcode1061 webrtc/api/peerconnection_unittest.cc:1061: if (!initiating_client_->can_receive_audio() || On 2016/03/09 14:44:41, perkj_webrtc ...
4 years, 9 months ago (2016-03-09 16:37:52 UTC) #23
perkj_webrtc
lgtm with the comments below addressed. https://codereview.webrtc.org/1772353002/diff/60001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/60001/webrtc/api/peerconnection_unittest.cc#newcode938 webrtc/api/peerconnection_unittest.cc:938: audio_frames_to_receive); video_frames_to_receive https://codereview.webrtc.org/1772353002/diff/60001/webrtc/api/peerconnection_unittest.cc#newcode943 ...
4 years, 9 months ago (2016-03-09 16:56:26 UTC) #24
hta-webrtc
This way?
4 years, 9 months ago (2016-03-09 17:23:30 UTC) #25
hta-webrtc
The other way. (after teleconference) https://codereview.webrtc.org/1772353002/diff/60001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/60001/webrtc/api/peerconnection_unittest.cc#newcode938 webrtc/api/peerconnection_unittest.cc:938: audio_frames_to_receive); On 2016/03/09 16:56:25, ...
4 years, 9 months ago (2016-03-09 17:50:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/120001
4 years, 9 months ago (2016-03-09 17:51:36 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/13366)
4 years, 9 months ago (2016-03-09 17:55:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/140001
4 years, 9 months ago (2016-03-09 18:03:11 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/9592)
4 years, 9 months ago (2016-03-09 18:38:54 UTC) #36
perkj_webrtc
not lgtm here is a bug unfortunatly. https://codereview.webrtc.org/1772353002/diff/140001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/140001/webrtc/api/peerconnection_unittest.cc#newcode967 webrtc/api/peerconnection_unittest.cc:967: receiving_client_->AudioFramesReceivedCheck(audio_frames_to_receive); initializing_client->AudioFramesReceivedCheck(audio_frames_to_receive) ...
4 years, 9 months ago (2016-03-09 18:58:05 UTC) #37
perkj_webrtc
On 2016/03/09 18:58:05, perkj_webrtc wrote: > not lgtm > > here is a bug unfortunatly. ...
4 years, 9 months ago (2016-03-09 18:58:45 UTC) #38
hta-webrtc
Sigh. The eyes are where one turns blind first. https://codereview.webrtc.org/1772353002/diff/140001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1772353002/diff/140001/webrtc/api/peerconnection_unittest.cc#newcode967 webrtc/api/peerconnection_unittest.cc:967: ...
4 years, 9 months ago (2016-03-09 19:33:44 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-09 19:34:31 UTC) #43
commit-bot: I haz the power
A disapproval has been posted by following reviewers: perkj@webrtc.org. Please make sure to get positive ...
4 years, 9 months ago (2016-03-09 19:34:34 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-09 19:40:22 UTC) #48
commit-bot: I haz the power
A disapproval has been posted by following reviewers: perkj@webrtc.org. Please make sure to get positive ...
4 years, 9 months ago (2016-03-09 19:40:25 UTC) #50
perkj_webrtc
lgtm
4 years, 9 months ago (2016-03-09 19:46:47 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-09 19:46:51 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/13361) linux_ubsan_vptr on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-03-09 19:53:44 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-09 19:57:52 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/11576)
4 years, 9 months ago (2016-03-09 20:46:02 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-09 22:05:36 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/9608)
4 years, 9 months ago (2016-03-09 22:56:08 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772353002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772353002/160001
4 years, 9 months ago (2016-03-10 07:23:53 UTC) #66
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-10 08:24:37 UTC) #68
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 08:24:45 UTC) #70
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/6b4f839c53090683ef2fb4be60d6b0d8f93818af
Cr-Commit-Position: refs/heads/master@{#11937}

Powered by Google App Engine
This is Rietveld 408576698