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

Unified Diff: chrome/browser/media/cast_transport_host_filter.cc

Issue 322953004: Cast: Don't cancel re-transmission for some cases (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again 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/browser/media/cast_transport_host_filter.cc
diff --git a/chrome/browser/media/cast_transport_host_filter.cc b/chrome/browser/media/cast_transport_host_filter.cc
index af5ec9abfe5be3093035ee78ee9386b247aeb1db..828ec8dc120dd4e9ba4ceec13a9dd1d6a376f738 100644
--- a/chrome/browser/media/cast_transport_host_filter.cc
+++ b/chrome/browser/media/cast_transport_host_filter.cc
@@ -178,11 +178,12 @@ void CastTransportHostFilter::OnSendRtcpFromRtpSender(
void CastTransportHostFilter::OnResendPackets(
int32 channel_id,
bool is_audio,
- const media::cast::MissingFramesAndPacketsMap& missing_packets) {
+ const media::cast::MissingFramesAndPacketsMap& missing_packets,
+ bool cancel_rtx_if_not_in_list) {
media::cast::transport::CastTransportSender* sender =
id_map_.Lookup(channel_id);
if (sender) {
- sender->ResendPackets(is_audio, missing_packets);
+ sender->ResendPackets(is_audio, missing_packets, cancel_rtx_if_not_in_list);
} else {
DVLOG(1)
<< "CastTransportHostFilter::OnResendPackets on non-existing channel";
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter.h ('k') | chrome/browser/media/cast_transport_host_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698