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

Issue 317243007: Cast: reduce the amount of retransmission packets (Closed)

Created:
6 years, 6 months ago by Alpha Left Google
Modified:
6 years, 6 months ago
Reviewers:
miu
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Visibility:
Public.

Description

Cast: reduce the amount of retransmission packets Upon duplicated ACKs for a frame the previous behavior was to resend all packets of the first unacked frame. It was shown in reports that it is excessive. Instead this change sends the first packet of the last encoded frame. This significantly reduces the amount of packet re-transmitted. PacketStorage is also redesigned in this code. It is now a simple deque instead of a map. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275663

Patch Set 1 #

Total comments: 38

Patch Set 2 : slight change in test #

Patch Set 3 : uninit variable #

Patch Set 4 : fixed comments #

Total comments: 1

Patch Set 5 : moved FastCopyPacket to RtpSender #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -213 lines) Patch
M media/cast/transport/rtp_sender/packet_storage/packet_storage.h View 1 2 3 4 2 chunks +17 lines, -33 lines 0 comments Download
M media/cast/transport/rtp_sender/packet_storage/packet_storage.cc View 1 2 3 4 1 chunk +30 lines, -101 lines 0 comments Download
M media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc View 1 2 3 4 1 chunk +87 lines, -37 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc View 1 chunk +8 lines, -9 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.cc View 1 2 3 4 2 chunks +26 lines, -13 lines 0 comments Download
M media/cast/video_sender/video_sender.h View 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 3 chunks +16 lines, -10 lines 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 5 chunks +51 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Alpha Left Google
6 years, 6 months ago (2014-06-07 00:05:59 UTC) #1
miu
Pretty good, on-the-whole. Just a bunch of little things... https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.cc File media/cast/transport/rtp_sender/packet_storage/packet_storage.cc (right): https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.cc#newcode19 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc:19: ...
6 years, 6 months ago (2014-06-07 00:59:42 UTC) #2
Alpha Left Google
https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.cc File media/cast/transport/rtp_sender/packet_storage/packet_storage.cc (right): https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.cc#newcode19 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc:19: first_frame_id_in_list_(0) { On 2014/06/07 00:59:41, miu wrote: > last_frame_id_in_list_ ...
6 years, 6 months ago (2014-06-07 01:15:10 UTC) #3
miu
https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.h File media/cast/transport/rtp_sender/packet_storage/packet_storage.h (right): https://codereview.chromium.org/317243007/diff/1/media/cast/transport/rtp_sender/packet_storage/packet_storage.h#newcode42 media/cast/transport/rtp_sender/packet_storage/packet_storage.h:42: PacketStorage(size_t stored_frames); On 2014/06/07 01:15:09, Alpha wrote: > On ...
6 years, 6 months ago (2014-06-07 02:00:10 UTC) #4
miu
lgtm
6 years, 6 months ago (2014-06-07 02:20:09 UTC) #5
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 6 months ago (2014-06-07 02:20:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hclam@chromium.org/317243007/70001
6 years, 6 months ago (2014-06-07 02:21:35 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 09:04:19 UTC) #8
Message was sent while issue was closed.
Change committed as 275663

Powered by Google App Engine
This is Rietveld 408576698