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

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h

Issue 1649493004: Support multiple rtx codecs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 10 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/config.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_payload_registry.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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // Sets the SSRC to use when sending RTX packets. This doesn't enable RTX, 243 // Sets the SSRC to use when sending RTX packets. This doesn't enable RTX,
244 // only the SSRC is set. 244 // only the SSRC is set.
245 virtual void SetRtxSsrc(uint32_t ssrc) = 0; 245 virtual void SetRtxSsrc(uint32_t ssrc) = 0;
246 246
247 // Sets the payload type to use when sending RTX packets. Note that this 247 // Sets the payload type to use when sending RTX packets. Note that this
248 // doesn't enable RTX, only the payload type is set. 248 // doesn't enable RTX, only the payload type is set.
249 virtual void SetRtxSendPayloadType(int payload_type, 249 virtual void SetRtxSendPayloadType(int payload_type,
250 int associated_payload_type) = 0; 250 int associated_payload_type) = 0;
251 251
252 // Gets the payload type pair of (RTX, associated) to use when sending RTX
253 // packets.
254 virtual std::pair<int, int> RtxSendPayloadType() const = 0;
255
256 /* 252 /*
257 * sends kRtcpByeCode when going from true to false 253 * sends kRtcpByeCode when going from true to false
258 * 254 *
259 * sending - on/off 255 * sending - on/off
260 * 256 *
261 * return -1 on failure else 0 257 * return -1 on failure else 0
262 */ 258 */
263 virtual int32_t SetSendingStatus(bool sending) = 0; 259 virtual int32_t SetSendingStatus(bool sending) = 0;
264 260
265 /* 261 /*
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 645
650 /* 646 /*
651 * send a request for a keyframe 647 * send a request for a keyframe
652 * 648 *
653 * return -1 on failure else 0 649 * return -1 on failure else 0
654 */ 650 */
655 virtual int32_t RequestKeyFrame() = 0; 651 virtual int32_t RequestKeyFrame() = 0;
656 }; 652 };
657 } // namespace webrtc 653 } // namespace webrtc
658 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 654 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/config.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698