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

Issue 1307663004: Add a ParseHeader method to RtcpPacket, for parsing common RTCP header. (Closed)

Created:
5 years, 3 months ago by sprang_webrtc
Modified:
5 years, 3 months 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

Add a ParseHeader method to RtcpPacket, for parsing common RTCP header. Also refactor TransportFeedback to use this. BUG= Committed: https://crrev.com/73a93e82579d6eeb3a1c4a63ef4b64c3c4d9bb18 Cr-Commit-Position: refs/heads/master@{#9935}

Patch Set 1 #

Patch Set 2 : Refactorings, unit tests #

Total comments: 2

Patch Set 3 : Merged RtcpPacket header parsing with RTCPUtility #

Total comments: 24

Patch Set 4 : Addressed comments #

Total comments: 10

Patch Set 5 : Addressed comments #

Total comments: 6

Patch Set 6 : Addressed comments, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -167 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtcp_packet.h View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc View 1 2 3 4 5 7 chunks +14 lines, -43 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_utility.h View 1 2 3 6 chunks +27 lines, -15 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_utility.cc View 1 2 3 4 5 13 chunks +111 lines, -103 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_utility_unittest.cc View 1 2 3 4 5 2 chunks +89 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
sprang_webrtc
5 years, 3 months ago (2015-09-02 12:50:24 UTC) #2
åsapersson
https://codereview.webrtc.org/1307663004/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet.cc (right): https://codereview.webrtc.org/1307663004/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc#newcode759 webrtc/modules/rtp_rtcp/source/rtcp_packet.cc:759: CommonHeader* header) { Looks like RTCPUtility::RTCPParseCommonHeader can be used?
5 years, 3 months ago (2015-09-03 08:57:21 UTC) #3
sprang_webrtc
I've merged the parsing from RtcpPacket into the old one in RTCPUtility. Now has some ...
5 years, 3 months ago (2015-09-04 14:12:50 UTC) #4
åsapersson
https://codereview.webrtc.org/1307663004/diff/40001/webrtc/modules/rtp_rtcp/source/rtcp_packet.h File webrtc/modules/rtp_rtcp/source/rtcp_packet.h (right): https://codereview.webrtc.org/1307663004/diff/40001/webrtc/modules/rtp_rtcp/source/rtcp_packet.h#newcode102 webrtc/modules/rtp_rtcp/source/rtcp_packet.h:102: static void CreateHeader(uint8_t count_or_format, remove static? https://codereview.webrtc.org/1307663004/diff/40001/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc File webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc ...
5 years, 3 months ago (2015-09-08 10:20:42 UTC) #5
sprang_webrtc
https://codereview.webrtc.org/1307663004/diff/40001/webrtc/modules/rtp_rtcp/source/rtcp_packet.h File webrtc/modules/rtp_rtcp/source/rtcp_packet.h (right): https://codereview.webrtc.org/1307663004/diff/40001/webrtc/modules/rtp_rtcp/source/rtcp_packet.h#newcode102 webrtc/modules/rtp_rtcp/source/rtcp_packet.h:102: static void CreateHeader(uint8_t count_or_format, On 2015/09/08 10:20:41, åsapersson wrote: ...
5 years, 3 months ago (2015-09-09 09:18:54 UTC) #6
åsapersson
https://codereview.webrtc.org/1307663004/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc File webrtc/modules/rtp_rtcp/source/rtcp_utility.cc (right): https://codereview.webrtc.org/1307663004/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc#newcode469 webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:469: const size_t kHeaderLength = 4; use define in RtcpCommonHeader? ...
5 years, 3 months ago (2015-09-10 13:27:34 UTC) #7
sprang_webrtc
https://codereview.webrtc.org/1307663004/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc File webrtc/modules/rtp_rtcp/source/rtcp_utility.cc (right): https://codereview.webrtc.org/1307663004/diff/60001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc#newcode469 webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:469: const size_t kHeaderLength = 4; On 2015/09/10 13:27:33, åsapersson ...
5 years, 3 months ago (2015-09-11 13:03:19 UTC) #8
åsapersson
lgtm (see comments) https://codereview.webrtc.org/1307663004/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc File webrtc/modules/rtp_rtcp/source/rtcp_utility.cc (right): https://codereview.webrtc.org/1307663004/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc#newcode501 webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:501: if (payload_size - RtcpCommonHeader::kHeaderSizeBytes < 1) ...
5 years, 3 months ago (2015-09-14 14:23:47 UTC) #9
sprang_webrtc
https://codereview.webrtc.org/1307663004/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc File webrtc/modules/rtp_rtcp/source/rtcp_utility.cc (right): https://codereview.webrtc.org/1307663004/diff/80001/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc#newcode501 webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:501: if (payload_size - RtcpCommonHeader::kHeaderSizeBytes < 1) { On 2015/09/14 ...
5 years, 3 months ago (2015-09-14 15:58:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307663004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307663004/100001
5 years, 3 months ago (2015-09-14 15:58:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
5 years, 3 months ago (2015-09-14 17:58:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307663004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307663004/100001
5 years, 3 months ago (2015-09-14 19:49:43 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-14 19:50:44 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-14 19:50:56 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/73a93e82579d6eeb3a1c4a63ef4b64c3c4d9bb18
Cr-Commit-Position: refs/heads/master@{#9935}

Powered by Google App Engine
This is Rietveld 408576698