Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2435)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 2484143002: Wire up FlexfecSender in RTPSender and add unit tests. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.transport_sequence_number_allocator, 78 configuration.transport_sequence_number_allocator,
78 configuration.transport_feedback_callback, 79 configuration.transport_feedback_callback,
79 configuration.send_bitrate_observer, 80 configuration.send_bitrate_observer,
80 configuration.send_frame_count_observer, 81 configuration.send_frame_count_observer,
81 configuration.send_side_delay_observer, 82 configuration.send_side_delay_observer,
82 configuration.event_log, 83 configuration.event_log,
83 configuration.send_packet_observer, 84 configuration.send_packet_observer,
84 configuration.retransmission_rate_limiter), 85 configuration.retransmission_rate_limiter),
85 rtcp_sender_(configuration.audio, 86 rtcp_sender_(configuration.audio,
86 configuration.clock, 87 configuration.clock,
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( 945 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback(
945 StreamDataCountersCallback* callback) { 946 StreamDataCountersCallback* callback) {
946 rtp_sender_.RegisterRtpStatisticsCallback(callback); 947 rtp_sender_.RegisterRtpStatisticsCallback(callback);
947 } 948 }
948 949
949 StreamDataCountersCallback* 950 StreamDataCountersCallback*
950 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 951 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
951 return rtp_sender_.GetRtpStatisticsCallback(); 952 return rtp_sender_.GetRtpStatisticsCallback();
952 } 953 }
953 } // namespace webrtc 954 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698