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

Issue 3000713002: Add audio_level member to RtpSource and set it from RtpReceiverImpl::IncomingRtpPacket. (Closed)

Created:
3 years, 4 months ago by Zach Stein
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, danilchap, zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add audio_level member to RtpSource and set it from RtpReceiverImpl::IncomingRtpPacket. BUG=webrtc:7987 Review-Url: https://codereview.webrtc.org/3000713002 Cr-Commit-Position: refs/heads/master@{#19503} Committed: https://chromium.googlesource.com/external/webrtc/+/2b706343de6f79839f46d12008ec3c8062bb94bc

Patch Set 1 #

Total comments: 12

Patch Set 2 : Move audio level update to critical section protected method and address other feedback. #

Total comments: 2

Patch Set 3 : Move set_audio_level before RemoveOutdatedSources. #

Total comments: 11

Patch Set 4 : Minor fixes as suggested by pthatcher. #

Total comments: 7

Patch Set 5 : Style feedback from deadbeef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -7 lines) Patch
M webrtc/api/rtpreceiverinterface.h View 1 2 3 2 chunks +15 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_unittest.cc View 1 2 3 4 1 chunk +84 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
Zach Stein
PTAL
3 years, 4 months ago (2017-08-10 20:58:32 UTC) #2
Zach Stein
PTAL
3 years, 4 months ago (2017-08-14 18:38:08 UTC) #4
danilchap
https://codereview.webrtc.org/3000713002/diff/1/webrtc/api/rtpreceiverinterface.h File webrtc/api/rtpreceiverinterface.h (right): https://codereview.webrtc.org/3000713002/diff/1/webrtc/api/rtpreceiverinterface.h#newcode64 webrtc/api/rtpreceiverinterface.h:64: void update_audio_level(rtc::Optional<uint8_t> level) { write acessor usually has set_ ...
3 years, 4 months ago (2017-08-15 08:18:29 UTC) #5
Zach Stein
Thanks for the feedback - I think I addressed everything. https://codereview.webrtc.org/3000713002/diff/1/webrtc/api/rtpreceiverinterface.h File webrtc/api/rtpreceiverinterface.h (right): https://codereview.webrtc.org/3000713002/diff/1/webrtc/api/rtpreceiverinterface.h#newcode64 ...
3 years, 4 months ago (2017-08-15 21:44:59 UTC) #6
danilchap
lgtm https://codereview.webrtc.org/3000713002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc (right): https://codereview.webrtc.org/3000713002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc#newcode536 webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc:536: ssrc_sources_.back().set_audio_level(audio_level); this line probably looks better before RemoveOutdatedSources. ...
3 years, 4 months ago (2017-08-16 10:31:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3000713002/40001
3 years, 4 months ago (2017-08-21 17:52:37 UTC) #10
Zach Stein
@pthatcher can you take a quick look at the /api change? Thanks! https://codereview.webrtc.org/3000713002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc ...
3 years, 4 months ago (2017-08-21 17:55:06 UTC) #13
pthatcher
Just nits https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h File webrtc/api/rtpreceiverinterface.h (right): https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h#newcode41 webrtc/api/rtpreceiverinterface.h:41: audio_level_() {} Do you even need to ...
3 years, 4 months ago (2017-08-21 22:55:40 UTC) #15
Zhi Huang
https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h File webrtc/api/rtpreceiverinterface.h (right): https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h#newcode50 webrtc/api/rtpreceiverinterface.h:50: audio_level_(audio_level) {} On 2017/08/21 22:55:40, pthatcher wrote: > Is ...
3 years, 4 months ago (2017-08-22 00:01:19 UTC) #17
Zach Stein
https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h File webrtc/api/rtpreceiverinterface.h (right): https://codereview.webrtc.org/3000713002/diff/40001/webrtc/api/rtpreceiverinterface.h#newcode41 webrtc/api/rtpreceiverinterface.h:41: audio_level_() {} On 2017/08/21 22:55:39, pthatcher wrote: > Do ...
3 years, 4 months ago (2017-08-22 21:30:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3000713002/60001
3 years, 4 months ago (2017-08-22 21:30:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/20566)
3 years, 4 months ago (2017-08-22 21:35:29 UTC) #23
Zach Stein
@pthatcher lgty?
3 years, 4 months ago (2017-08-22 23:41:27 UTC) #24
Zach Stein
@deadbeef: Can you take a quick look at the api changes? Thanks!
3 years, 4 months ago (2017-08-24 18:15:10 UTC) #26
Taylor Brandstetter
lgtm with very minor nits https://codereview.webrtc.org/3000713002/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc (right): https://codereview.webrtc.org/3000713002/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc#newcode507 webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc:507: void RtpReceiverImpl::UpdateSources(const rtc::Optional<uint8_t>& audio_level) ...
3 years, 4 months ago (2017-08-24 20:40:57 UTC) #27
Zach Stein
https://codereview.webrtc.org/3000713002/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc (right): https://codereview.webrtc.org/3000713002/diff/60001/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc#newcode507 webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc:507: void RtpReceiverImpl::UpdateSources(const rtc::Optional<uint8_t>& audio_level) { On 2017/08/24 20:40:57, Taylor ...
3 years, 4 months ago (2017-08-24 21:14:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3000713002/80001
3 years, 4 months ago (2017-08-24 21:15:06 UTC) #31
commit-bot: I haz the power
3 years, 4 months ago (2017-08-24 21:52:26 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/2b706343de6f79839f46d1200...

Powered by Google App Engine
This is Rietveld 408576698