OLD | NEW |
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_RECEIVER_FRAME_RECEIVER_H_ | 5 #ifndef MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ |
6 #define MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ | 6 #define MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // |cast_message|, |rtcp_events| and |rtp_receiver_statistics| are optional; | 119 // |cast_message|, |rtcp_events| and |rtp_receiver_statistics| are optional; |
120 // if |cast_message| is provided the RTCP receiver report will contain a Cast | 120 // if |cast_message| is provided the RTCP receiver report will contain a Cast |
121 // ACK/NACK feedback message; |target_delay| is sent together with | 121 // ACK/NACK feedback message; |target_delay| is sent together with |
122 // |cast_message|. If |rtcp_events| is provided the RTCP receiver report will | 122 // |cast_message|. If |rtcp_events| is provided the RTCP receiver report will |
123 // include event log messages | 123 // include event log messages |
124 void SendRtcpReport( | 124 void SendRtcpReport( |
125 uint32_t rtp_receiver_ssrc, | 125 uint32_t rtp_receiver_ssrc, |
126 uint32_t rtp_sender_ssrc, | 126 uint32_t rtp_sender_ssrc, |
127 const RtcpTimeData& time_data, | 127 const RtcpTimeData& time_data, |
128 const RtcpCastMessage* cast_message, | 128 const RtcpCastMessage* cast_message, |
| 129 const RtcpPliMessage* pli_message, |
129 base::TimeDelta target_delay, | 130 base::TimeDelta target_delay, |
130 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events, | 131 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events, |
131 const RtpReceiverStatistics* rtp_receiver_statistics); | 132 const RtpReceiverStatistics* rtp_receiver_statistics); |
132 | 133 |
133 const scoped_refptr<CastEnvironment> cast_environment_; | 134 const scoped_refptr<CastEnvironment> cast_environment_; |
134 | 135 |
135 // Transport used to send data back. | 136 // Transport used to send data back. |
136 CastTransportSender* const transport_; | 137 CastTransportSender* const transport_; |
137 | 138 |
138 // Deserializes a packet into a RtpHeader + payload bytes. | 139 // Deserializes a packet into a RtpHeader + payload bytes. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // NOTE: Weak pointers must be invalidated before all other member variables. | 203 // NOTE: Weak pointers must be invalidated before all other member variables. |
203 base::WeakPtrFactory<FrameReceiver> weak_factory_; | 204 base::WeakPtrFactory<FrameReceiver> weak_factory_; |
204 | 205 |
205 DISALLOW_COPY_AND_ASSIGN(FrameReceiver); | 206 DISALLOW_COPY_AND_ASSIGN(FrameReceiver); |
206 }; | 207 }; |
207 | 208 |
208 } // namespace cast | 209 } // namespace cast |
209 } // namespace media | 210 } // namespace media |
210 | 211 |
211 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ | 212 #endif // MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ |
OLD | NEW |