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

Issue 1225153002: Let WebRtcVideoChannel2::WebRtcVideoSendStream::InputFrame carry the input frame's timestamp to out… (Closed)

Created:
5 years, 5 months ago by qiangchen
Modified:
5 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Let WebRtcVideoChannel2::WebRtcVideoSendStream::InputFrame carry the input frame's timestamp to output frame. Essentially we are carrying over the capture timestamp to the encoded frame sent out, so the frame lengths will contain no noise. Committed: https://crrev.com/c27d89fdc6b33846ff06e8ca8bd03119d05c6530 Cr-Commit-Position: refs/heads/master@{#9597}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use millisecond unit #

Patch Set 3 : Add Unittest #

Patch Set 4 : Style Fix #

Total comments: 5

Patch Set 5 : Style Fix #

Patch Set 6 : Black frame timestamp #

Total comments: 2

Patch Set 7 : Style Fix #

Patch Set 8 : Add a comment #

Patch Set 9 : Remove SendStream after unit test #

Total comments: 6

Patch Set 10 : Black frame timestamp modification #

Total comments: 6

Patch Set 11 : Style Fix and Comment Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -2 lines) Patch
M talk/media/base/fakevideocapturer.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M talk/media/webrtc/fakewebrtccall.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M talk/media/webrtc/fakewebrtccall.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +22 lines, -1 line 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (15 generated)
qiangchen
Welcome to add anyone familiar with this part of code to reviewer.
5 years, 5 months ago (2015-07-08 22:49:21 UTC) #2
pbos
https://codereview.chromium.org/1225153002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.chromium.org/1225153002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc#newcode1732 talk/media/webrtc/webrtcvideoengine2.cc:1732: // frame->GetTimeStamp is essentially a delta, align to system ...
5 years, 5 months ago (2015-07-09 15:13:08 UTC) #3
qiangchen
Fixed https://codereview.chromium.org/1225153002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.chromium.org/1225153002/diff/1/talk/media/webrtc/webrtcvideoengine2.cc#newcode1732 talk/media/webrtc/webrtcvideoengine2.cc:1732: // frame->GetTimeStamp is essentially a delta, align to ...
5 years, 5 months ago (2015-07-09 16:48:07 UTC) #4
pbos-webrtc
Any chance you could get an unittest in there? webrtcvideoengine2_unittest.cc I think we save the ...
5 years, 5 months ago (2015-07-09 23:13:33 UTC) #6
pbos-webrtc
On 2015/07/09 23:13:33, pbos-webrtc wrote: > Any chance you could get an unittest in there? ...
5 years, 5 months ago (2015-07-09 23:14:27 UTC) #7
qiangchen
On 2015/07/09 23:13:33, pbos-webrtc wrote: > Any chance you could get an unittest in there? ...
5 years, 5 months ago (2015-07-09 23:37:13 UTC) #8
pbos-webrtc
On 2015/07/09 23:37:13, qiangchenC wrote: > On 2015/07/09 23:13:33, pbos-webrtc wrote: > > Any chance ...
5 years, 5 months ago (2015-07-09 23:39:35 UTC) #9
qiangchen
On 2015/07/09 23:14:27, pbos-webrtc wrote: > On 2015/07/09 23:13:33, pbos-webrtc wrote: > > Any chance ...
5 years, 5 months ago (2015-07-09 23:50:13 UTC) #10
pbos
On 2015/07/09 23:50:13, qiangchenC wrote: > On 2015/07/09 23:14:27, pbos-webrtc wrote: > > On 2015/07/09 ...
5 years, 5 months ago (2015-07-10 12:28:02 UTC) #11
qiangchen
Did the unittest.
5 years, 5 months ago (2015-07-10 22:30:28 UTC) #12
pbos-webrtc
https://codereview.webrtc.org/1225153002/diff/60001/talk/media/webrtc/fakewebrtccall.cc File talk/media/webrtc/fakewebrtccall.cc (right): https://codereview.webrtc.org/1225153002/diff/60001/talk/media/webrtc/fakewebrtccall.cc#newcode116 talk/media/webrtc/fakewebrtccall.cc:116: return last_frame_.ntp_time_ms(); So long as we should never set ...
5 years, 5 months ago (2015-07-12 15:30:23 UTC) #13
qiangchen
Fixed https://codereview.chromium.org/1225153002/diff/60001/talk/media/webrtc/webrtcvideoengine2_unittest.cc File talk/media/webrtc/webrtcvideoengine2_unittest.cc (right): https://codereview.chromium.org/1225153002/diff/60001/talk/media/webrtc/webrtcvideoengine2_unittest.cc#newcode459 talk/media/webrtc/webrtcvideoengine2_unittest.cc:459: TEST_F(WebRtcVideoEngine2Test, SendStreamTimestampCarryOver) { On 2015/07/12 15:30:22, pbos-webrtc wrote: ...
5 years, 5 months ago (2015-07-13 17:48:03 UTC) #14
pbos-webrtc
lgtm, but please land this after M45 cuts (I think). I'd like this to have ...
5 years, 5 months ago (2015-07-13 19:17:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225153002/80001
5 years, 5 months ago (2015-07-13 20:40:46 UTC) #17
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/156)
5 years, 5 months ago (2015-07-13 20:43:36 UTC) #19
qiangchen
One issue found during unit test. In VideoCaptureInput::IncomingCapturedFrame, we did a timestamp check and drop ...
5 years, 5 months ago (2015-07-13 22:37:23 UTC) #20
pbos-webrtc
lgtm, run git cl format. I think this is an OK way to make sure ...
5 years, 5 months ago (2015-07-14 04:13:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225153002/140001
5 years, 5 months ago (2015-07-14 15:58:12 UTC) #24
pbos
lgtm
5 years, 5 months ago (2015-07-14 15:58:40 UTC) #26
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/169)
5 years, 5 months ago (2015-07-14 16:00:50 UTC) #28
pbos-webrtc
+R pthatcher@, can you stamp talk/media/base?
5 years, 5 months ago (2015-07-14 16:01:42 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225153002/160001
5 years, 5 months ago (2015-07-14 17:29:20 UTC) #32
pthatcher1
https://codereview.webrtc.org/1225153002/diff/180001/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/1225153002/diff/180001/talk/media/webrtc/webrtcvideoengine2.cc#newcode1741 talk/media/webrtc/webrtcvideoengine2.cc:1741: video_frame.set_render_time_ms(last_timestamp_ms_); I think this would be more clear if ...
5 years, 5 months ago (2015-07-14 17:57:28 UTC) #35
qiangchen
Fixed. And it would be better to add an expected frame length to black frame's ...
5 years, 5 months ago (2015-07-14 22:04:26 UTC) #37
pthatcher1
https://codereview.chromium.org/1225153002/diff/220001/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.chromium.org/1225153002/diff/220001/talk/media/webrtc/webrtcvideoengine2.cc#newcode1737 talk/media/webrtc/webrtcvideoengine2.cc:1737: base_timestamp_ms_ = rtc::Time() - frame_delta_ms; This makes it more ...
5 years, 5 months ago (2015-07-15 17:53:07 UTC) #38
qiangchen
Fixed https://codereview.chromium.org/1225153002/diff/220001/talk/media/webrtc/webrtcvideoengine2.cc File talk/media/webrtc/webrtcvideoengine2.cc (right): https://codereview.chromium.org/1225153002/diff/220001/talk/media/webrtc/webrtcvideoengine2.cc#newcode1737 talk/media/webrtc/webrtcvideoengine2.cc:1737: base_timestamp_ms_ = rtc::Time() - frame_delta_ms; On 2015/07/15 17:53:07, ...
5 years, 5 months ago (2015-07-15 19:35:23 UTC) #39
pthatcher1
lgtm
5 years, 5 months ago (2015-07-15 23:26:55 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225153002/240001
5 years, 5 months ago (2015-07-16 15:44:17 UTC) #43
commit-bot: I haz the power
Committed patchset #11 (id:240001)
5 years, 5 months ago (2015-07-16 17:27:25 UTC) #44
commit-bot: I haz the power
5 years, 5 months ago (2015-07-16 17:27:32 UTC) #45
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/c27d89fdc6b33846ff06e8ca8bd03119d05c6530
Cr-Commit-Position: refs/heads/master@{#9597}

Powered by Google App Engine
This is Rietveld 408576698