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

Issue 1316903002: Update to the neteq_rtpplay utility to support RtcEventLog input files. (Closed)

Created:
5 years, 3 months ago by ivoc
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, tlegrand-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update to the neteq_rtpplay utility to support RtcEventLog input files. This CL adds support for simulating neteq using stored RTP packets as well as calls to GetAudio from an RtcEventLog, using the stored timestamps. The type of the input file is detected automatically. BUG=webrtc:4741 Committed: https://crrev.com/caa5f4b3d2694c97f010f9a1602d4f15b89ca7c7 Cr-Commit-Position: refs/heads/master@{#9886}

Patch Set 1 : Initial version #

Total comments: 45

Patch Set 2 : Added automatic filetype detection, lots of refactoring. #

Total comments: 12

Patch Set 3 : Replaced filetype detection code, and various small improvements. #

Total comments: 1

Patch Set 4 : Formatting. #

Patch Set 5 : Addressed Henrik's comment and improved the formatting. #

Patch Set 6 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -47 lines) Patch
M webrtc/modules/audio_coding/neteq/neteq_tests.gypi View 1 chunk +35 lines, -17 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc View 1 2 3 4 5 8 chunks +79 lines, -30 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.h View 1 1 chunk +70 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc View 1 2 3 4 1 chunk +127 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
ivoc
Please have a look at this CL to enable neteq_rtpplay to read from RtcEventLog files.
5 years, 3 months ago (2015-08-26 09:13:03 UTC) #3
hlundin-webrtc
Nice work. See comments. https://codereview.webrtc.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/neteq_tests.gypi File webrtc/modules/audio_coding/neteq/neteq_tests.gypi (right): https://codereview.webrtc.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/neteq_tests.gypi#newcode11 webrtc/modules/audio_coding/neteq/neteq_tests.gypi:11: ['enable_protobuf==1', { Hmm, does this ...
5 years, 3 months ago (2015-08-28 12:06:25 UTC) #4
minyue-webrtc
I seem to have forgotten to review this, sorry for the delay. Some comments now. ...
5 years, 3 months ago (2015-08-28 14:50:21 UTC) #5
minyue-webrtc
a couple of more https://codereview.chromium.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc File webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc (right): https://codereview.chromium.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc#newcode429 webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:429: bool output_event_available = true; I ...
5 years, 3 months ago (2015-08-28 16:54:17 UTC) #6
ivoc
Thanks for the feedback, very useful. I added automatic filetype detection like Minyue suggested, and ...
5 years, 3 months ago (2015-09-01 10:03:51 UTC) #7
minyue-webrtc
https://codereview.webrtc.org/1316903002/diff/1/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/1316903002/diff/1/webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc#newcode61 webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.cc:61: memcpy(packet_data, rtp_packet.header().data(), On 2015/09/01 10:03:50, ivoc wrote: > On ...
5 years, 3 months ago (2015-09-01 11:48:35 UTC) #8
minyue-webrtc
update the CL description also
5 years, 3 months ago (2015-09-01 12:48:24 UTC) #9
hlundin-webrtc
Solid improvements! Some more comments. https://codereview.webrtc.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc File webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc (right): https://codereview.webrtc.org/1316903002/diff/1/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc#newcode566 webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:566: if (replace_payload) { On ...
5 years, 3 months ago (2015-09-02 08:48:51 UTC) #10
ivoc
Thanks again for the useful comments. https://codereview.webrtc.org/1316903002/diff/20001/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc File webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc (right): https://codereview.webrtc.org/1316903002/diff/20001/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc#newcode390 webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:390: // Check if ...
5 years, 3 months ago (2015-09-03 08:01:31 UTC) #11
hlundin-webrtc
One nit, then LGTM. Well done! https://codereview.webrtc.org/1316903002/diff/40001/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc File webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc (right): https://codereview.webrtc.org/1316903002/diff/40001/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc#newcode554 webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:554: rtc::checked_cast<uint32_t>( I don't ...
5 years, 3 months ago (2015-09-07 11:46:57 UTC) #12
minyue-webrtc
lgtm
5 years, 3 months ago (2015-09-07 12:33:54 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316903002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316903002/100001
5 years, 3 months ago (2015-09-07 12:37:29 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_msan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/4537)
5 years, 3 months ago (2015-09-07 12:53:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316903002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316903002/100001
5 years, 3 months ago (2015-09-08 10:27:21 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-08 10:28:49 UTC) #21
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 10:29:00 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/caa5f4b3d2694c97f010f9a1602d4f15b89ca7c7
Cr-Commit-Position: refs/heads/master@{#9886}

Powered by Google App Engine
This is Rietveld 408576698