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

Side by Side Diff: webrtc/modules/rtp_rtcp/interface/rtp_rtcp.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/common_types.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h » ('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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 /************************************************************************** 321 /**************************************************************************
322 * 322 *
323 * RTCP 323 * RTCP
324 * 324 *
325 ***************************************************************************/ 325 ***************************************************************************/
326 326
327 /* 327 /*
328 * Get RTCP status 328 * Get RTCP status
329 */ 329 */
330 virtual RTCPMethod RTCP() const = 0; 330 virtual RtcpMode RTCP() const = 0;
331 331
332 /* 332 /*
333 * configure RTCP status i.e on(compound or non- compound)/off 333 * configure RTCP status i.e on(compound or non- compound)/off
334 * 334 *
335 * method - RTCP method to use 335 * method - RTCP method to use
336 */ 336 */
337 virtual void SetRTCPStatus(RTCPMethod method) = 0; 337 virtual void SetRTCPStatus(RtcpMode method) = 0;
338 338
339 /* 339 /*
340 * Set RTCP CName (i.e unique identifier) 340 * Set RTCP CName (i.e unique identifier)
341 * 341 *
342 * return -1 on failure else 0 342 * return -1 on failure else 0
343 */ 343 */
344 virtual int32_t SetCNAME(const char* c_name) = 0; 344 virtual int32_t SetCNAME(const char* c_name) = 0;
345 345
346 /* 346 /*
347 * Get remote CName 347 * Get remote CName
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 632
633 /* 633 /*
634 * send a request for a keyframe 634 * send a request for a keyframe
635 * 635 *
636 * return -1 on failure else 0 636 * return -1 on failure else 0
637 */ 637 */
638 virtual int32_t RequestKeyFrame() = 0; 638 virtual int32_t RequestKeyFrame() = 0;
639 }; 639 };
640 } // namespace webrtc 640 } // namespace webrtc
641 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ 641 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698