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

Issue 1309833002: Send RTCP packets via RtcpPacket callback (Closed)

Created:
5 years, 4 months ago by sprang_webrtc
Modified:
5 years ago
Reviewers:
åsapersson
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactorings to send RTCP packets directly via the RtcpPacket callback, with some simplifications enabled by this. NACK now also sent via RtcpPacket. BUG=webrtc:2450 R=asapersson@webrtc.org Committed: https://crrev.com/f7c5776d4254e31e51107388a05c66d14108a8af Cr-Commit-Position: refs/heads/master@{#10888}

Patch Set 1 #

Patch Set 2 : Send RTCP messags directly via callback, refactoring, rebase #

Total comments: 22

Patch Set 3 : Addressed comment, rebase #

Patch Set 4 : Rewritten to collect all RtcpPackets first, then send #

Patch Set 5 : Cleanup #

Total comments: 6

Patch Set 6 : Addressed comments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -414 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_packet.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 1 2 3 4 2 chunks +31 lines, -56 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 2 3 4 5 17 chunks +229 lines, -356 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
sprang_webrtc
5 years, 4 months ago (2015-08-21 15:19:09 UTC) #2
sprang_webrtc
Extended the scope of this CL to also include sending all data via the PacketReady ...
5 years, 2 months ago (2015-10-01 11:40:56 UTC) #3
åsapersson
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode107 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:107: bool BuildPacket(const rtcp::RtcpPacket& packet) { empty.Append(packet); ? https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode499 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:499: ...
5 years, 2 months ago (2015-10-13 08:50:12 UTC) #4
sprang_webrtc
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode881 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:881: return context.bytes_sent_ > 0 ? 0 : -1; On ...
5 years, 1 month ago (2015-11-03 15:40:32 UTC) #5
åsapersson
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode88 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:88: buffer_{}, needed? https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode869 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:869: return false; return -1; https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode871 ...
5 years, 1 month ago (2015-11-16 14:54:39 UTC) #6
sprang_webrtc
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode871 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:871: On 2015/11/16 14:54:39, åsapersson wrote: > lock needed when ...
5 years ago (2015-12-01 10:23:06 UTC) #7
åsapersson
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode88 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:88: buffer_{}, On 2015/11/16 14:54:39, åsapersson wrote: > needed? see ...
5 years ago (2015-12-01 13:49:20 UTC) #8
sprang_webrtc
https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/1309833002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode88 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:88: buffer_{}, On 2015/12/01 13:49:20, åsapersson wrote: > On 2015/11/16 ...
5 years ago (2015-12-02 10:33:26 UTC) #9
åsapersson
lgtm with minor comments addressed https://codereview.webrtc.org/1309833002/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet.cc (left): https://codereview.webrtc.org/1309833002/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc#oldcode616 webrtc/modules/rtp_rtcp/source/rtcp_packet.cc:616: prefer keeping new line ...
5 years ago (2015-12-03 15:53:57 UTC) #10
sprang_webrtc
https://codereview.webrtc.org/1309833002/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet.cc (left): https://codereview.webrtc.org/1309833002/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc#oldcode616 webrtc/modules/rtp_rtcp/source/rtcp_packet.cc:616: On 2015/12/03 15:53:57, åsapersson wrote: > prefer keeping new ...
5 years ago (2015-12-03 16:02:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309833002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309833002/120001
5 years ago (2015-12-03 16:06:05 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2144)
5 years ago (2015-12-03 16:10:15 UTC) #16
sprang_webrtc
Committed patchset #7 (id:120001) manually as f7c5776d4254e31e51107388a05c66d14108a8af (presubmit successful).
5 years ago (2015-12-04 09:40:59 UTC) #19
commit-bot: I haz the power
5 years ago (2015-12-04 09:40:59 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f7c5776d4254e31e51107388a05c66d14108a8af
Cr-Commit-Position: refs/heads/master@{#10888}

Powered by Google App Engine
This is Rietveld 408576698