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

Issue 2840833002: Delete media type check in Call::NotifyBweOfReceivedPacket.

Created:
3 years, 8 months ago by nisse-webrtc
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, mflodman, kjellander_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete media type check in Call::NotifyBweOfReceivedPacket. This was introduced in cl https://codereview.webrtc.org/2673523003/, and at the time needed to not break perf tests. It appears to no longer be needed. BUG=webrtc:6847, webrtc:7062

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Fix/improve voe::Channel destruction race. #

Total comments: 2

Patch Set 4 : Speculative add of encode_stop_lock_. #

Patch Set 5 : Update RTCStatsIntegrationTest to tolerate available_incoming_bitrate being set. #

Patch Set 6 : Undo voe::Channel workarounds. #

Total comments: 3

Patch Set 7 : Adjust test of available_incoming_bitrate, as suggested by hbos. #

Patch Set 8 : Comment update. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M webrtc/api/stats/rtcstats_objects.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/call/call.cc View 1 chunk +3 lines, -7 lines 1 comment Download
M webrtc/pc/rtcstats_integrationtest.cc View 1 2 3 4 5 6 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 41 (19 generated)
nisse-webrtc
PTAL. I get a few failures when running webrtc_perf_tests locally, FAILED TESTS (4/110): ./out/Release/webrtc_perf_tests: FullStackTest.ForemanCifPlr5H264 ...
3 years, 8 months ago (2017-04-25 13:35:17 UTC) #5
nisse-webrtc
On 2017/04/25 13:35:17, nisse-webrtc wrote: > PTAL. > > I get a few failures when ...
3 years, 8 months ago (2017-04-25 14:51:50 UTC) #12
nisse-webrtc
+ henrika@. Patchset #3 tries to fix the tsan failure.
3 years, 8 months ago (2017-04-26 14:13:05 UTC) #14
henrika_webrtc
Thanks for trying to improve. Hope it helps. lgtm
3 years, 8 months ago (2017-04-26 14:15:52 UTC) #15
henrika_webrtc
https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc#newcode2716 webrtc/voice_engine/channel.cc:2716: // other thread calls ChannelManager::DestroyChannel whch calls nit, which ...
3 years, 8 months ago (2017-04-26 14:16:01 UTC) #16
nisse-webrtc
On 2017/04/26 14:16:01, henrika_webrtc wrote: > https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc > File webrtc/voice_engine/channel.cc (right): > > https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc#newcode2716 > ...
3 years, 8 months ago (2017-04-26 14:30:16 UTC) #17
henrika_webrtc
Is it possible to modify your original CL somehow to circumvent the issue? Seems very ...
3 years, 8 months ago (2017-04-26 14:34:19 UTC) #18
the sun
https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc#newcode2718 webrtc/voice_engine/channel.cc:2718: // task, our task can get run at the ...
3 years, 8 months ago (2017-04-26 20:29:03 UTC) #20
nisse-webrtc
On 2017/04/26 20:29:03, the sun wrote: > https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc > File webrtc/voice_engine/channel.cc (right): > > https://codereview.webrtc.org/2840833002/diff/40001/webrtc/voice_engine/channel.cc#newcode2718 ...
3 years, 8 months ago (2017-04-27 07:49:10 UTC) #21
the sun
On 2017/04/27 07:49:10, nisse-webrtc wrote: > On 2017/04/26 20:29:03, the sun wrote: > > > ...
3 years, 8 months ago (2017-04-27 09:10:58 UTC) #22
nisse-webrtc
On 2017/04/27 09:10:58, the sun wrote: > On 2017/04/27 07:49:10, nisse-webrtc wrote: > > On ...
3 years, 7 months ago (2017-04-28 11:54:45 UTC) #23
nisse-webrtc
Hi, I believe the voe:Channel race (https://bugs.chromium.org/p/webrtc/issues/detail?id=7540) is unrelated to this cl. And the android ...
3 years, 7 months ago (2017-05-02 12:39:18 UTC) #29
hbos
https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc#newcode402 webrtc/pc/rtcstats_integrationtest.cc:402: candidate_pair.available_incoming_bitrate); Can you move this to inside "if (is_selected_pair)" ...
3 years, 7 months ago (2017-05-02 12:58:56 UTC) #30
hbos
https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc#newcode402 webrtc/pc/rtcstats_integrationtest.cc:402: candidate_pair.available_incoming_bitrate); On 2017/05/02 12:58:55, hbos wrote: > Can you ...
3 years, 7 months ago (2017-05-02 13:00:46 UTC) #31
nisse-webrtc
https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2840833002/diff/100001/webrtc/pc/rtcstats_integrationtest.cc#newcode402 webrtc/pc/rtcstats_integrationtest.cc:402: candidate_pair.available_incoming_bitrate); On 2017/05/02 12:58:55, hbos wrote: > Can you ...
3 years, 7 months ago (2017-05-05 09:41:19 UTC) #34
hbos
rtcstats_integrationtest.cc lgtm
3 years, 7 months ago (2017-05-05 10:51:10 UTC) #35
hbos
Oh but can you update the comment int rtcstats_objects.h? Now it says its always undefined ...
3 years, 7 months ago (2017-05-05 10:53:18 UTC) #36
nisse-webrtc
On 2017/05/05 10:53:18, hbos wrote: > Oh but can you update the comment int rtcstats_objects.h? ...
3 years, 7 months ago (2017-05-05 12:17:21 UTC) #37
stefan-webrtc
https://codereview.webrtc.org/2840833002/diff/140001/webrtc/call/call.cc File webrtc/call/call.cc (left): https://codereview.webrtc.org/2840833002/diff/140001/webrtc/call/call.cc#oldcode1281 webrtc/call/call.cc:1281: if (media_type == MediaType::VIDEO || I don't think it's ...
3 years, 7 months ago (2017-05-05 12:26:40 UTC) #38
nisse-webrtc
On 2017/05/05 12:26:40, stefan-webrtc wrote: > Let's say we're receiving audio without header extensions and ...
3 years, 7 months ago (2017-05-08 11:17:57 UTC) #39
stefan-webrtc
On 2017/05/08 11:17:57, nisse-webrtc wrote: > On 2017/05/05 12:26:40, stefan-webrtc wrote: > > Let's say ...
3 years, 7 months ago (2017-05-08 11:53:01 UTC) #40
nisse-webrtc
3 years, 7 months ago (2017-05-08 12:20:41 UTC) #41
On 2017/05/08 11:53:01, stefan-webrtc wrote:
> Changing the rules to
> > 
> > 1. If send side BWE is negotiated (both header extension and feedback
> message),
> > always use RemoteEstimator proxy. And let the BWE ignore packets without
> > transport sequence number.
> > 
> > 2. Else, if abs send time has been negotiated, always use
> > RemoteBitrateEstimatorAbsSendTime. Let the BWE ignore packets without abs
send
> > time (which in the above scenario would be all audio packets).
> > 
> > 3. Else, always (or at least, if REMB is negotiated) use
> > RemoteBitrateEstimatorSingleStream.
> 
> It could work, but it's incorrect from an sdp perspective since we're saying
we
> can receive any of those three extensions, but in practice we only accept one
of
> them. This could mean that someone who wants to use abs-send-time will have to
> modify chrome's sdp from GetOffer() before calling SetLocalDescription() to
make
> sure only one of the header extensions are present (or at least that
> transport-seq-num isn't present), which is different from what they have to do
> today, right?

When would that happen? You have two parties, both supporting both transport
sequence number and abs send time, so both extensions are negotiated. But one of
the parties then prefers abs send time, so on transmitted packets it will only
attach abs send time, not transport sequence number?

Powered by Google App Engine
This is Rietveld 408576698