| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 class ModuleRtpRtcpImpl : public RtpRtcp { | 29 class ModuleRtpRtcpImpl : public RtpRtcp { |
| 30 public: | 30 public: |
| 31 explicit ModuleRtpRtcpImpl(const RtpRtcp::Configuration& configuration); | 31 explicit ModuleRtpRtcpImpl(const RtpRtcp::Configuration& configuration); |
| 32 | 32 |
| 33 // Returns the number of milliseconds until the module want a worker thread to | 33 // Returns the number of milliseconds until the module want a worker thread to |
| 34 // call Process. | 34 // call Process. |
| 35 int64_t TimeUntilNextProcess() override; | 35 int64_t TimeUntilNextProcess() override; |
| 36 | 36 |
| 37 // Process any pending tasks such as timeouts. | 37 // Process any pending tasks such as timeouts. |
| 38 int32_t Process() override; | 38 void Process() override; |
| 39 | 39 |
| 40 // Receiver part. | 40 // Receiver part. |
| 41 | 41 |
| 42 // Called when we receive an RTCP packet. | 42 // Called when we receive an RTCP packet. |
| 43 int32_t IncomingRtcpPacket(const uint8_t* incoming_packet, | 43 int32_t IncomingRtcpPacket(const uint8_t* incoming_packet, |
| 44 size_t incoming_packet_length) override; | 44 size_t incoming_packet_length) override; |
| 45 | 45 |
| 46 void SetRemoteSSRC(uint32_t ssrc) override; | 46 void SetRemoteSSRC(uint32_t ssrc) override; |
| 47 | 47 |
| 48 // Sender part. | 48 // Sender part. |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 PacketLossStats receive_loss_stats_; | 380 PacketLossStats receive_loss_stats_; |
| 381 | 381 |
| 382 // The processed RTT from RtcpRttStats. | 382 // The processed RTT from RtcpRttStats. |
| 383 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 383 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
| 384 int64_t rtt_ms_; | 384 int64_t rtt_ms_; |
| 385 }; | 385 }; |
| 386 | 386 |
| 387 } // namespace webrtc | 387 } // namespace webrtc |
| 388 | 388 |
| 389 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 389 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
| OLD | NEW |