OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RTCP_RTCP_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_H_ |
6 #define MEDIA_CAST_RTCP_RTCP_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/time/tick_clock.h" | 16 #include "base/time/tick_clock.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "media/cast/cast_config.h" | 18 #include "media/cast/cast_config.h" |
19 #include "media/cast/cast_defines.h" | 19 #include "media/cast/cast_defines.h" |
20 #include "media/cast/cast_environment.h" | 20 #include "media/cast/cast_environment.h" |
21 #include "media/cast/rtcp/rtcp_defines.h" | 21 #include "media/cast/rtcp/rtcp_defines.h" |
| 22 #include "media/cast/transport/pacing/paced_sender.h" |
22 | 23 |
23 namespace media { | 24 namespace media { |
24 namespace cast { | 25 namespace cast { |
25 | 26 |
26 class LocalRtcpReceiverFeedback; | 27 class LocalRtcpReceiverFeedback; |
27 class LocalRtcpRttFeedback; | 28 class LocalRtcpRttFeedback; |
28 class PacedPacketSender; | 29 class PacedPacketSender; |
29 class RtcpReceiver; | 30 class RtcpReceiver; |
30 class RtcpSender; | 31 class RtcpSender; |
31 | 32 |
(...skipping 23 matching lines...) Expand all Loading... |
55 uint32* extended_high_sequence_number, | 56 uint32* extended_high_sequence_number, |
56 uint32* jitter) = 0; | 57 uint32* jitter) = 0; |
57 | 58 |
58 virtual ~RtpReceiverStatistics() {} | 59 virtual ~RtpReceiverStatistics() {} |
59 }; | 60 }; |
60 | 61 |
61 class Rtcp { | 62 class Rtcp { |
62 public: | 63 public: |
63 Rtcp(scoped_refptr<CastEnvironment> cast_environment, | 64 Rtcp(scoped_refptr<CastEnvironment> cast_environment, |
64 RtcpSenderFeedback* sender_feedback, | 65 RtcpSenderFeedback* sender_feedback, |
65 PacedPacketSender* paced_packet_sender, | 66 transport::PacedPacketSender* paced_packet_sender, |
66 RtpSenderStatistics* rtp_sender_statistics, | 67 RtpSenderStatistics* rtp_sender_statistics, |
67 RtpReceiverStatistics* rtp_receiver_statistics, | 68 RtpReceiverStatistics* rtp_receiver_statistics, |
68 RtcpMode rtcp_mode, | 69 RtcpMode rtcp_mode, |
69 const base::TimeDelta& rtcp_interval, | 70 const base::TimeDelta& rtcp_interval, |
70 uint32 local_ssrc, | 71 uint32 local_ssrc, |
71 uint32 remote_ssrc, | 72 uint32 remote_ssrc, |
72 const std::string& c_name); | 73 const std::string& c_name); |
73 | 74 |
74 virtual ~Rtcp(); | 75 virtual ~Rtcp(); |
75 | 76 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 int number_of_rtt_in_avg_; | 168 int number_of_rtt_in_avg_; |
168 float avg_rtt_ms_; | 169 float avg_rtt_ms_; |
169 | 170 |
170 DISALLOW_COPY_AND_ASSIGN(Rtcp); | 171 DISALLOW_COPY_AND_ASSIGN(Rtcp); |
171 }; | 172 }; |
172 | 173 |
173 } // namespace cast | 174 } // namespace cast |
174 } // namespace media | 175 } // namespace media |
175 | 176 |
176 #endif // MEDIA_CAST_RTCP_RTCP_H_ | 177 #endif // MEDIA_CAST_RTCP_RTCP_H_ |
OLD | NEW |