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_RECEIVER_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_RECEIVER_H_ |
6 #define MEDIA_CAST_RTCP_RTCP_RECEIVER_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_RECEIVER_H_ |
7 | 7 |
8 #include "media/cast/rtcp/rtcp.h" | 8 #include "media/cast/rtcp/rtcp.h" |
9 #include "media/cast/rtcp/rtcp_defines.h" | 9 #include "media/cast/rtcp/rtcp_defines.h" |
10 #include "media/cast/rtcp/rtcp_utility.h" | 10 #include "media/cast/rtcp/rtcp_utility.h" |
11 | 11 |
12 namespace media { | 12 namespace media { |
13 namespace cast { | 13 namespace cast { |
14 | 14 |
15 class RtcpReceiverFeedback { | 15 class RtcpReceiverFeedback { |
16 public: | 16 public: |
17 virtual void OnReceivedSenderReport( | 17 virtual void OnReceivedSenderReport( |
18 const RtcpSenderInfo& remote_sender_info) = 0; | 18 const RtcpSenderInfo& remote_sender_info) = 0; |
19 | 19 |
20 virtual void OnReceiverReferenceTimeReport( | 20 virtual void OnReceiverReferenceTimeReport( |
21 const RtcpReceiverReferenceTimeReport& remote_time_report) = 0; | 21 const RtcpReceiverReferenceTimeReport& remote_time_report) = 0; |
22 | 22 |
23 virtual void OnReceivedSendReportRequest() = 0; | 23 virtual void OnReceivedSendReportRequest() = 0; |
24 | 24 |
| 25 virtual void OnReceivedReceiverLog( |
| 26 const RtcpReceiverLogMessage& receiver_log) = 0; |
| 27 |
| 28 virtual void OnReceivedSenderLog( |
| 29 const RtcpSenderLogMessage& sender_log) = 0; |
| 30 |
25 virtual ~RtcpReceiverFeedback() {} | 31 virtual ~RtcpReceiverFeedback() {} |
26 }; | 32 }; |
27 | 33 |
28 class RtcpRttFeedback { | 34 class RtcpRttFeedback { |
29 public: | 35 public: |
30 virtual void OnReceivedDelaySinceLastReport( | 36 virtual void OnReceivedDelaySinceLastReport( |
31 uint32 receivers_ssrc, | 37 uint32 receivers_ssrc, |
32 uint32 last_report, | 38 uint32 last_report, |
33 uint32 delay_since_last_report) = 0; | 39 uint32 delay_since_last_report) = 0; |
34 | 40 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 RtcpReceiverFeedback* const receiver_feedback_; | 103 RtcpReceiverFeedback* const receiver_feedback_; |
98 RtcpRttFeedback* const rtt_feedback_; | 104 RtcpRttFeedback* const rtt_feedback_; |
99 | 105 |
100 DISALLOW_COPY_AND_ASSIGN(RtcpReceiver); | 106 DISALLOW_COPY_AND_ASSIGN(RtcpReceiver); |
101 }; | 107 }; |
102 | 108 |
103 } // namespace cast | 109 } // namespace cast |
104 } // namespace media | 110 } // namespace media |
105 | 111 |
106 #endif // MEDIA_CAST_RTCP_RTCP_RECEIVER_H_ | 112 #endif // MEDIA_CAST_RTCP_RTCP_RECEIVER_H_ |
OLD | NEW |