| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 int SendPayloadFrequency() const; | 124 int SendPayloadFrequency() const; |
| 125 | 125 |
| 126 void SetSendingStatus(bool enabled); | 126 void SetSendingStatus(bool enabled); |
| 127 | 127 |
| 128 void SetSendingMediaStatus(bool enabled); | 128 void SetSendingMediaStatus(bool enabled); |
| 129 bool SendingMedia() const; | 129 bool SendingMedia() const; |
| 130 | 130 |
| 131 void GetDataCounters(StreamDataCounters* rtp_stats, | 131 void GetDataCounters(StreamDataCounters* rtp_stats, |
| 132 StreamDataCounters* rtx_stats) const; | 132 StreamDataCounters* rtx_stats) const; |
| 133 | 133 |
| 134 void ResetDataCounters(); | |
| 135 | |
| 136 uint32_t StartTimestamp() const; | 134 uint32_t StartTimestamp() const; |
| 137 void SetStartTimestamp(uint32_t timestamp, bool force); | 135 void SetStartTimestamp(uint32_t timestamp, bool force); |
| 138 | 136 |
| 139 uint32_t GenerateNewSSRC(); | 137 uint32_t GenerateNewSSRC(); |
| 140 void SetSSRC(uint32_t ssrc); | 138 void SetSSRC(uint32_t ssrc); |
| 141 | 139 |
| 142 uint16_t SequenceNumber() const override; | 140 uint16_t SequenceNumber() const override; |
| 143 void SetSequenceNumber(uint16_t seq); | 141 void SetSequenceNumber(uint16_t seq); |
| 144 | 142 |
| 145 void SetCsrcs(const std::vector<uint32_t>& csrcs); | 143 void SetCsrcs(const std::vector<uint32_t>& csrcs); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 // SetTargetBitrateKbps or GetTargetBitrateKbps. Also remember | 429 // SetTargetBitrateKbps or GetTargetBitrateKbps. Also remember |
| 432 // that by the time the function returns there is no guarantee | 430 // that by the time the function returns there is no guarantee |
| 433 // that the target bitrate is still valid. | 431 // that the target bitrate is still valid. |
| 434 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; | 432 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; |
| 435 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); | 433 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); |
| 436 }; | 434 }; |
| 437 | 435 |
| 438 } // namespace webrtc | 436 } // namespace webrtc |
| 439 | 437 |
| 440 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 438 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |