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

Side by Side Diff: media/cast/transport/cast_transport_sender_impl.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ 5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 virtual void SendRtcpFromRtpSender(uint32 packet_type_flags, 60 virtual void SendRtcpFromRtpSender(uint32 packet_type_flags,
61 uint32 ntp_seconds, 61 uint32 ntp_seconds,
62 uint32 ntp_fraction, 62 uint32 ntp_fraction,
63 uint32 rtp_timestamp, 63 uint32 rtp_timestamp,
64 const RtcpDlrrReportBlock& dlrr, 64 const RtcpDlrrReportBlock& dlrr,
65 uint32 sending_ssrc, 65 uint32 sending_ssrc,
66 const std::string& c_name) OVERRIDE; 66 const std::string& c_name) OVERRIDE;
67 67
68 virtual void ResendPackets(bool is_audio, 68 virtual void ResendPackets(bool is_audio,
69 const MissingFramesAndPacketsMap& missing_packets) 69 const MissingFramesAndPacketsMap& missing_packets,
70 bool cancel_rtx_if_not_in_list)
70 OVERRIDE; 71 OVERRIDE;
71 72
72 private: 73 private:
73 // If |raw_events_callback_| is non-null, calls it with events collected 74 // If |raw_events_callback_| is non-null, calls it with events collected
74 // by |event_subscriber_| since last call. 75 // by |event_subscriber_| since last call.
75 void SendRawEvents(); 76 void SendRawEvents();
76 77
77 base::TickClock* clock_; // Not owned by this class. 78 base::TickClock* clock_; // Not owned by this class.
78 CastTransportStatusCallback status_callback_; 79 CastTransportStatusCallback status_callback_;
79 scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_; 80 scoped_refptr<base::SingleThreadTaskRunner> transport_task_runner_;
(...skipping 19 matching lines...) Expand all
99 BulkRawEventsCallback raw_events_callback_; 100 BulkRawEventsCallback raw_events_callback_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); 102 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
102 }; 103 };
103 104
104 } // namespace transport 105 } // namespace transport
105 } // namespace cast 106 } // namespace cast
106 } // namespace media 107 } // namespace media
107 108
108 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ 109 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_sender.h ('k') | media/cast/transport/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698