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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 RTC_DCHECK(delta_params); | 67 RTC_DCHECK(delta_params); |
68 RTC_DCHECK(key_params); | 68 RTC_DCHECK(key_params); |
69 return SetFecParameters(*delta_params, *key_params) ? 0 : -1; | 69 return SetFecParameters(*delta_params, *key_params) ? 0 : -1; |
70 } | 70 } |
71 | 71 |
72 ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration) | 72 ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration) |
73 : rtp_sender_(configuration.audio, | 73 : rtp_sender_(configuration.audio, |
74 configuration.clock, | 74 configuration.clock, |
75 configuration.outgoing_transport, | 75 configuration.outgoing_transport, |
76 configuration.paced_sender, | 76 configuration.paced_sender, |
77 nullptr, // TODO(brandtr): Wire up FlexfecSender here. | 77 configuration.flexfec_sender, |
78 configuration.transport_sequence_number_allocator, | 78 configuration.transport_sequence_number_allocator, |
79 configuration.transport_feedback_callback, | 79 configuration.transport_feedback_callback, |
80 configuration.send_bitrate_observer, | 80 configuration.send_bitrate_observer, |
81 configuration.send_frame_count_observer, | 81 configuration.send_frame_count_observer, |
82 configuration.send_side_delay_observer, | 82 configuration.send_side_delay_observer, |
83 configuration.event_log, | 83 configuration.event_log, |
84 configuration.send_packet_observer, | 84 configuration.send_packet_observer, |
85 configuration.retransmission_rate_limiter), | 85 configuration.retransmission_rate_limiter), |
86 rtcp_sender_(configuration.audio, | 86 rtcp_sender_(configuration.audio, |
87 configuration.clock, | 87 configuration.clock, |
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( | 945 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( |
946 StreamDataCountersCallback* callback) { | 946 StreamDataCountersCallback* callback) { |
947 rtp_sender_.RegisterRtpStatisticsCallback(callback); | 947 rtp_sender_.RegisterRtpStatisticsCallback(callback); |
948 } | 948 } |
949 | 949 |
950 StreamDataCountersCallback* | 950 StreamDataCountersCallback* |
951 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 951 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
952 return rtp_sender_.GetRtpStatisticsCallback(); | 952 return rtp_sender_.GetRtpStatisticsCallback(); |
953 } | 953 } |
954 } // namespace webrtc | 954 } // namespace webrtc |
OLD | NEW |