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

Issue 1945773002: RtpPacketHistory rewritten to use RtpPacket class. (Closed)

Created:
4 years, 7 months ago by danilchap
Modified:
4 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman, terelius, philipel, brandtr
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RtpPacketHistory rewritten to use RtpPacket class. RtpSender updated to use new version of RtpPacketHistory. BUG=webrtc:5261 R=asapersson@webrtc.org Committed: https://crrev.com/31e4e806b18b88055c9342625c988939b4ff79a3 Cr-Commit-Position: refs/heads/master@{#13626}

Patch Set 1 : #

Total comments: 20

Patch Set 2 : feedback #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Total comments: 2

Patch Set 10 : Added check that a retransmit is not retransmitted #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+474 lines, -779 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.h View 6 chunks +9 lines, -6 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.cc View 1 2 3 4 5 9 chunks +21 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_history.h View 1 1 chunk +39 lines, -58 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc View 1 2 3 4 7 chunks +68 lines, -146 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +109 lines, -177 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +15 lines, -31 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 10 18 chunks +201 lines, -344 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
danilchap
RtpPacketHistory copy packets, so RtpPacket adjusted accordingly: Buffer replaced with CopyOnWriteBuffer delaying memcpy until it ...
4 years, 7 months ago (2016-05-04 12:52:04 UTC) #6
philipel
Only one comment, but in general I don't know enough about RtpPacket/History/Sender to give particularly ...
4 years, 7 months ago (2016-05-06 09:42:03 UTC) #7
danilchap
https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h File webrtc/modules/rtp_rtcp/source/rtp_packet_history.h (right): https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h#newcode81 webrtc/modules/rtp_rtcp/source/rtp_packet_history.h:81: RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpPacketHistory); On 2016/05/06 09:42:02, philipel wrote: > Is there ...
4 years, 7 months ago (2016-05-06 10:29:52 UTC) #8
danilchap
https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#newcode978 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:978: return SendToNetwork(std::move(packet), storage, priority) ? 0 : -1; Here ...
4 years, 7 months ago (2016-05-09 10:24:58 UTC) #9
stefan-webrtc
Åsa, can you take a look at the changes to rtp_sender.cc as well, in case ...
4 years, 7 months ago (2016-05-09 11:49:23 UTC) #11
danilchap
https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc File webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc (right): https://codereview.webrtc.org/1945773002/diff/80001/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc#newcode82 webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc:82: if (stored_packets_[prev_index_].packet && On 2016/05/09 11:49:23, stefan-webrtc (holmer) wrote: ...
4 years, 7 months ago (2016-05-09 13:45:22 UTC) #12
stefan-webrtc
lg, but I'd like the other reviewers to take a look too before I approve ...
4 years, 7 months ago (2016-05-12 12:22:34 UTC) #13
stefan-webrtc
Åsa, could you take a look at this too?
4 years, 4 months ago (2016-08-01 11:09:17 UTC) #16
åsapersson
lgtm https://codereview.webrtc.org/1945773002/diff/240001/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc (right): https://codereview.webrtc.org/1945773002/diff/240001/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc#newcode114 webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc:114: EXPECT_EQ(capture_time_ms, packet_out->capture_time_ms()); maybe add a test that a ...
4 years, 4 months ago (2016-08-03 13:40:45 UTC) #17
danilchap
https://codereview.webrtc.org/1945773002/diff/240001/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc (right): https://codereview.webrtc.org/1945773002/diff/240001/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc#newcode114 webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc:114: EXPECT_EQ(capture_time_ms, packet_out->capture_time_ms()); On 2016/08/03 13:40:45, åsapersson wrote: > maybe ...
4 years, 4 months ago (2016-08-03 14:12:45 UTC) #18
danilchap
Committed patchset #11 (id:280001) manually as 31e4e806b18b88055c9342625c988939b4ff79a3 (presubmit successful).
4 years, 4 months ago (2016-08-03 16:27:58 UTC) #20
stefan-webrtc
4 years, 4 months ago (2016-08-04 13:48:56 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698