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

Issue 2746333009: OnReceivedUplinkPacketLossFraction() receives [const rtc::Optional<float>&] (Closed)

Created:
3 years, 9 months ago by elad.alon
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, Andrew MacDonald, henrika_webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, the sun, michaelt
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

OnReceivedUplinkPacketLossFraction() receives [const rtc::Optional<float>&] TWCC-based R/RPLR can go back to unknown, so it needs an rtc::Optional<float> instead of a simple float. BUG=webrtc:7058

Patch Set 1 #

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -41 lines) Patch
M webrtc/modules/audio_coding/acm2/audio_coding_module.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_audio_network_adaptor.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc View 1 chunk +11 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
elad.alon_webrtc.org
Please have a look.
3 years, 9 months ago (2017-03-16 18:24:23 UTC) #3
kwiberg-webrtc
As a general principle, you almost never want references to Optional. Either pass the Optional<float> ...
3 years, 9 months ago (2017-03-16 19:45:54 UTC) #5
minyue-webrtc
I think the correct way to do it is simply not calling OnReceivedUplinkPacketLossFraction if the ...
3 years, 9 months ago (2017-03-17 06:55:01 UTC) #6
elad.alon_webrtc.org
On 2017/03/17 06:55:01, minyue-webrtc(OOO_until_Mar19) wrote: > I think the correct way to do it is ...
3 years, 9 months ago (2017-03-17 09:45:34 UTC) #8
minyue-webrtc
On 2017/03/17 09:45:34, elad.alon wrote: > On 2017/03/17 06:55:01, minyue-webrtc(OOO_until_Mar19) wrote: > > I think ...
3 years, 9 months ago (2017-03-17 11:48:21 UTC) #9
elad.alon_webrtc.org
On 2017/03/17 11:48:21, minyue-webrtc(OOO_until_Mar19) wrote: > On 2017/03/17 09:45:34, elad.alon wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-17 12:28:12 UTC) #10
minyue-webrtc
On 2017/03/17 12:28:12, elad.alon wrote: > On 2017/03/17 11:48:21, minyue-webrtc(OOO_until_Mar19) wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-17 12:42:08 UTC) #11
elad.alon_webrtc.org
On 2017/03/17 12:42:08, minyue-webrtc(OOO_until_Mar19) wrote: > On 2017/03/17 12:28:12, elad.alon wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-17 12:47:40 UTC) #12
elad.alon_webrtc.org
On 2017/03/17 12:47:40, elad.alon wrote: > On 2017/03/17 12:42:08, minyue-webrtc(OOO_until_Mar19) wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-17 18:42:24 UTC) #13
minyue-webrtc
On 2017/03/17 18:42:24, elad.alon wrote: > On 2017/03/17 12:47:40, elad.alon wrote: > > On 2017/03/17 ...
3 years, 9 months ago (2017-03-17 19:29:33 UTC) #14
elad.alon_webrtc.org
3 years, 9 months ago (2017-03-20 17:51:17 UTC) #15
As per offline discussion, a TODO will be added in the following CL (which would
otherwise have used this), and the problem mentioned would be addressed later
(probably after the tracker has been moved to the encoder).

Powered by Google App Engine
This is Rietveld 408576698