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

Issue 2020363003: Refactor neteq_rtpplay (Closed)

Created:
4 years, 6 months ago by hlundin-webrtc
Modified:
4 years, 6 months ago
Reviewers:
ivoc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactor neteq_rtpplay This change is a major refactoring of the neteq_rtpplay tool. It consists of the following parts: - NetEqTest class: Breaks out the main simulation loop from neteq_rtpplay into a separate class with well defined inputs and outputs. - NetEqInput: Interface class for the input to NetEqTest. - NetEqPacketSourceInput: Implementation of NetEqInput that provides a PacketSource objects with a NetEqInput interface. This has two subclasses; one for RtpFileSource and one for RtcEventLogSource. - NetEqReplacementInput: An object that modifies the packets provided by another NetEqInput object, and replaces the packet payloads with meta data readable by a FakeDecodeFromFile decoder. - FakeDecodeFromFile: An AudioDecoder implementation that produces "decoded" data by reading from an audio file. BUG=webrtc:2692, webrtc:5447 Committed: https://crrev.com/e8a77e330942dd98ee86c09ac22850e0d4225944 Cr-Commit-Position: refs/heads/master@{#13252}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Change how SSRC filtering works #

Total comments: 33

Patch Set 3 : Review comments #

Total comments: 4

Patch Set 4 : Fixing comments #

Patch Set 5 : Rebasing, fixing conflicts, and updating GN files to match GYP changes #

Patch Set 6 : Fixing 64-bit printf #

Patch Set 7 : Fixing win compilation and gyp dependencies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+965 lines, -387 lines) Patch
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 3 chunks +13 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.gypi View 1 2 3 4 5 6 3 chunks +43 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_tests.gypi View 2 chunks +0 lines, -32 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_input.h View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_packet_source_input.h View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_packet_source_input.cc View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.cc View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc View 1 2 3 4 5 6 7 chunks +153 lines, -352 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_test.h View 1 2 3 4 1 chunk +85 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/tools/neteq_test.cc View 1 2 3 4 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
hlundin-webrtc
Ivo, Please, review this when you get a chance. Thanks!
4 years, 6 months ago (2016-06-01 16:14:40 UTC) #2
hlundin-webrtc
Change how SSRC filtering works
4 years, 6 months ago (2016-06-09 08:57:36 UTC) #3
hlundin-webrtc
Change how SSRC filtering works
4 years, 6 months ago (2016-06-09 08:59:44 UTC) #4
ivoc
Very nice update, code looks way better this way. See some (mostly minor) comments below. ...
4 years, 6 months ago (2016-06-14 16:39:57 UTC) #6
hlundin-webrtc
Review comments
4 years, 6 months ago (2016-06-17 10:27:42 UTC) #7
hlundin-webrtc
Thanks for reviewing. PTAL again. https://codereview.webrtc.org/2020363003/diff/40001/webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.cc File webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.cc (right): https://codereview.webrtc.org/2020363003/diff/40001/webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.cc#newcode32 webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.cc:32: timestamp_to_decode != *next_timestamp_from_input_) { ...
4 years, 6 months ago (2016-06-17 10:30:09 UTC) #8
ivoc
LGTM, see some small points below. https://codereview.webrtc.org/2020363003/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/2020363003/diff/40001/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc#newcode238 webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc:238: return source_->NextPacketTime(); On ...
4 years, 6 months ago (2016-06-21 07:59:59 UTC) #9
hlundin-webrtc
Thanks. I will now rebase, fix an issues, and commit. https://codereview.webrtc.org/2020363003/diff/60001/webrtc/modules/audio_coding/neteq/tools/neteq_input.h File webrtc/modules/audio_coding/neteq/tools/neteq_input.h (right): https://codereview.webrtc.org/2020363003/diff/60001/webrtc/modules/audio_coding/neteq/tools/neteq_input.h#newcode57 ...
4 years, 6 months ago (2016-06-21 09:12:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020363003/120001
4 years, 6 months ago (2016-06-21 13:39:30 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_dbg/builds/4130)
4 years, 6 months ago (2016-06-21 13:41:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020363003/140001
4 years, 6 months ago (2016-06-21 13:48:03 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020363003/140001
4 years, 6 months ago (2016-06-21 13:48:33 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/8883) win_x64_gn_dbg on ...
4 years, 6 months ago (2016-06-21 13:50:57 UTC) #23
hlundin-webrtc
Fixing win compilation and gyp dependencies
4 years, 6 months ago (2016-06-22 12:28:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020363003/160001
4 years, 6 months ago (2016-06-22 12:52:17 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 6 months ago (2016-06-22 13:34:08 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 13:34:13 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e8a77e330942dd98ee86c09ac22850e0d4225944
Cr-Commit-Position: refs/heads/master@{#13252}

Powered by Google App Engine
This is Rietveld 408576698