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