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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const uint32_t frequency, | 80 const uint32_t frequency, |
81 const size_t channels, | 81 const size_t channels, |
82 const uint32_t rate); | 82 const uint32_t rate); |
83 | 83 |
84 int32_t DeRegisterSendPayload(const int8_t payload_type); | 84 int32_t DeRegisterSendPayload(const int8_t payload_type); |
85 | 85 |
86 void SetSendPayloadType(int8_t payload_type); | 86 void SetSendPayloadType(int8_t payload_type); |
87 | 87 |
88 int8_t SendPayloadType() const; | 88 int8_t SendPayloadType() const; |
89 | 89 |
90 void SetSendingStatus(bool enabled); | |
91 | |
92 void SetSendingMediaStatus(bool enabled); | 90 void SetSendingMediaStatus(bool enabled); |
93 bool SendingMedia() const; | 91 bool SendingMedia() const; |
94 | 92 |
95 void GetDataCounters(StreamDataCounters* rtp_stats, | 93 void GetDataCounters(StreamDataCounters* rtp_stats, |
96 StreamDataCounters* rtx_stats) const; | 94 StreamDataCounters* rtx_stats) const; |
97 | 95 |
98 uint32_t TimestampOffset() const; | 96 uint32_t TimestampOffset() const; |
99 void SetTimestampOffset(uint32_t timestamp); | 97 void SetTimestampOffset(uint32_t timestamp); |
100 | 98 |
101 uint32_t GenerateNewSSRC(); | 99 uint32_t GenerateNewSSRC(); |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 OverheadObserver* overhead_observer_; | 326 OverheadObserver* overhead_observer_; |
329 | 327 |
330 const bool send_side_bwe_with_overhead_; | 328 const bool send_side_bwe_with_overhead_; |
331 | 329 |
332 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 330 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
333 }; | 331 }; |
334 | 332 |
335 } // namespace webrtc | 333 } // namespace webrtc |
336 | 334 |
337 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 335 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |