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

Issue 1917913002: NetEq: Use TickTimer in PacketBuffer (Closed)

Created:
4 years, 8 months ago by hlundin-webrtc
Modified:
4 years, 7 months ago
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@add-tick-timer-to-neteq
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq: Use TickTimer in PacketBuffer This change makes use of the TickTimer::Stopwatch in Packets. When a packet is inserted into the PacketBuffer, a Stopwatch object is attached to it. When the packet is extracted from the buffer, the Stopwatch is read to know how long the packet waited in the buffer. BUG=webrtc:5608 Committed: https://crrev.com/84f8cd6df467cf78c73d4acd4a10ca702b4ab320 Cr-Commit-Position: refs/heads/master@{#12508}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Pass TickTimer as const ptr rather than const ref #

Patch Set 3 : Remove superfluous comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -50 lines) Patch
M webrtc/modules/audio_coding/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decision_logic_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_packet_buffer.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet.h View 2 chunks +10 lines, -13 lines 0 comments Download
A webrtc/modules/audio_coding/neteq/packet.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet_buffer.h View 1 2 4 chunks +3 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet_buffer.cc View 1 4 chunks +6 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc View 1 11 chunks +22 lines, -11 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/payload_splitter.cc View 2 chunks +3 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (6 generated)
hlundin-webrtc
Tina, CL #3. PTAL. Thanks! https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet.cc File webrtc/modules/audio_coding/neteq/packet.cc (right): https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet.cc#newcode1 webrtc/modules/audio_coding/neteq/packet.cc:1: /* This file is ...
4 years, 8 months ago (2016-04-25 17:33:35 UTC) #3
tlegrand-webrtc
LGTM, but consider consulting kwiberg to see if there are other options to the added ...
4 years, 8 months ago (2016-04-26 08:32:25 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet.cc File webrtc/modules/audio_coding/neteq/packet.cc (right): https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet.cc#newcode1 webrtc/modules/audio_coding/neteq/packet.cc:1: /* On 2016/04/26 08:32:25, tlegrand-webrtc wrote: > On 2016/04/25 ...
4 years, 8 months ago (2016-04-26 09:04:14 UTC) #6
hlundin-webrtc
https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc File webrtc/modules/audio_coding/neteq/packet_buffer.cc (right): https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc#newcode43 webrtc/modules/audio_coding/neteq/packet_buffer.cc:43: : max_number_of_packets_(max_number_of_packets), tick_timer_(tick_timer) {} On 2016/04/26 09:04:13, kwiberg-webrtc wrote: ...
4 years, 8 months ago (2016-04-26 11:05:54 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc File webrtc/modules/audio_coding/neteq/packet_buffer.cc (right): https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc#newcode43 webrtc/modules/audio_coding/neteq/packet_buffer.cc:43: : max_number_of_packets_(max_number_of_packets), tick_timer_(tick_timer) {} On 2016/04/26 11:05:54, hlundin-webrtc wrote: ...
4 years, 8 months ago (2016-04-26 11:26:27 UTC) #8
hlundin-webrtc
Pass TickTimer as const ptr rather than const ref
4 years, 8 months ago (2016-04-26 11:52:39 UTC) #9
hlundin-webrtc
Remove superfluous comment
4 years, 8 months ago (2016-04-26 11:55:14 UTC) #10
hlundin-webrtc
PTAL again. https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc File webrtc/modules/audio_coding/neteq/packet_buffer.cc (right): https://codereview.webrtc.org/1917913002/diff/20001/webrtc/modules/audio_coding/neteq/packet_buffer.cc#newcode43 webrtc/modules/audio_coding/neteq/packet_buffer.cc:43: : max_number_of_packets_(max_number_of_packets), tick_timer_(tick_timer) {} On 2016/04/26 11:26:27, ...
4 years, 8 months ago (2016-04-26 11:56:29 UTC) #11
kwiberg-webrtc
lgtm
4 years, 8 months ago (2016-04-26 12:40:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917913002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917913002/60001
4 years, 8 months ago (2016-04-26 12:47:56 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-26 14:45:21 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 14:45:33 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/84f8cd6df467cf78c73d4acd4a10ca702b4ab320
Cr-Commit-Position: refs/heads/master@{#12508}

Powered by Google App Engine
This is Rietveld 408576698