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

Unified Diff: media/cast/transport/cast_transport_sender.h

Issue 322953004: Cast: Don't cancel re-transmission for some cases (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « media/cast/audio_sender/audio_sender.cc ('k') | media/cast/transport/cast_transport_sender_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/cast_transport_sender.h
diff --git a/media/cast/transport/cast_transport_sender.h b/media/cast/transport/cast_transport_sender.h
index 5c1eb04b416400c861aaf1a6a5d1f2e5a19e32e7..822fa8159828716cccca5f9847018ff0726651b6 100644
--- a/media/cast/transport/cast_transport_sender.h
+++ b/media/cast/transport/cast_transport_sender.h
@@ -92,9 +92,15 @@ class CastTransportSender : public base::NonThreadSafe {
const std::string& c_name) = 0;
// Retransmission request.
+ // |missing_packets| includes the list of frames and packets in each
+ // frame to be re-transmitted.
+ // If |cancel_rtx_not_in_list| is used as an optimization to cancel
dcheng 2014/06/11 17:02:47 Nit: no "If" here? Not sure how to parse this comm
+ // pending re-transmission requests of packets not listed in
+ // |missing_packets|.
virtual void ResendPackets(
bool is_audio,
- const MissingFramesAndPacketsMap& missing_packets) = 0;
+ const MissingFramesAndPacketsMap& missing_packets,
+ bool cancel_rtx_not_in_list) = 0;
};
} // namespace transport
« no previous file with comments | « media/cast/audio_sender/audio_sender.cc ('k') | media/cast/transport/cast_transport_sender_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698