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

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

Issue 445933002: Cast: Move retransmission to the transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test compile Created 6 years, 4 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 | « chrome/renderer/media/cast_transport_sender_ipc.h ('k') | media/cast/net/cast_transport_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5309998eafc9d3dda28ffd01352268301dd4ebba..16abd69e62ebc836220e71f8f6d9ee829b33a03d 100644
--- a/chrome/renderer/media/cast_transport_sender_ipc.cc
+++ b/chrome/renderer/media/cast_transport_sender_ipc.cc
@@ -70,16 +70,18 @@ void CastTransportSenderIPC::SendSenderReport(
current_time_as_rtp_timestamp));
}
-void CastTransportSenderIPC::ResendPackets(
- bool is_audio,
- const media::cast::MissingFramesAndPacketsMap& missing_packets,
- bool cancel_rtx_if_not_in_list,
- base::TimeDelta dedupe_window) {
- Send(new CastHostMsg_ResendPackets(channel_id_,
- is_audio,
- missing_packets,
- cancel_rtx_if_not_in_list,
- dedupe_window));
+void CastTransportSenderIPC::CancelSendingFrames(
+ uint32 ssrc, const std::vector<uint32>& frame_ids) {
+ Send(new CastHostMsg_CancelSendingFrames(channel_id_,
+ ssrc,
+ frame_ids));
+}
+
+void CastTransportSenderIPC::ResendFrameForKickstart(
+ uint32 ssrc, uint32 frame_id) {
+ Send(new CastHostMsg_ResendFrameForKickstart(channel_id_,
+ ssrc,
+ frame_id));
}
void CastTransportSenderIPC::OnNotifyStatusChange(
« no previous file with comments | « chrome/renderer/media/cast_transport_sender_ipc.h ('k') | media/cast/net/cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698