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

Issue 1181653002: Base A/V synchronization on sync_labels. (Closed)

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

Description

Base A/V synchronization on sync_labels. Groups of streams that should be synchronized are signalled through SDP. These should be used rather than synchronizing the first-added video stream to the first-added audio stream implicitly. BUG=webrtc:4667 R=hta@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org TBR=mflodman@webrtc.org Committed: https://crrev.com/8fc7fa798f7a36955f1b933980401afad2aff592 Cr-Commit-Position: refs/heads/master@{#9586}

Patch Set 1 #

Patch Set 2 : add missing tests + fix bug #

Total comments: 14

Patch Set 3 : rebase #

Patch Set 4 : fix win compile error, bah #

Total comments: 15

Patch Set 5 : failing tests #

Patch Set 6 : remove sync groups + feedback #

Patch Set 7 : more feedback #

Total comments: 8

Patch Set 8 : pull sync into one method #

Total comments: 4

Patch Set 9 : feedback #

Total comments: 25

Patch Set 10 : feedback #

Total comments: 6

Patch Set 11 : rebase #

Patch Set 12 : feedback #

Patch Set 13 : updated log message #

Total comments: 8

Patch Set 14 : rebase #

Patch Set 15 : feedback #

Patch Set 16 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -103 lines) Patch
M talk/media/webrtc/fakewebrtccall.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -9 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +14 lines, -40 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +31 lines, -19 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 3 chunks +51 lines, -6 lines 0 comments Download
M webrtc/audio_receive_stream.h View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/video/audio_receive_stream.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/video/bitrate_estimator_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/video/call.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +66 lines, -2 lines 0 comments Download
M webrtc/video/call_perf_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +29 lines, -8 lines 0 comments Download
M webrtc/video/video_receive_stream.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +14 lines, -12 lines 0 comments Download
M webrtc/video_engine/vie_sync_module.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 51 (7 generated)
pbos-webrtc
add missing tests + fix bug
5 years, 6 months ago (2015-06-11 10:38:56 UTC) #1
pbos-webrtc
PTAL, this might require a couple of bounces back and forth.
5 years, 6 months ago (2015-06-11 10:40:40 UTC) #2
pbos-webrtc
rebase
5 years, 6 months ago (2015-06-11 10:41:58 UTC) #3
pbos-webrtc
fix win compile error, bah
5 years, 6 months ago (2015-06-11 10:46:24 UTC) #4
the sun
https://codereview.webrtc.org/1181653002/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1690 talk/media/webrtc/webrtcvoiceengine.cc:1690: const std::string& sync_label() const { return sync_label_; } Adding ...
5 years, 6 months ago (2015-06-11 11:52:04 UTC) #5
pbos-webrtc
failing tests
5 years, 6 months ago (2015-06-11 11:57:16 UTC) #6
pbos-webrtc
remove sync groups + feedback
5 years, 6 months ago (2015-06-11 14:34:25 UTC) #7
pbos-webrtc
more feedback
5 years, 6 months ago (2015-06-11 14:48:42 UTC) #8
pbos-webrtc
phew, PTAL https://codereview.webrtc.org/1181653002/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1690 talk/media/webrtc/webrtcvoiceengine.cc:1690: const std::string& sync_label() const { return sync_label_; ...
5 years, 6 months ago (2015-06-11 14:48:53 UTC) #9
the sun
Getting there... https://codereview.webrtc.org/1181653002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: receive_stream_params_[ssrc] = sp; DCHECK that there is ...
5 years, 6 months ago (2015-06-11 15:38:48 UTC) #10
pbos-webrtc
pull sync into one method
5 years, 6 months ago (2015-06-12 15:52:59 UTC) #11
pbos-webrtc
PTAL https://codereview.webrtc.org/1181653002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/120001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: receive_stream_params_[ssrc] = sp; On 2015/06/11 15:38:48, the sun ...
5 years, 6 months ago (2015-06-12 15:53:14 UTC) #12
the sun
LGTM https://codereview.webrtc.org/1181653002/diff/140001/webrtc/video/call.cc File webrtc/video/call.cc (right): https://codereview.webrtc.org/1181653002/diff/140001/webrtc/video/call.cc#newcode457 webrtc/video/call.cc:457: if (sync_audio_stream == nullptr) { else { https://codereview.webrtc.org/1181653002/diff/140001/webrtc/video/call.cc#newcode465 ...
5 years, 6 months ago (2015-06-15 10:28:50 UTC) #13
pbos-webrtc
feedback
5 years, 6 months ago (2015-06-15 12:05:21 UTC) #14
pbos-webrtc
https://codereview.webrtc.org/1181653002/diff/140001/webrtc/video/call.cc File webrtc/video/call.cc (right): https://codereview.webrtc.org/1181653002/diff/140001/webrtc/video/call.cc#newcode457 webrtc/video/call.cc:457: if (sync_audio_stream == nullptr) { On 2015/06/15 10:28:50, the ...
5 years, 6 months ago (2015-06-15 12:05:33 UTC) #15
stefan-webrtc
https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: DCHECK(receive_stream_params_.find(ssrc) == receive_stream_params_.end()); Can someone give us a fake ...
5 years, 6 months ago (2015-06-16 15:33:40 UTC) #16
the sun
https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: DCHECK(receive_stream_params_.find(ssrc) == receive_stream_params_.end()); On 2015/06/16 15:33:39, stefan-webrtc (holmer) wrote: ...
5 years, 6 months ago (2015-06-18 08:38:37 UTC) #17
mflodman
A few initial questions, think I need some more background how this should work. I ...
5 years, 6 months ago (2015-06-22 04:53:28 UTC) #18
hta-webrtc
Just to quote the specs a bit: getusermedia spec: http://w3c.github.io/mediacapture-main/getusermedia.html#stream-api Each MediaStream can contain zero ...
5 years, 6 months ago (2015-06-22 11:05:37 UTC) #19
mflodman
Thanks Harald, I was looking at RFC 5888 and the LS semantic.
5 years, 6 months ago (2015-06-22 11:08:21 UTC) #20
stefan-webrtc
https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: DCHECK(receive_stream_params_.find(ssrc) == receive_stream_params_.end()); On 2015/06/18 08:38:37, the sun wrote: ...
5 years, 6 months ago (2015-06-22 14:19:42 UTC) #21
pbos-webrtc
feedback
5 years, 6 months ago (2015-06-24 09:45:58 UTC) #22
pbos-webrtc
PTAL https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1181653002/diff/160001/talk/media/webrtc/webrtcvoiceengine.cc#newcode2576 talk/media/webrtc/webrtcvoiceengine.cc:2576: DCHECK(receive_stream_params_.find(ssrc) == receive_stream_params_.end()); On 2015/06/22 14:19:42, stefan-webrtc (holmer) ...
5 years, 6 months ago (2015-06-24 09:46:09 UTC) #23
pbos-webrtc
rebase
5 years, 6 months ago (2015-06-24 09:46:28 UTC) #24
stefan-webrtc
https://codereview.webrtc.org/1181653002/diff/180001/webrtc/video/call.cc File webrtc/video/call.cc (right): https://codereview.webrtc.org/1181653002/diff/180001/webrtc/video/call.cc#newcode369 webrtc/video/call.cc:369: ConfigureSync(receive_stream_impl->config().sync_group); Can't this crash if video_receive_ssrcs_ is empty? Probably ...
5 years, 6 months ago (2015-06-24 11:57:35 UTC) #25
pbos-webrtc
feedback
5 years, 6 months ago (2015-06-24 14:15:22 UTC) #26
pbos-webrtc
updated log message
5 years, 6 months ago (2015-06-24 14:16:20 UTC) #27
pbos-webrtc
PTAL https://codereview.webrtc.org/1181653002/diff/180001/webrtc/video/call.cc File webrtc/video/call.cc (right): https://codereview.webrtc.org/1181653002/diff/180001/webrtc/video/call.cc#newcode369 webrtc/video/call.cc:369: ConfigureSync(receive_stream_impl->config().sync_group); On 2015/06/24 11:57:35, stefan-webrtc (holmer) wrote: > ...
5 years, 6 months ago (2015-06-24 14:17:21 UTC) #28
stefan-webrtc
lgtm
5 years, 6 months ago (2015-06-25 15:29:00 UTC) #29
pbos-webrtc
+R hta@ mflodman@ PTAL
5 years, 6 months ago (2015-06-25 19:23:31 UTC) #31
pbos-webrtc
On 2015/06/25 19:23:31, pbos-webrtc wrote: > +R hta@ > > mflodman@ PTAL (hta@ PTAL as ...
5 years, 6 months ago (2015-06-25 19:23:44 UTC) #32
hta-webrtc
LGTM with comments. These are nits. https://codereview.webrtc.org/1181653002/diff/240001/talk/media/webrtc/webrtcvoiceengine_unittest.cc File talk/media/webrtc/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/1181653002/diff/240001/talk/media/webrtc/webrtcvoiceengine_unittest.cc#newcode3432 talk/media/webrtc/webrtcvoiceengine_unittest.cc:3432: .rtp.extensions.empty()); Drive-by comment: ...
5 years, 5 months ago (2015-07-06 19:04:00 UTC) #33
pbos-webrtc
rebase
5 years, 5 months ago (2015-07-09 10:14:51 UTC) #34
pbos-webrtc
feedback
5 years, 5 months ago (2015-07-09 10:21:12 UTC) #35
pbos-webrtc
Won't push this before M45 cuts, it feels risky. https://codereview.webrtc.org/1181653002/diff/240001/talk/media/webrtc/webrtcvoiceengine_unittest.cc File talk/media/webrtc/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/1181653002/diff/240001/talk/media/webrtc/webrtcvoiceengine_unittest.cc#newcode3432 talk/media/webrtc/webrtcvoiceengine_unittest.cc:3432: ...
5 years, 5 months ago (2015-07-09 10:21:49 UTC) #36
pbos-webrtc
rebase
5 years, 5 months ago (2015-07-15 08:30:38 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181653002/300001
5 years, 5 months ago (2015-07-15 12:29:53 UTC) #40
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/182)
5 years, 5 months ago (2015-07-15 12:44:07 UTC) #42
pbos-webrtc
TBR=mflodman@ for: ** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: webrtc/audio_receive_stream.h ...
5 years, 5 months ago (2015-07-15 12:56:08 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181653002/300001
5 years, 5 months ago (2015-07-15 12:56:46 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 5 months ago (2015-07-15 14:30:09 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181653002/300001
5 years, 5 months ago (2015-07-15 14:34:20 UTC) #49
commit-bot: I haz the power
Committed patchset #16 (id:300001)
5 years, 5 months ago (2015-07-15 15:03:04 UTC) #50
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 15:03:11 UTC) #51
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/8fc7fa798f7a36955f1b933980401afad2aff592
Cr-Commit-Position: refs/heads/master@{#9586}

Powered by Google App Engine
This is Rietveld 408576698