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 24 matching lines...) Expand all Loading... |
35 // Returns the number of milliseconds until the module want a worker thread to | 35 // Returns the number of milliseconds until the module want a worker thread to |
36 // call Process. | 36 // call Process. |
37 int64_t TimeUntilNextProcess() override; | 37 int64_t TimeUntilNextProcess() override; |
38 | 38 |
39 // Process any pending tasks such as timeouts. | 39 // Process any pending tasks such as timeouts. |
40 void Process() override; | 40 void Process() override; |
41 | 41 |
42 // Receiver part. | 42 // Receiver part. |
43 | 43 |
44 // Called when we receive an RTCP packet. | 44 // Called when we receive an RTCP packet. |
45 int32_t IncomingRtcpPacket(const uint8_t* incoming_packet, | 45 void IncomingRtcpPacket(const uint8_t* incoming_packet, |
46 size_t incoming_packet_length) override; | 46 size_t incoming_packet_length) override; |
47 | 47 |
48 void SetRemoteSSRC(uint32_t ssrc) override; | 48 void SetRemoteSSRC(uint32_t ssrc) override; |
49 | 49 |
50 // Sender part. | 50 // Sender part. |
51 | 51 |
52 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; | 52 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; |
53 | 53 |
54 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; | 54 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; |
55 | 55 |
56 void RegisterVideoSendPayload(int payload_type, | 56 void RegisterVideoSendPayload(int payload_type, |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 PacketLossStats receive_loss_stats_; | 351 PacketLossStats receive_loss_stats_; |
352 | 352 |
353 // The processed RTT from RtcpRttStats. | 353 // The processed RTT from RtcpRttStats. |
354 rtc::CriticalSection critical_section_rtt_; | 354 rtc::CriticalSection critical_section_rtt_; |
355 int64_t rtt_ms_; | 355 int64_t rtt_ms_; |
356 }; | 356 }; |
357 | 357 |
358 } // namespace webrtc | 358 } // namespace webrtc |
359 | 359 |
360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |