| Index: media/cast/net/cast_transport_sender.h
|
| diff --git a/media/cast/net/cast_transport_sender.h b/media/cast/net/cast_transport_sender.h
|
| index 31166f549d4822cd6b56dc3c840376011ef9d7de..e6d3dc68ab299665bf83a1b0b4b0442ea096f3e1 100644
|
| --- a/media/cast/net/cast_transport_sender.h
|
| +++ b/media/cast/net/cast_transport_sender.h
|
| @@ -85,19 +85,15 @@ class CastTransportSender : public base::NonThreadSafe {
|
| base::TimeTicks current_time,
|
| uint32 current_time_as_rtp_timestamp) = 0;
|
|
|
| - // Retransmission request.
|
| - // |missing_packets| includes the list of frames and packets in each
|
| - // frame to be re-transmitted.
|
| - // If |cancel_rtx_if_not_in_list| is used as an optimization to cancel
|
| - // pending re-transmission requests of packets not listed in
|
| - // |missing_packets|. If the requested packet(s) were sent recently
|
| - // (how long is specified by |dedupe_window|) then this re-transmit
|
| - // will be ignored.
|
| - virtual void ResendPackets(
|
| - bool is_audio,
|
| - const MissingFramesAndPacketsMap& missing_packets,
|
| - bool cancel_rtx_if_not_in_list,
|
| - base::TimeDelta dedupe_window) = 0;
|
| + // Cancels sending packets for the frames in the set.
|
| + // |ssrc| is the SSRC for the stream.
|
| + // |frame_ids| contains the IDs of the frames that will be cancelled.
|
| + virtual void CancelSendingFrames(uint32 ssrc,
|
| + const std::set<uint32>& frame_ids) = 0;
|
| +
|
| + // Resends a frame or part of a frame to kickstart. This is used when the
|
| + // stream appears to be stalled.
|
| + virtual void ResendFrameForKickstart(uint32 ssrc, uint32 frame_id) = 0;
|
|
|
| // Returns a callback for receiving packets for testing purposes.
|
| virtual PacketReceiverCallback PacketReceiverForTesting();
|
|
|