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

Unified Diff: chrome/renderer/media/cast_transport_sender_ipc.cc

Issue 343523005: Cast: Avoid retransmit if we sent the same packet recently (less than RTT) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: store time before send, not after Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/media/cast_transport_sender_ipc.cc
diff --git a/chrome/renderer/media/cast_transport_sender_ipc.cc b/chrome/renderer/media/cast_transport_sender_ipc.cc
index 1133cfbe44329f6904b4586aad7bdfcfd7c33657..0925349e89a5356a61de0588df16ca4395f37d0a 100644
--- a/chrome/renderer/media/cast_transport_sender_ipc.cc
+++ b/chrome/renderer/media/cast_transport_sender_ipc.cc
@@ -79,11 +79,13 @@ void CastTransportSenderIPC::SendRtcpFromRtpSender(
void CastTransportSenderIPC::ResendPackets(
bool is_audio,
const media::cast::MissingFramesAndPacketsMap& missing_packets,
- bool cancel_rtx_if_not_in_list) {
+ bool cancel_rtx_if_not_in_list,
+ base::TimeDelta rtt) {
Send(new CastHostMsg_ResendPackets(channel_id_,
is_audio,
missing_packets,
- cancel_rtx_if_not_in_list));
+ cancel_rtx_if_not_in_list,
+ rtt));
}
void CastTransportSenderIPC::OnReceivedPacket(

Powered by Google App Engine
This is Rietveld 408576698