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

Issue 343523005: Cast: Avoid retransmit if we sent the same packet recently (less than RTT) (Closed)

Created:
6 years, 6 months ago by hubbe
Modified:
6 years, 6 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, wjia+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Avoid retransmit if we sent the same packet recently (less than RTT) When transmitting 4Mbit over the "bad" udp_proxy profile, this reduces the amount of data sent from 12Mbit/s to 7Mbit/s, and seems to make it able to actually send more frames across the wire and recover faster. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278774

Patch Set 1 #

Patch Set 2 : got 500 responses when uploading, uploading again #

Patch Set 3 : got 500 responses when uploading, uploading again #

Total comments: 16

Patch Set 4 : store time before send, not after #

Total comments: 4

Patch Set 5 : comments addressed #

Total comments: 4

Patch Set 6 : use min_rtt for audio #

Patch Set 7 : use min_rtt for audio #

Patch Set 8 : use min_rtt for audio (got 500s, uploading again) #

Patch Set 9 : fixed cast benchmark #

Patch Set 10 : merged #

Patch Set 11 : missed fixing one file #

Patch Set 12 : bugfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -45 lines) Patch
M chrome/browser/media/cast_transport_host_filter.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/cast_messages.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/media/cast_transport_sender_ipc.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M media/cast/audio_sender/audio_sender.cc View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -4 lines 0 comments Download
M media/cast/logging/logging_defines.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/logging/logging_defines.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/logging/proto/proto_utils.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/logging/proto/raw_events.proto View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/rtcp/rtcp_sender_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/rtcp/rtcp_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/test/cast_benchmarks.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M media/cast/transport/cast_transport_sender.h View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M media/cast/transport/cast_transport_sender_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/transport/cast_transport_sender_impl.cc View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M media/cast/transport/pacing/mock_paced_packet_sender.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/transport/pacing/paced_sender.h View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M media/cast/transport/pacing/paced_sender.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +32 lines, -8 lines 0 comments Download
M media/cast/transport/pacing/paced_sender_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/transport/rtp_sender/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
hubbe
6 years, 6 months ago (2014-06-18 00:53:30 UTC) #1
Alpha Left Google
https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/cast_transport_sender.h File media/cast/transport/cast_transport_sender.h (right): https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/cast_transport_sender.h#newcode100 media/cast/transport/cast_transport_sender.h:100: virtual void ResendPackets( nit: Need a comment to explain ...
6 years, 6 months ago (2014-06-18 01:43:32 UTC) #2
miu
Drive by... https://codereview.chromium.org/343523005/diff/60001/media/cast/transport/cast_transport_sender.h File media/cast/transport/cast_transport_sender.h (right): https://codereview.chromium.org/343523005/diff/60001/media/cast/transport/cast_transport_sender.h#newcode104 media/cast/transport/cast_transport_sender.h:104: base::TimeDelta rtt) = 0; I don't think ...
6 years, 6 months ago (2014-06-18 02:44:15 UTC) #3
hubbe
PTAL https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/cast_transport_sender.h File media/cast/transport/cast_transport_sender.h (right): https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/cast_transport_sender.h#newcode100 media/cast/transport/cast_transport_sender.h:100: virtual void ResendPackets( On 2014/06/18 01:43:32, Alpha wrote: ...
6 years, 6 months ago (2014-06-18 20:22:28 UTC) #4
Alpha Left Google
LGTM. It's up to you for the nit. https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/pacing/paced_sender.h File media/cast/transport/pacing/paced_sender.h (right): https://codereview.chromium.org/343523005/diff/40001/media/cast/transport/pacing/paced_sender.h#newcode123 media/cast/transport/pacing/paced_sender.h:123: std::map<PacketKey, ...
6 years, 6 months ago (2014-06-18 20:39:15 UTC) #5
hubbe
Adding palmer for security review.
6 years, 6 months ago (2014-06-18 20:40:36 UTC) #6
Alpha Left Google
https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc File media/cast/audio_sender/audio_sender.cc (right): https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc#newcode119 media/cast/audio_sender/audio_sender.cc:119: true, missing_frames_and_packets, false, rtt); Sorry one last thing I ...
6 years, 6 months ago (2014-06-18 21:07:37 UTC) #7
palmer
IPC security LGTM. https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc File media/cast/audio_sender/audio_sender.cc (right): https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc#newcode117 media/cast/audio_sender/audio_sender.cc:117: // rather than the min. File ...
6 years, 6 months ago (2014-06-18 21:18:02 UTC) #8
hubbe
https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc File media/cast/audio_sender/audio_sender.cc (right): https://codereview.chromium.org/343523005/diff/80001/media/cast/audio_sender/audio_sender.cc#newcode117 media/cast/audio_sender/audio_sender.cc:117: // rather than the min. On 2014/06/18 21:18:02, Chromium ...
6 years, 6 months ago (2014-06-18 21:20:35 UTC) #9
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-18 21:20:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/140001
6 years, 6 months ago (2014-06-18 21:22:46 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 10:12:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/41069)
6 years, 6 months ago (2014-06-19 10:12:37 UTC) #13
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-19 20:45:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/160001
6 years, 6 months ago (2014-06-19 20:47:41 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 00:12:57 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 00:15:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/23721) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/19263)
6 years, 6 months ago (2014-06-20 00:15:35 UTC) #18
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-20 00:46:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/180001
6 years, 6 months ago (2014-06-20 00:50:54 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 05:45:55 UTC) #21
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-20 05:49:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/200001
6 years, 6 months ago (2014-06-20 05:52:00 UTC) #23
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-20 08:01:40 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/220001
6 years, 6 months ago (2014-06-20 08:04:44 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 12:16:16 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 13:04:53 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/19844)
6 years, 6 months ago (2014-06-20 13:04:54 UTC) #28
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-20 16:07:25 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/343523005/220001
6 years, 6 months ago (2014-06-20 16:09:58 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 17:12:13 UTC) #31
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 18:23:18 UTC) #32
Message was sent while issue was closed.
Change committed as 278774

Powered by Google App Engine
This is Rietveld 408576698