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