| 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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 | 761 |
| 762 void ModuleRtpRtcpImpl::RegisterRtcpStatisticsCallback( | 762 void ModuleRtpRtcpImpl::RegisterRtcpStatisticsCallback( |
| 763 RtcpStatisticsCallback* callback) { | 763 RtcpStatisticsCallback* callback) { |
| 764 rtcp_receiver_.RegisterRtcpStatisticsCallback(callback); | 764 rtcp_receiver_.RegisterRtcpStatisticsCallback(callback); |
| 765 } | 765 } |
| 766 | 766 |
| 767 RtcpStatisticsCallback* ModuleRtpRtcpImpl::GetRtcpStatisticsCallback() { | 767 RtcpStatisticsCallback* ModuleRtpRtcpImpl::GetRtcpStatisticsCallback() { |
| 768 return rtcp_receiver_.GetRtcpStatisticsCallback(); | 768 return rtcp_receiver_.GetRtcpStatisticsCallback(); |
| 769 } | 769 } |
| 770 | 770 |
| 771 bool ModuleRtpRtcpImpl::SendFeedbackPacket( |
| 772 const rtcp::TransportFeedback& packet) { |
| 773 return rtcp_sender_.SendFeedbackPacket(packet); |
| 774 } |
| 775 |
| 771 // Send a TelephoneEvent tone using RFC 2833 (4733). | 776 // Send a TelephoneEvent tone using RFC 2833 (4733). |
| 772 int32_t ModuleRtpRtcpImpl::SendTelephoneEventOutband( | 777 int32_t ModuleRtpRtcpImpl::SendTelephoneEventOutband( |
| 773 const uint8_t key, | 778 const uint8_t key, |
| 774 const uint16_t time_ms, | 779 const uint16_t time_ms, |
| 775 const uint8_t level) { | 780 const uint8_t level) { |
| 776 return rtp_sender_.SendTelephoneEvent(key, time_ms, level); | 781 return rtp_sender_.SendTelephoneEvent(key, time_ms, level); |
| 777 } | 782 } |
| 778 | 783 |
| 779 // Set audio packet size, used to determine when it's time to send a DTMF | 784 // Set audio packet size, used to determine when it's time to send a DTMF |
| 780 // packet in silence (CNG). | 785 // packet in silence (CNG). |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 993 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |
| 989 StreamDataCountersCallback* callback) { | 994 StreamDataCountersCallback* callback) { |
| 990 rtp_sender_.RegisterRtpStatisticsCallback(callback); | 995 rtp_sender_.RegisterRtpStatisticsCallback(callback); |
| 991 } | 996 } |
| 992 | 997 |
| 993 StreamDataCountersCallback* | 998 StreamDataCountersCallback* |
| 994 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 999 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
| 995 return rtp_sender_.GetRtpStatisticsCallback(); | 1000 return rtp_sender_.GetRtpStatisticsCallback(); |
| 996 } | 1001 } |
| 997 } // namespace webrtc | 1002 } // namespace webrtc |
| OLD | NEW |