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

Issue 1414743004: Implement AudioSendStream::GetStats(). (Closed)

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

Description

Implement AudioSendStream::GetStats(). BUG=webrtc:4690 Committed: https://crrev.com/85a0496b8c4ac01da7c716ea7950093659864c8e Cr-Commit-Position: refs/heads/master@{#10424}

Patch Set 1 #

Patch Set 2 : TODOs #

Total comments: 52

Patch Set 3 : comments #

Total comments: 2

Patch Set 4 : win compile error+comments #

Patch Set 5 : const fail #

Patch Set 6 : comments #

Total comments: 18

Patch Set 7 : android compile error #

Patch Set 8 : desperate attempt #

Patch Set 9 : comments #

Patch Set 10 : workaround for android build issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+713 lines, -411 lines) Patch
M talk/media/webrtc/fakewebrtccall.h View 3 chunks +6 lines, -6 lines 0 comments Download
M talk/media/webrtc/fakewebrtccall.cc View 3 chunks +11 lines, -2 lines 0 comments Download
M talk/media/webrtc/fakewebrtcvoiceengine.h View 1 2 4 6 chunks +10 lines, -44 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 chunks +44 lines, -105 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 6 7 8 9 22 chunks +176 lines, -156 lines 0 comments Download
M webrtc/audio/audio_receive_stream.h View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/audio/audio_receive_stream.cc View 1 2 5 chunks +21 lines, -16 lines 0 comments Download
M webrtc/audio/audio_receive_stream_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +36 lines, -15 lines 0 comments Download
M webrtc/audio/audio_send_stream.h View 2 chunks +16 lines, -5 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 6 7 8 3 chunks +115 lines, -5 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +44 lines, -2 lines 0 comments Download
M webrtc/audio/conversion.h View 1 chunk +6 lines, -1 line 0 comments Download
M webrtc/audio_send_stream.h View 1 chunk +19 lines, -1 line 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/test/fake_voice_engine.h View 1 2 3 7 chunks +133 lines, -50 lines 0 comments Download
A webrtc/test/fake_voice_engine.cc View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
M webrtc/test/webrtc_test_common.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
the sun
5 years, 2 months ago (2015-10-23 11:17:32 UTC) #3
tommi
https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/fakewebrtccall.cc File talk/media/webrtc/fakewebrtccall.cc (right): https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/fakewebrtccall.cc#newcode44 talk/media/webrtc/fakewebrtccall.cc:44: stats_ = stats; if you can have a thread ...
5 years, 2 months ago (2015-10-23 12:50:37 UTC) #4
the sun
https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/fakewebrtccall.cc File talk/media/webrtc/fakewebrtccall.cc (right): https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/fakewebrtccall.cc#newcode44 talk/media/webrtc/fakewebrtccall.cc:44: stats_ = stats; On 2015/10/23 12:50:37, tommi (webrtc) wrote: ...
5 years, 2 months ago (2015-10-23 15:14:17 UTC) #5
kwiberg-webrtc
https://codereview.webrtc.org/1414743004/diff/20001/webrtc/test/fake_voice_engine.h File webrtc/test/fake_voice_engine.h (right): https://codereview.webrtc.org/1414743004/diff/20001/webrtc/test/fake_voice_engine.h#newcode52 webrtc/test/fake_voice_engine.h:52: static const CallStatistics kStats = { On 2015/10/23 12:50:37, ...
5 years, 2 months ago (2015-10-25 02:07:43 UTC) #7
the sun
https://codereview.webrtc.org/1414743004/diff/20001/webrtc/test/fake_voice_engine.h File webrtc/test/fake_voice_engine.h (right): https://codereview.webrtc.org/1414743004/diff/20001/webrtc/test/fake_voice_engine.h#newcode52 webrtc/test/fake_voice_engine.h:52: static const CallStatistics kStats = { On 2015/10/25 02:07:43, ...
5 years, 1 month ago (2015-10-26 09:11:02 UTC) #8
tommi
Thanks for the updates. To be clear, my comment was more about the singleton pattern ...
5 years, 1 month ago (2015-10-26 09:54:34 UTC) #9
the sun
https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1324 talk/media/webrtc/webrtcvoiceengine.cc:1324: RTC_DCHECK(call); On 2015/10/26 09:54:34, tommi (webrtc) wrote: > On ...
5 years, 1 month ago (2015-10-26 10:54:35 UTC) #10
the sun
On 2015/10/26 10:54:35, the sun wrote: > https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc > File talk/media/webrtc/webrtcvoiceengine.cc (right): > > https://codereview.webrtc.org/1414743004/diff/20001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1324 ...
5 years, 1 month ago (2015-10-26 10:56:02 UTC) #11
kwiberg-webrtc
lgtm But consider having one thread checker per thread, because it won't work quite right ...
5 years, 1 month ago (2015-10-26 13:19:53 UTC) #12
the sun
https://codereview.webrtc.org/1414743004/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc File talk/media/webrtc/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1414743004/diff/100001/talk/media/webrtc/webrtcvoiceengine.cc#newcode1324 talk/media/webrtc/webrtcvoiceengine.cc:1324: RTC_DCHECK(ch >= 0); On 2015/10/26 13:19:53, kwiberg-webrtc wrote: > ...
5 years, 1 month ago (2015-10-26 14:44:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414743004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414743004/180001
5 years, 1 month ago (2015-10-27 09:48:45 UTC) #16
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 1 month ago (2015-10-27 10:35:26 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 10:35:39 UTC) #18
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/85a0496b8c4ac01da7c716ea7950093659864c8e
Cr-Commit-Position: refs/heads/master@{#10424}

Powered by Google App Engine
This is Rietveld 408576698