| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include "webrtc/video/video_send_stream.h" | 10 #include "webrtc/video/video_send_stream.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 TransportFeedbackObserver* transport_feedback_callback, | 43 TransportFeedbackObserver* transport_feedback_callback, |
| 44 RtcpRttStats* rtt_stats, | 44 RtcpRttStats* rtt_stats, |
| 45 RtpPacketSender* paced_sender, | 45 RtpPacketSender* paced_sender, |
| 46 TransportSequenceNumberAllocator* transport_sequence_number_allocator, | 46 TransportSequenceNumberAllocator* transport_sequence_number_allocator, |
| 47 FlexfecSender* flexfec_sender, | 47 FlexfecSender* flexfec_sender, |
| 48 SendStatisticsProxy* stats_proxy, | 48 SendStatisticsProxy* stats_proxy, |
| 49 SendDelayStats* send_delay_stats, | 49 SendDelayStats* send_delay_stats, |
| 50 RtcEventLog* event_log, | 50 RtcEventLog* event_log, |
| 51 RateLimiter* retransmission_rate_limiter, | 51 RateLimiter* retransmission_rate_limiter, |
| 52 size_t num_modules) { | 52 size_t num_modules) { |
| 53 RTC_DCHECK_GT(num_modules, 0u); | 53 RTC_DCHECK_GT(num_modules, 0); |
| 54 RtpRtcp::Configuration configuration; | 54 RtpRtcp::Configuration configuration; |
| 55 ReceiveStatistics* null_receive_statistics = configuration.receive_statistics; | 55 ReceiveStatistics* null_receive_statistics = configuration.receive_statistics; |
| 56 configuration.audio = false; | 56 configuration.audio = false; |
| 57 configuration.receiver_only = false; | 57 configuration.receiver_only = false; |
| 58 configuration.flexfec_sender = flexfec_sender; | 58 configuration.flexfec_sender = flexfec_sender; |
| 59 configuration.receive_statistics = null_receive_statistics; | 59 configuration.receive_statistics = null_receive_statistics; |
| 60 configuration.outgoing_transport = outgoing_transport; | 60 configuration.outgoing_transport = outgoing_transport; |
| 61 configuration.intra_frame_callback = intra_frame_callback; | 61 configuration.intra_frame_callback = intra_frame_callback; |
| 62 configuration.bandwidth_callback = bandwidth_callback; | 62 configuration.bandwidth_callback = bandwidth_callback; |
| 63 configuration.transport_feedback_callback = transport_feedback_callback; | 63 configuration.transport_feedback_callback = transport_feedback_callback; |
| (...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1212 } | 1212 } |
| 1213 | 1213 |
| 1214 void VideoSendStreamImpl::SetTransportOverhead( | 1214 void VideoSendStreamImpl::SetTransportOverhead( |
| 1215 int transport_overhead_per_packet) { | 1215 int transport_overhead_per_packet) { |
| 1216 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) | 1216 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) |
| 1217 rtp_rtcp->SetTransportOverhead(transport_overhead_per_packet); | 1217 rtp_rtcp->SetTransportOverhead(transport_overhead_per_packet); |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 } // namespace internal | 1220 } // namespace internal |
| 1221 } // namespace webrtc | 1221 } // namespace webrtc |
| OLD | NEW |