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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |