| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 /* | 203 /* |
| 204 * Get SequenceNumber | 204 * Get SequenceNumber |
| 205 */ | 205 */ |
| 206 virtual uint16_t SequenceNumber() const = 0; | 206 virtual uint16_t SequenceNumber() const = 0; |
| 207 | 207 |
| 208 /* | 208 /* |
| 209 * Set SequenceNumber, default is a random number | 209 * Set SequenceNumber, default is a random number |
| 210 */ | 210 */ |
| 211 virtual void SetSequenceNumber(uint16_t seq) = 0; | 211 virtual void SetSequenceNumber(uint16_t seq) = 0; |
| 212 | 212 |
| 213 // Returns true if the ssrc matched this module, false otherwise. | 213 virtual void SetRtpState(const RtpState& rtp_state) = 0; |
| 214 virtual bool SetRtpStateForSsrc(uint32_t ssrc, | 214 virtual void SetRtxState(const RtpState& rtp_state) = 0; |
| 215 const RtpState& rtp_state) = 0; | 215 virtual RtpState GetRtpState() const = 0; |
| 216 virtual bool GetRtpStateForSsrc(uint32_t ssrc, RtpState* rtp_state) = 0; | 216 virtual RtpState GetRtxState() const = 0; |
| 217 | 217 |
| 218 /* | 218 /* |
| 219 * Get SSRC | 219 * Get SSRC |
| 220 */ | 220 */ |
| 221 virtual uint32_t SSRC() const = 0; | 221 virtual uint32_t SSRC() const = 0; |
| 222 | 222 |
| 223 /* | 223 /* |
| 224 * configure SSRC, default is a random number | 224 * configure SSRC, default is a random number |
| 225 */ | 225 */ |
| 226 virtual void SetSSRC(uint32_t ssrc) = 0; | 226 virtual void SetSSRC(uint32_t ssrc) = 0; |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 | 657 |
| 658 /* | 658 /* |
| 659 * send a request for a keyframe | 659 * send a request for a keyframe |
| 660 * | 660 * |
| 661 * return -1 on failure else 0 | 661 * return -1 on failure else 0 |
| 662 */ | 662 */ |
| 663 virtual int32_t RequestKeyFrame() = 0; | 663 virtual int32_t RequestKeyFrame() = 0; |
| 664 }; | 664 }; |
| 665 } // namespace webrtc | 665 } // namespace webrtc |
| 666 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 666 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |