OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 // Received a request for a new SLI. | 321 // Received a request for a new SLI. |
322 void OnReceivedSliceLossIndication(uint8_t picture_id); | 322 void OnReceivedSliceLossIndication(uint8_t picture_id); |
323 | 323 |
324 // Received a new reference frame. | 324 // Received a new reference frame. |
325 void OnReceivedReferencePictureSelectionIndication(uint64_t picture_id); | 325 void OnReceivedReferencePictureSelectionIndication(uint64_t picture_id); |
326 | 326 |
327 void OnReceivedNACK(const std::list<uint16_t>& nack_sequence_numbers); | 327 void OnReceivedNACK(const std::list<uint16_t>& nack_sequence_numbers); |
328 | 328 |
329 void OnRequestSendReport(); | 329 void OnRequestSendReport(); |
330 | 330 |
| 331 void SetRtcEventLog(webrtc::RtcEventLog* event_log) override; |
| 332 |
331 protected: | 333 protected: |
332 bool UpdateRTCPReceiveInformationTimers(); | 334 bool UpdateRTCPReceiveInformationTimers(); |
333 | 335 |
334 uint32_t BitrateReceivedNow() const; | 336 uint32_t BitrateReceivedNow() const; |
335 | 337 |
336 // Get remote SequenceNumber. | 338 // Get remote SequenceNumber. |
337 uint16_t RemoteSequenceNumber() const; | 339 uint16_t RemoteSequenceNumber() const; |
338 | 340 |
339 RTPSender rtp_sender_; | 341 RTPSender rtp_sender_; |
340 | 342 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 PacketLossStats receive_loss_stats_; | 382 PacketLossStats receive_loss_stats_; |
381 | 383 |
382 // The processed RTT from RtcpRttStats. | 384 // The processed RTT from RtcpRttStats. |
383 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 385 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
384 int64_t rtt_ms_; | 386 int64_t rtt_ms_; |
385 }; | 387 }; |
386 | 388 |
387 } // namespace webrtc | 389 } // namespace webrtc |
388 | 390 |
389 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 391 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |