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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool buffered_rendering, | 94 bool buffered_rendering, |
95 int32_t render_delay); | 95 int32_t render_delay); |
96 int32_t DeRegisterExternalDecoder(const uint8_t pl_type); | 96 int32_t DeRegisterExternalDecoder(const uint8_t pl_type); |
97 int32_t ReceiveCodecStatistics(uint32_t* num_key_frames, | 97 int32_t ReceiveCodecStatistics(uint32_t* num_key_frames, |
98 uint32_t* num_delta_frames); | 98 uint32_t* num_delta_frames); |
99 uint32_t DiscardedPackets() const; | 99 uint32_t DiscardedPackets() const; |
100 | 100 |
101 // Returns the estimated delay in milliseconds. | 101 // Returns the estimated delay in milliseconds. |
102 int ReceiveDelay() const; | 102 int ReceiveDelay() const; |
103 | 103 |
104 void SetRTCPMode(const RTCPMethod rtcp_mode); | 104 void SetRTCPMode(const RtcpMode rtcp_mode); |
105 void SetProtectionMode(bool enable_nack, | 105 void SetProtectionMode(bool enable_nack, |
106 bool enable_fec, | 106 bool enable_fec, |
107 int payload_type_red, | 107 int payload_type_red, |
108 int payload_type_fec); | 108 int payload_type_fec); |
109 bool IsSendingFecEnabled(); | 109 bool IsSendingFecEnabled(); |
110 int SetSenderBufferingMode(int target_delay_ms); | 110 int SetSenderBufferingMode(int target_delay_ms); |
111 int SetReceiverBufferingMode(int target_delay_ms); | 111 int SetReceiverBufferingMode(int target_delay_ms); |
112 int32_t SetKeyFrameRequestMethod(const KeyFrameRequestMethod method); | 112 int32_t SetKeyFrameRequestMethod(const KeyFrameRequestMethod method); |
113 void EnableRemb(bool enable); | 113 void EnableRemb(bool enable); |
114 int SetSendTimestampOffsetStatus(bool enable, int id); | 114 int SetSendTimestampOffsetStatus(bool enable, int id); |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 size_t num_rtts_ GUARDED_BY(crit_); | 446 size_t num_rtts_ GUARDED_BY(crit_); |
447 | 447 |
448 // RtpRtcp modules, declared last as they use other members on construction. | 448 // RtpRtcp modules, declared last as they use other members on construction. |
449 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 449 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
450 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 450 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
451 }; | 451 }; |
452 | 452 |
453 } // namespace webrtc | 453 } // namespace webrtc |
454 | 454 |
455 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ | 455 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ |
OLD | NEW |