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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 259 |
260 // Set audio packet size, used to determine when it's time to send a DTMF | 260 // Set audio packet size, used to determine when it's time to send a DTMF |
261 // packet in silence (CNG). | 261 // packet in silence (CNG). |
262 int32_t SetAudioPacketSize(uint16_t packet_size_samples) override; | 262 int32_t SetAudioPacketSize(uint16_t packet_size_samples) override; |
263 | 263 |
264 // Send a TelephoneEvent tone using RFC 2833 (4733). | 264 // Send a TelephoneEvent tone using RFC 2833 (4733). |
265 int32_t SendTelephoneEventOutband(uint8_t key, | 265 int32_t SendTelephoneEventOutband(uint8_t key, |
266 uint16_t time_ms, | 266 uint16_t time_ms, |
267 uint8_t level) override; | 267 uint8_t level) override; |
268 | 268 |
269 // Set payload type for Redundant Audio Data RFC 2198. | |
270 int32_t SetSendREDPayloadType(int8_t payload_type) override; | |
271 | |
272 // Get payload type for Redundant Audio Data RFC 2198. | |
273 int32_t SendREDPayloadType(int8_t* payload_type) const override; | |
274 | |
275 // Store the audio level in d_bov for header-extension-for-audio-level- | 269 // Store the audio level in d_bov for header-extension-for-audio-level- |
276 // indication. | 270 // indication. |
277 int32_t SetAudioLevel(uint8_t level_d_bov) override; | 271 int32_t SetAudioLevel(uint8_t level_d_bov) override; |
278 | 272 |
279 // Video part. | 273 // Video part. |
280 | 274 |
281 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; | 275 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; |
282 | 276 |
283 // Set method for requesting a new key frame. | 277 // Set method for requesting a new key frame. |
284 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; | 278 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 PacketLossStats receive_loss_stats_; | 360 PacketLossStats receive_loss_stats_; |
367 | 361 |
368 // The processed RTT from RtcpRttStats. | 362 // The processed RTT from RtcpRttStats. |
369 rtc::CriticalSection critical_section_rtt_; | 363 rtc::CriticalSection critical_section_rtt_; |
370 int64_t rtt_ms_; | 364 int64_t rtt_ms_; |
371 }; | 365 }; |
372 | 366 |
373 } // namespace webrtc | 367 } // namespace webrtc |
374 | 368 |
375 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 369 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |