Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: webrtc/video_engine/vie_channel.h

Issue 1373903003: Unify newapi::RtcpMode and RTCPMethod. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: ehm, compile the code Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/video_engine/vie_channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/video_engine/vie_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698