| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet, | 173 bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet, |
| 174 StorageType storage, | 174 StorageType storage, |
| 175 RtpPacketSender::Priority priority); | 175 RtpPacketSender::Priority priority); |
| 176 | 176 |
| 177 // Audio. | 177 // Audio. |
| 178 | 178 |
| 179 // Send a DTMF tone using RFC 2833 (4733). | 179 // Send a DTMF tone using RFC 2833 (4733). |
| 180 int32_t SendTelephoneEvent(uint8_t key, uint16_t time_ms, uint8_t level); | 180 int32_t SendTelephoneEvent(uint8_t key, uint16_t time_ms, uint8_t level); |
| 181 | 181 |
| 182 // Set audio packet size, used to determine when it's time to send a DTMF | 182 // This function is deprecated. It was previously used to determine when it |
| 183 // packet in silence (CNG). | 183 // was time to send a DTMF packet in silence (CNG). |
| 184 int32_t SetAudioPacketSize(uint16_t packet_size_samples); | 184 RTC_DEPRECATED int32_t SetAudioPacketSize(uint16_t packet_size_samples); |
| 185 | 185 |
| 186 // Store the audio level in d_bov for | 186 // Store the audio level in d_bov for |
| 187 // header-extension-for-audio-level-indication. | 187 // header-extension-for-audio-level-indication. |
| 188 int32_t SetAudioLevel(uint8_t level_d_bov); | 188 int32_t SetAudioLevel(uint8_t level_d_bov); |
| 189 | 189 |
| 190 RtpVideoCodecTypes VideoCodecType() const; | 190 RtpVideoCodecTypes VideoCodecType() const; |
| 191 | 191 |
| 192 uint32_t MaxConfiguredBitrateVideo() const; | 192 uint32_t MaxConfiguredBitrateVideo() const; |
| 193 | 193 |
| 194 // ULPFEC. | 194 // ULPFEC. |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 | 340 |
| 341 RateLimiter* const retransmission_rate_limiter_; | 341 RateLimiter* const retransmission_rate_limiter_; |
| 342 OverheadObserver* overhead_observer_; | 342 OverheadObserver* overhead_observer_; |
| 343 | 343 |
| 344 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 344 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
| 345 }; | 345 }; |
| 346 | 346 |
| 347 } // namespace webrtc | 347 } // namespace webrtc |
| 348 | 348 |
| 349 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 349 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |