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

Issue 1397123003: Add AudioSendStream to Call. (Closed)

Created:
5 years, 2 months ago by the sun
Modified:
5 years, 2 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, peah-webrtc, kwiberg-webrtc, stefan-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add webrtc::AudioSendStream and methods on webrtc::Call to create and delete AudioSendStreams. AudioSendStream will be replacing the send side of VoiceEngine channels and associated APIs. Hence, they will be used transform recorded audio into RTP/RTCP packets that can be transmitted to another party, according to given parameters. BUG=webrtc:4690 Committed: https://crrev.com/c7a8b08a7cd8d8f37d7f5fb9930d0cdc74baba35 Cr-Commit-Position: refs/heads/master@{#10307}

Patch Set 1 #

Patch Set 2 : more tests #

Total comments: 24

Patch Set 3 : comments #

Patch Set 4 : missing file #

Patch Set 5 : comments+merge #

Total comments: 8

Patch Set 6 : merge+comments #

Total comments: 11

Patch Set 7 : merge+comments #

Total comments: 7

Patch Set 8 : comment #

Patch Set 9 : moar coment #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -15 lines) Patch
M webrtc/audio/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/audio/audio_send_stream.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A webrtc/audio/audio_send_stream.cc View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M webrtc/audio/webrtc_audio.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/audio_send_stream.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 8 chunks +43 lines, -12 lines 0 comments Download
A webrtc/call/call_unittest.cc View 1 2 3 4 5 6 7 1 chunk +104 lines, -0 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 46 (11 generated)
the sun
5 years, 2 months ago (2015-10-14 12:36:22 UTC) #2
tommi
Can you add some more documentation about what the audio send stream is and why ...
5 years, 2 months ago (2015-10-14 13:21:18 UTC) #3
the sun
https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc#newcode18 webrtc/audio/audio_send_stream.cc:18: std::string AudioSendStream::Config::Rtp::ToString() const { On 2015/10/14 13:21:18, tommi (webrtc) ...
5 years, 2 months ago (2015-10-14 14:25:24 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc#newcode18 webrtc/audio/audio_send_stream.cc:18: std::string AudioSendStream::Config::Rtp::ToString() const { On 2015/10/14 14:25:24, the sun ...
5 years, 2 months ago (2015-10-14 14:29:22 UTC) #7
tommi
On 2015/10/14 14:29:22, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc > File webrtc/audio/audio_send_stream.cc (right): > > https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc#newcode18 ...
5 years, 2 months ago (2015-10-14 14:41:30 UTC) #8
tommi
Thanks, I'll wait for feedback wrt to threading https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio/audio_send_stream.cc#newcode22 webrtc/audio/audio_send_stream.cc:22: for ...
5 years, 2 months ago (2015-10-14 14:49:28 UTC) #9
the sun
https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio_send_stream.h File webrtc/audio_send_stream.h (right): https://codereview.webrtc.org/1397123003/diff/20001/webrtc/audio_send_stream.h#newcode59 webrtc/audio_send_stream.h:59: AudioEncoder* encoder = nullptr; On 2015/10/14 14:49:28, tommi (webrtc) ...
5 years, 2 months ago (2015-10-15 12:56:06 UTC) #10
pbos-webrtc
I don't think we should enforce that stream configuration and network is done on the ...
5 years, 2 months ago (2015-10-15 15:32:12 UTC) #11
the sun
https://codereview.webrtc.org/1397123003/diff/80001/webrtc/webrtc_tests.gypi File webrtc/webrtc_tests.gypi (right): https://codereview.webrtc.org/1397123003/diff/80001/webrtc/webrtc_tests.gypi#newcode149 webrtc/webrtc_tests.gypi:149: # TODO(solenberg): Rename to webrtc_call_tests? On 2015/10/15 15:32:12, pbos-webrtc ...
5 years, 2 months ago (2015-10-15 15:34:44 UTC) #12
pbos-webrtc
On 2015/10/15 15:34:44, the sun wrote: > https://codereview.webrtc.org/1397123003/diff/80001/webrtc/webrtc_tests.gypi > File webrtc/webrtc_tests.gypi (right): > > https://codereview.webrtc.org/1397123003/diff/80001/webrtc/webrtc_tests.gypi#newcode149 ...
5 years, 2 months ago (2015-10-15 16:35:00 UTC) #13
the sun
On 2015/10/15 16:35:00, pbos-webrtc wrote: > On 2015/10/15 15:34:44, the sun wrote: > > https://codereview.webrtc.org/1397123003/diff/80001/webrtc/webrtc_tests.gypi ...
5 years, 2 months ago (2015-10-15 18:20:34 UTC) #14
tommi
On 2015/10/15 15:32:12, pbos-webrtc wrote: > I don't think we should enforce that stream configuration ...
5 years, 2 months ago (2015-10-15 21:09:53 UTC) #15
the sun
On 2015/10/15 21:09:53, tommi (webrtc) wrote: > On 2015/10/15 15:32:12, pbos-webrtc wrote: > > I ...
5 years, 2 months ago (2015-10-16 08:46:55 UTC) #16
the sun
https://codereview.webrtc.org/1397123003/diff/80001/webrtc/audio/audio_send_stream.h File webrtc/audio/audio_send_stream.h (right): https://codereview.webrtc.org/1397123003/diff/80001/webrtc/audio/audio_send_stream.h#newcode17 webrtc/audio/audio_send_stream.h:17: On 2015/10/15 15:32:11, pbos-webrtc wrote: > remove empty line ...
5 years, 2 months ago (2015-10-16 08:47:05 UTC) #17
tommi
On 2015/10/16 08:46:55, the sun wrote: > On 2015/10/15 21:09:53, tommi (webrtc) wrote: > > ...
5 years, 2 months ago (2015-10-16 08:54:02 UTC) #18
the sun
On 2015/10/16 08:54:02, tommi (webrtc) wrote: > On 2015/10/16 08:46:55, the sun wrote: > > ...
5 years, 2 months ago (2015-10-16 09:17:01 UTC) #19
the sun
Ping, can we move ahead?
5 years, 2 months ago (2015-10-16 09:17:45 UTC) #20
stefan-webrtc
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode30 webrtc/call/call_unittest.cc:30: }; I haven't seen this pattern used in many ...
5 years, 2 months ago (2015-10-16 09:25:42 UTC) #21
The Sun (google.com)
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode30 webrtc/call/call_unittest.cc:30: }; On 2015/10/16 09:25:41, stefan-webrtc (holmer) wrote: > I ...
5 years, 2 months ago (2015-10-16 09:41:47 UTC) #23
stefan-webrtc
lgtm https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode30 webrtc/call/call_unittest.cc:30: }; On 2015/10/16 09:41:46, solenberg wrote: > On ...
5 years, 2 months ago (2015-10-16 09:46:15 UTC) #24
pbos-webrtc
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode64 webrtc/call/call_unittest.cc:64: for (uint32_t ssrc = 0; ssrc < 1234567; ssrc ...
5 years, 2 months ago (2015-10-16 10:48:30 UTC) #26
pbos-webrtc
(lgtm, I trust you take care of the rest)
5 years, 2 months ago (2015-10-16 10:48:46 UTC) #27
The Sun (google.com)
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode64 webrtc/call/call_unittest.cc:64: for (uint32_t ssrc = 0; ssrc < 1234567; ssrc ...
5 years, 2 months ago (2015-10-16 11:01:57 UTC) #29
tommi
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode26 webrtc/call/call_unittest.cc:26: webrtc::Call* operator()() { return call_.get(); } what about overloading ...
5 years, 2 months ago (2015-10-16 11:08:43 UTC) #30
tommi
https://codereview.webrtc.org/1397123003/diff/120001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/1397123003/diff/120001/webrtc/audio/audio_send_stream.cc#newcode52 webrtc/audio/audio_send_stream.cc:52: LOG(LS_INFO) << "~AudioSendStream: " << config_.ToString(); does this go ...
5 years, 2 months ago (2015-10-16 11:15:33 UTC) #31
tommi
oh and if you can make the CL description a little bit more verbose (see ...
5 years, 2 months ago (2015-10-16 11:17:34 UTC) #32
the sun
https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode26 webrtc/call/call_unittest.cc:26: webrtc::Call* operator()() { return call_.get(); } On 2015/10/16 11:08:43, ...
5 years, 2 months ago (2015-10-16 11:30:01 UTC) #34
the sun
On 2015/10/16 11:30:01, the sun wrote: > https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc > File webrtc/call/call_unittest.cc (right): > > https://codereview.webrtc.org/1397123003/diff/100001/webrtc/call/call_unittest.cc#newcode26 ...
5 years, 2 months ago (2015-10-16 12:48:23 UTC) #35
the sun
ping...
5 years, 2 months ago (2015-10-16 15:21:48 UTC) #36
tommi
lgtm
5 years, 2 months ago (2015-10-16 17:52:47 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397123003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397123003/180001
5 years, 2 months ago (2015-10-16 17:52:53 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
5 years, 2 months ago (2015-10-16 19:53:00 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397123003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397123003/180001
5 years, 2 months ago (2015-10-16 21:32:06 UTC) #44
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 2 months ago (2015-10-16 21:35:11 UTC) #45
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 21:35:16 UTC) #46
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c7a8b08a7cd8d8f37d7f5fb9930d0cdc74baba35
Cr-Commit-Position: refs/heads/master@{#10307}

Powered by Google App Engine
This is Rietveld 408576698