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

Issue 2867943003: New class RtpDemuxer and RtpPacketSinkInterface, use in Call. (Closed)

Created:
3 years, 7 months ago by nisse-webrtc
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, mflodman, Taylor Brandstetter
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

New class RtpDemuxer and RtpPacketSinkInterface, use in Call. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2867943003 Cr-Commit-Position: refs/heads/master@{#18160} Committed: https://chromium.googlesource.com/external/webrtc/+/e4bcd6d02aebdf61589b7e63985c984d20a84011

Patch Set 1 #

Patch Set 2 : Fix use-after-free crash in av sync. #

Total comments: 24

Patch Set 3 : Address danil's comments. #

Total comments: 6

Patch Set 4 : Rebase, affects Call::OnRecoveredPacket. #

Patch Set 5 : Let flexfec ignore recovered media packets, to fix infinite recursion. #

Patch Set 6 : Comment improvements and nits. #

Patch Set 7 : Fix Flexfec recursion issue in a different way. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -121 lines) Patch
M webrtc/audio/audio_receive_stream.h View 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/call/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/call/call.cc View 1 2 3 4 5 17 chunks +48 lines, -111 lines 0 comments Download
M webrtc/call/flexfec_receive_stream_impl.h View 3 chunks +5 lines, -3 lines 0 comments Download
A webrtc/call/rtp_demuxer.h View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A webrtc/call/rtp_demuxer.cc View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 1 comment Download
M webrtc/video/video_receive_stream.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
nisse-webrtc
This cl adds a class RtpDemuxer, and the RtpPacketSinkInterface. Hopefully easier than https://codereview.webrtc.org/2709723003/ OnRecoveredPacket is ...
3 years, 7 months ago (2017-05-09 07:34:44 UTC) #2
nisse-webrtc
On 2017/05/09 07:34:44, nisse-webrtc wrote: > 2. Let Call::OnRecoveredPacket parse the packet (in the same ...
3 years, 7 months ago (2017-05-09 08:44:10 UTC) #3
danilchap
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (left): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#oldcode599 webrtc/call/call.cc:599: RTC_DCHECK(num_deleted == 1); may be move DCHECK that something ...
3 years, 7 months ago (2017-05-09 09:20:22 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (left): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#oldcode599 webrtc/call/call.cc:599: RTC_DCHECK(num_deleted == 1); On 2017/05/09 09:20:22, danilchap wrote: > ...
3 years, 7 months ago (2017-05-09 12:11:49 UTC) #5
danilchap
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#newcode1201 webrtc/call/call.cc:1201: // parse packets here, add a "recovered" flag to ...
3 years, 7 months ago (2017-05-09 13:23:41 UTC) #6
pthatcher1
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#newcode218 webrtc/call/call.cc:218: RtpDemuxer video_rtp_demuxer_; The comment on RtpDemuxer said it's "per ...
3 years, 7 months ago (2017-05-10 00:04:22 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#newcode218 webrtc/call/call.cc:218: RtpDemuxer video_rtp_demuxer_; On 2017/05/10 00:04:21, pthatcher1 wrote: > The ...
3 years, 7 months ago (2017-05-10 07:41:32 UTC) #8
Taylor Brandstetter
I only skimmed over the Call code, but this looks good to me. https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/rtp_demuxer.h File ...
3 years, 7 months ago (2017-05-10 20:59:43 UTC) #10
pthatcher1
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/call.cc#newcode218 webrtc/call/call.cc:218: RtpDemuxer video_rtp_demuxer_; On 2017/05/10 07:41:32, nisse-webrtc wrote: > On ...
3 years, 7 months ago (2017-05-12 00:38:51 UTC) #11
nisse-webrtc
I got an interesting error after rebase. Problem is that when flexfec recovers a packet, ...
3 years, 7 months ago (2017-05-12 07:45:20 UTC) #12
nisse-webrtc
https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/rtp_demuxer.h File webrtc/call/rtp_demuxer.h (right): https://codereview.webrtc.org/2867943003/diff/20001/webrtc/call/rtp_demuxer.h#newcode35 webrtc/call/rtp_demuxer.h:35: virtual void AddSink(uint32_t ssrc, RtpPacketSinkInterface* sink); On 2017/05/12 00:38:51, ...
3 years, 7 months ago (2017-05-12 08:50:08 UTC) #13
Taylor Brandstetter
https://codereview.webrtc.org/2867943003/diff/40001/webrtc/call/rtp_demuxer.h File webrtc/call/rtp_demuxer.h (right): https://codereview.webrtc.org/2867943003/diff/40001/webrtc/call/rtp_demuxer.h#newcode28 webrtc/call/rtp_demuxer.h:28: // to the user of this class. On 2017/05/12 ...
3 years, 7 months ago (2017-05-12 16:36:17 UTC) #14
pthatcher1
lgtm
3 years, 7 months ago (2017-05-12 18:24:54 UTC) #15
danilchap
lgtm
3 years, 7 months ago (2017-05-15 09:22:05 UTC) #16
brandtr
lgtm. Looks like the mac_rel failure is a flake: Interrupted: ./rtc_unittests AsyncInvokeTest.CancelInvoker (try #1) https://codereview.webrtc.org/2867943003/diff/120001/webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc ...
3 years, 7 months ago (2017-05-16 08:19:40 UTC) #17
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/2867943003/120001
3 years, 7 months ago (2017-05-16 08:53:29 UTC) #24
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/17059)
3 years, 7 months ago (2017-05-16 08:58:00 UTC) #26
the sun
On 2017/05/16 08:58:00, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-16 09:51:56 UTC) #27
stefan-webrtc
Nice improvement. LGTM
3 years, 7 months ago (2017-05-16 10:38:25 UTC) #29
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/2867943003/120001
3 years, 7 months ago (2017-05-16 11:44:31 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 11:47:11 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/e4bcd6d02aebdf61589b7e639...

Powered by Google App Engine
This is Rietveld 408576698