| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet, | 170 bool SendToNetwork(std::unique_ptr<RtpPacketToSend> packet, |
| 171 StorageType storage, | 171 StorageType storage, |
| 172 RtpPacketSender::Priority priority); | 172 RtpPacketSender::Priority priority); |
| 173 | 173 |
| 174 // Audio. | 174 // Audio. |
| 175 | 175 |
| 176 // Send a DTMF tone using RFC 2833 (4733). | 176 // Send a DTMF tone using RFC 2833 (4733). |
| 177 int32_t SendTelephoneEvent(uint8_t key, uint16_t time_ms, uint8_t level); | 177 int32_t SendTelephoneEvent(uint8_t key, uint16_t time_ms, uint8_t level); |
| 178 | 178 |
| 179 // This function is deprecated. It was previously used to determine when it | |
| 180 // was time to send a DTMF packet in silence (CNG). | |
| 181 RTC_DEPRECATED int32_t SetAudioPacketSize(uint16_t packet_size_samples); | |
| 182 | |
| 183 // Store the audio level in d_bov for | 179 // Store the audio level in d_bov for |
| 184 // header-extension-for-audio-level-indication. | 180 // header-extension-for-audio-level-indication. |
| 185 int32_t SetAudioLevel(uint8_t level_d_bov); | 181 int32_t SetAudioLevel(uint8_t level_d_bov); |
| 186 | 182 |
| 187 RtpVideoCodecTypes VideoCodecType() const; | 183 RtpVideoCodecTypes VideoCodecType() const; |
| 188 | 184 |
| 189 uint32_t MaxConfiguredBitrateVideo() const; | 185 uint32_t MaxConfiguredBitrateVideo() const; |
| 190 | 186 |
| 191 // ULPFEC. | 187 // ULPFEC. |
| 192 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type); | 188 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 OverheadObserver* overhead_observer_; | 325 OverheadObserver* overhead_observer_; |
| 330 | 326 |
| 331 const bool send_side_bwe_with_overhead_; | 327 const bool send_side_bwe_with_overhead_; |
| 332 | 328 |
| 333 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 329 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
| 334 }; | 330 }; |
| 335 | 331 |
| 336 } // namespace webrtc | 332 } // namespace webrtc |
| 337 | 333 |
| 338 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 334 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |