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

Issue 1257163003: Changed LogRtpHeader to read the header length from the packet (Closed)

Created:
5 years, 4 months ago by terelius
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), stefan-webrtc, tterriberry_mozilla.com, andresp, perkj_webrtc, mflodman, kwiberg-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Changed LogRtpHeader to read the header length from the packet instead of requiring an extra argument. BUG= Committed: https://crrev.com/2f9fd5ddb9097054b71fce20ba24bc34b2f084c0 Cr-Commit-Position: refs/heads/master@{#9856}

Patch Set 1 #

Total comments: 28

Patch Set 2 : Manual control of header extensions in unit test, and minor reviewer comments. #

Total comments: 30

Patch Set 3 : Small refactoring of code to select header extensions #

Patch Set 4 : Changed integer literals to unsigned #

Total comments: 8

Patch Set 5 : Renaming constants and fixing some other reviewer comments #

Patch Set 6 : Represent packets using rtc::Buffer #

Total comments: 4

Patch Set 7 : Nits #

Patch Set 8 : Fixed upload of wrong nits patch #

Total comments: 2

Patch Set 9 : Avoid implicit conversions int -> bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -100 lines) Patch
M webrtc/video/rtc_event_log.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/video/rtc_event_log.cc View 1 5 chunks +21 lines, -9 lines 0 comments Download
M webrtc/video/rtc_event_log_unittest.cc View 1 2 3 4 5 6 7 8 8 chunks +206 lines, -88 lines 0 comments Download

Messages

Total messages: 26 (4 generated)
terelius
Please have a look at this patch which moves the parsing the header length into ...
5 years, 4 months ago (2015-07-31 14:04:56 UTC) #2
hlundin-webrtc
See comments inline. https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc File webrtc/video/rtc_event_log.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc#newcode294 webrtc/video/rtc_event_log.cc:294: const uint8_t X = (header[0] & ...
5 years, 4 months ago (2015-08-04 09:43:50 UTC) #3
ivoc
https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc File webrtc/video/rtc_event_log.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc#newcode299 webrtc/video/rtc_event_log.cc:299: if (packet_length < 12u + CC*4u + 4u) { ...
5 years, 4 months ago (2015-08-06 12:29:44 UTC) #4
terelius
https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc File webrtc/video/rtc_event_log.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc#newcode294 webrtc/video/rtc_event_log.cc:294: const uint8_t X = (header[0] & 0x10) == 0 ...
5 years, 4 months ago (2015-08-12 13:12:40 UTC) #5
hlundin-webrtc
A few more comments. https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc File webrtc/video/rtc_event_log.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc#newcode299 webrtc/video/rtc_event_log.cc:299: if (packet_length < 12u + ...
5 years, 4 months ago (2015-08-13 14:09:52 UTC) #6
ivoc
https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc File webrtc/video/rtc_event_log.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log.cc#newcode299 webrtc/video/rtc_event_log.cc:299: if (packet_length < 12u + CC*4u + 4u) { ...
5 years, 4 months ago (2015-08-14 11:21:53 UTC) #7
terelius
https://codereview.webrtc.org/1257163003/diff/20001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/20001/webrtc/video/rtc_event_log_unittest.cc#newcode38 webrtc/video/rtc_event_log_unittest.cc:38: MediaType GetRuntimeMediaType(rtclog::MediaType media_type) { On 2015/08/13 14:09:52, hlundin-webrtc wrote: ...
5 years, 4 months ago (2015-08-14 17:48:27 UTC) #8
terelius
Henrik, do you want to make the final vote on the representation of packets in ...
5 years, 4 months ago (2015-08-14 18:17:45 UTC) #9
hlundin-webrtc
https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc#newcode367 webrtc/video/rtc_event_log_unittest.cc:367: std::vector<size_t> rtp_header_sizes; On 2015/08/14 18:17:45, terelius wrote: > On ...
5 years, 4 months ago (2015-08-17 13:47:07 UTC) #10
hlundin-webrtc
On 2015/08/17 13:47:07, hlundin-webrtc wrote: > https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc > File webrtc/video/rtc_event_log_unittest.cc (right): > > https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc#newcode367 > ...
5 years, 4 months ago (2015-08-17 13:49:08 UTC) #11
kwiberg-webrtc
https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/1/webrtc/video/rtc_event_log_unittest.cc#newcode367 webrtc/video/rtc_event_log_unittest.cc:367: std::vector<size_t> rtp_header_sizes; On 2015/08/17 13:47:07, hlundin-webrtc wrote: > On ...
5 years, 4 months ago (2015-08-17 18:41:58 UTC) #13
terelius
I have not done the rtc::Buffer change yet. I'll look into it. https://codereview.webrtc.org/1257163003/diff/20001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc ...
5 years, 4 months ago (2015-08-18 08:20:51 UTC) #14
hlundin-webrtc
Looks good. Eagerly awaiting the rtc::Buffer change. :)
5 years, 4 months ago (2015-08-18 08:55:11 UTC) #15
terelius
Changed the representation to rtc::Buffer, but I did not change the verification functions. The reason ...
5 years, 4 months ago (2015-08-18 18:14:33 UTC) #16
ivoc
LGTM
5 years, 4 months ago (2015-08-25 09:28:14 UTC) #17
hlundin-webrtc
LGTM with two nits. https://codereview.webrtc.org/1257163003/diff/100001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/100001/webrtc/video/rtc_event_log_unittest.cc#newcode293 webrtc/video/rtc_event_log_unittest.cc:293: // CHECK(packet->size() == packet_size); Don't ...
5 years, 3 months ago (2015-08-26 09:42:23 UTC) #18
terelius
Stefan, could you prioritize this CL? https://codereview.webrtc.org/1257163003/diff/100001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/100001/webrtc/video/rtc_event_log_unittest.cc#newcode293 webrtc/video/rtc_event_log_unittest.cc:293: // CHECK(packet->size() == ...
5 years, 3 months ago (2015-09-03 09:20:17 UTC) #19
stefan-webrtc
lgtm https://codereview.webrtc.org/1257163003/diff/140001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/140001/webrtc/video/rtc_event_log_unittest.cc#newcode324 webrtc/video/rtc_event_log_unittest.cc:324: bool marker_bit = rand() & 0x01; I think ...
5 years, 3 months ago (2015-09-03 09:38:35 UTC) #20
terelius
https://codereview.webrtc.org/1257163003/diff/140001/webrtc/video/rtc_event_log_unittest.cc File webrtc/video/rtc_event_log_unittest.cc (right): https://codereview.webrtc.org/1257163003/diff/140001/webrtc/video/rtc_event_log_unittest.cc#newcode324 webrtc/video/rtc_event_log_unittest.cc:324: bool marker_bit = rand() & 0x01; On 2015/09/03 09:38:34, ...
5 years, 3 months ago (2015-09-03 11:33:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257163003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257163003/160001
5 years, 3 months ago (2015-09-04 10:24:09 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-04 10:39:47 UTC) #25
commit-bot: I haz the power
5 years, 3 months ago (2015-09-04 10:40:00 UTC) #26
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2f9fd5ddb9097054b71fce20ba24bc34b2f084c0
Cr-Commit-Position: refs/heads/master@{#9856}

Powered by Google App Engine
This is Rietveld 408576698