| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // Returns -1 on failure else 0. | 148 // Returns -1 on failure else 0. |
| 149 virtual int32_t DeRegisterSendPayload(int8_t payload_type) = 0; | 149 virtual int32_t DeRegisterSendPayload(int8_t payload_type) = 0; |
| 150 | 150 |
| 151 // (De)registers RTP header extension type and id. | 151 // (De)registers RTP header extension type and id. |
| 152 // Returns -1 on failure else 0. | 152 // Returns -1 on failure else 0. |
| 153 virtual int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, | 153 virtual int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, |
| 154 uint8_t id) = 0; | 154 uint8_t id) = 0; |
| 155 | 155 |
| 156 virtual int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) = 0; | 156 virtual int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) = 0; |
| 157 | 157 |
| 158 virtual bool HasBweExtensions() const = 0; |
| 159 |
| 158 // Returns start timestamp. | 160 // Returns start timestamp. |
| 159 virtual uint32_t StartTimestamp() const = 0; | 161 virtual uint32_t StartTimestamp() const = 0; |
| 160 | 162 |
| 161 // Sets start timestamp. Start timestamp is set to a random value if this | 163 // Sets start timestamp. Start timestamp is set to a random value if this |
| 162 // function is never called. | 164 // function is never called. |
| 163 virtual void SetStartTimestamp(uint32_t timestamp) = 0; | 165 virtual void SetStartTimestamp(uint32_t timestamp) = 0; |
| 164 | 166 |
| 165 // Returns SequenceNumber. | 167 // Returns SequenceNumber. |
| 166 virtual uint16_t SequenceNumber() const = 0; | 168 virtual uint16_t SequenceNumber() const = 0; |
| 167 | 169 |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 472 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
| 471 | 473 |
| 472 // Sends a request for a keyframe. | 474 // Sends a request for a keyframe. |
| 473 // Returns -1 on failure else 0. | 475 // Returns -1 on failure else 0. |
| 474 virtual int32_t RequestKeyFrame() = 0; | 476 virtual int32_t RequestKeyFrame() = 0; |
| 475 }; | 477 }; |
| 476 | 478 |
| 477 } // namespace webrtc | 479 } // namespace webrtc |
| 478 | 480 |
| 479 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 481 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |