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

Issue 1768773002: New parser for event log. Manually parse the outermost EventStream (Closed)

Created:
4 years, 9 months ago by terelius
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, hlundin-webrtc, yujie_mao (webrtc), kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc, minyue-webrtc, the sun, pbos-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

New parser for event log. Manually parse the outermost EventStream to more easily deal with corrupt or partially written logs. Changed rtpdump converter and neteq tool to use new parser, but still aborting if the file is corrupt. Committed: https://crrev.com/d5c1a0bd5d1faac10db9986117483d25b9c10b1f Cr-Commit-Position: refs/heads/master@{#12714}

Patch Set 1 #

Patch Set 2 : Add parser test #

Total comments: 5

Patch Set 3 : Move parser to its own build target. Fix comments from Henrik. #

Total comments: 29

Patch Set 4 : Comments from ivoc #

Total comments: 30

Patch Set 5 : Rebase #

Patch Set 6 : Some comments from stefan #

Patch Set 7 : Always use curly braces in if-statements #

Patch Set 8 : Rebase #

Total comments: 2

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1221 lines, -472 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -0 lines 0 comments Download
M webrtc/call/rtc_event_log2rtp_dump.cc View 1 2 3 4 5 6 3 chunks +68 lines, -89 lines 0 comments Download
A webrtc/call/rtc_event_log_parser.h View 1 2 3 4 5 1 chunk +114 lines, -0 lines 0 comments Download
A webrtc/call/rtc_event_log_parser.cc View 1 2 3 4 5 6 1 chunk +395 lines, -0 lines 0 comments Download
M webrtc/call/rtc_event_log_unittest.cc View 1 2 3 4 5 6 4 chunks +80 lines, -307 lines 0 comments Download
A webrtc/call/rtc_event_log_unittest_helper.h View 1 1 chunk +58 lines, -0 lines 0 comments Download
A webrtc/call/rtc_event_log_unittest_helper.cc View 1 2 3 4 5 6 1 chunk +409 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_tests.gypi View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.h View 3 chunks +4 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc View 1 2 3 chunks +45 lines, -67 lines 0 comments Download
M webrtc/webrtc.gyp View 1 2 3 4 5 6 2 chunks +19 lines, -1 line 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (17 generated)
terelius
Ivo, please review the parser design and the event log Stefan, please review call/ Henrik, ...
4 years, 9 months ago (2016-03-22 10:03:56 UTC) #4
kjellander_webrtc
On 2016/03/22 10:03:56, terelius wrote: > Ivo, please review the parser design and the event ...
4 years, 9 months ago (2016-03-22 10:26:02 UTC) #5
hlundin-webrtc
https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc File webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc (right): https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc#newcode52 webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc:52: NULL, &header_length, &packet_length); Nit: NULL -> nullptr Here, and ...
4 years, 8 months ago (2016-03-29 20:34:41 UTC) #6
terelius
https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc File webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc (right): https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc#newcode52 webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc:52: NULL, &header_length, &packet_length); On 2016/03/29 20:34:40, hlundin-webrtc wrote: > ...
4 years, 8 months ago (2016-03-30 12:41:37 UTC) #7
hlundin-webrtc
webrtc/modules/audio_coding: lgtm https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc File webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc (right): https://codereview.webrtc.org/1768773002/diff/20001/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc#newcode90 webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc:90: audio_output_index_++; On 2016/03/30 12:41:37, terelius wrote: > ...
4 years, 8 months ago (2016-03-30 12:46:15 UTC) #8
ivoc
Looks like a useful change. See some comments below. https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc File webrtc/call/rtc_event_log2rtp_dump.cc (right): https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc#newcode18 webrtc/call/rtc_event_log2rtp_dump.cc:18: ...
4 years, 8 months ago (2016-04-01 08:28:00 UTC) #9
terelius
https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc File webrtc/call/rtc_event_log2rtp_dump.cc (right): https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc#newcode18 webrtc/call/rtc_event_log2rtp_dump.cc:18: #include "webrtc/call.h" On 2016/04/01 08:27:59, ivoc wrote: > Do ...
4 years, 8 months ago (2016-04-19 17:01:45 UTC) #10
ivoc
LGTM https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log_parser.cc File webrtc/call/rtc_event_log_parser.cc (right): https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log_parser.cc#newcode184 webrtc/call/rtc_event_log_parser.cc:184: RTC_CHECK(rtp_packet.has_incoming()); On 2016/04/19 17:01:45, terelius wrote: > On ...
4 years, 8 months ago (2016-04-25 08:08:12 UTC) #11
stefan-webrtc
https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc File webrtc/call/rtc_event_log2rtp_dump.cc (right): https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc#newcode128 webrtc/call/rtc_event_log2rtp_dump.cc:128: // TODO(terelius): Maybe add a flag to dump outgoing ...
4 years, 8 months ago (2016-04-26 18:39:42 UTC) #12
terelius
https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc File webrtc/call/rtc_event_log2rtp_dump.cc (right): https://codereview.webrtc.org/1768773002/diff/40001/webrtc/call/rtc_event_log2rtp_dump.cc#newcode128 webrtc/call/rtc_event_log2rtp_dump.cc:128: // TODO(terelius): Maybe add a flag to dump outgoing ...
4 years, 7 months ago (2016-04-27 14:35:27 UTC) #13
terelius
https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log2rtp_dump.cc File webrtc/call/rtc_event_log2rtp_dump.cc (right): https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log2rtp_dump.cc#newcode128 webrtc/call/rtc_event_log2rtp_dump.cc:128: // TODO(terelius): Maybe add a flag to dump outgoing ...
4 years, 7 months ago (2016-05-04 11:43:37 UTC) #14
stefan-webrtc
https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc File webrtc/call/rtc_event_log_parser.cc (right): https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc#newcode268 webrtc/call/rtc_event_log_parser.cc:268: config->rtp.remb = receiver_config.remb(); On 2016/04/27 14:35:27, terelius wrote: > ...
4 years, 7 months ago (2016-05-04 12:10:57 UTC) #15
terelius
https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc File webrtc/call/rtc_event_log_parser.cc (right): https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc#newcode268 webrtc/call/rtc_event_log_parser.cc:268: config->rtp.remb = receiver_config.remb(); On 2016/05/04 12:10:57, stefan-webrtc (holmer) wrote: ...
4 years, 7 months ago (2016-05-04 15:34:20 UTC) #16
stefan-webrtc
lgtm On 2016/05/04 15:34:20, terelius wrote: > https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc > File webrtc/call/rtc_event_log_parser.cc (right): > > https://codereview.webrtc.org/1768773002/diff/60001/webrtc/call/rtc_event_log_parser.cc#newcode268 ...
4 years, 7 months ago (2016-05-06 11:30:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768773002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768773002/140001
4 years, 7 months ago (2016-05-09 15:23:17 UTC) #20
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/5387)
4 years, 7 months ago (2016-05-09 15:27:52 UTC) #22
terelius
Magnus, I need owner approval for BUILD.gn. Could you take a look?
4 years, 7 months ago (2016-05-09 15:53:28 UTC) #24
terelius
I need owner approval for BUILD.gn. Could you take a look, kjellander?
4 years, 7 months ago (2016-05-11 09:02:44 UTC) #27
kjellander_webrtc
lgtm with a question. https://codereview.webrtc.org/1768773002/diff/140001/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/1768773002/diff/140001/webrtc/BUILD.gn#newcode299 webrtc/BUILD.gn:299: if (is_clang && !is_nacl) { ...
4 years, 7 months ago (2016-05-11 09:27:16 UTC) #28
terelius
https://codereview.webrtc.org/1768773002/diff/140001/webrtc/BUILD.gn File webrtc/BUILD.gn (right): https://codereview.webrtc.org/1768773002/diff/140001/webrtc/BUILD.gn#newcode299 webrtc/BUILD.gn:299: if (is_clang && !is_nacl) { On 2016/05/11 09:27:16, kjellander ...
4 years, 7 months ago (2016-05-11 09:52:25 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768773002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768773002/140001
4 years, 7 months ago (2016-05-11 10:23:14 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/3923)
4 years, 7 months ago (2016-05-11 10:34:26 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768773002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768773002/160001
4 years, 7 months ago (2016-05-12 16:46:30 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-12 18:46:57 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768773002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768773002/160001
4 years, 7 months ago (2016-05-13 07:41:24 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-13 07:43:04 UTC) #42
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 07:43:13 UTC) #44
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d5c1a0bd5d1faac10db9986117483d25b9c10b1f
Cr-Commit-Position: refs/heads/master@{#12714}

Powered by Google App Engine
This is Rietveld 408576698