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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; | 51 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; |
52 | 52 |
53 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; | 53 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; |
54 | 54 |
55 void RegisterVideoSendPayload(int payload_type, | 55 void RegisterVideoSendPayload(int payload_type, |
56 const char* payload_name) override; | 56 const char* payload_name) override; |
57 | 57 |
58 int32_t DeRegisterSendPayload(int8_t payload_type) override; | 58 int32_t DeRegisterSendPayload(int8_t payload_type) override; |
59 | 59 |
60 int8_t SendPayloadType() const; | |
61 | |
62 // Register RTP header extension. | 60 // Register RTP header extension. |
63 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, | 61 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, |
64 uint8_t id) override; | 62 uint8_t id) override; |
65 | 63 |
66 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override; | 64 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override; |
67 | 65 |
68 bool HasBweExtensions() const override; | 66 bool HasBweExtensions() const override; |
69 | 67 |
70 // Get start timestamp. | 68 // Get start timestamp. |
71 uint32_t StartTimestamp() const override; | 69 uint32_t StartTimestamp() const override; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 PacketLossStats receive_loss_stats_; | 351 PacketLossStats receive_loss_stats_; |
354 | 352 |
355 // The processed RTT from RtcpRttStats. | 353 // The processed RTT from RtcpRttStats. |
356 rtc::CriticalSection critical_section_rtt_; | 354 rtc::CriticalSection critical_section_rtt_; |
357 int64_t rtt_ms_; | 355 int64_t rtt_ms_; |
358 }; | 356 }; |
359 | 357 |
360 } // namespace webrtc | 358 } // namespace webrtc |
361 | 359 |
362 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |