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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 CongestionController* congestion_controller, | 750 CongestionController* congestion_controller, |
751 PacketRouter* packet_router, | 751 PacketRouter* packet_router, |
752 BitrateAllocator* bitrate_allocator, | 752 BitrateAllocator* bitrate_allocator, |
753 SendDelayStats* send_delay_stats, | 753 SendDelayStats* send_delay_stats, |
754 VieRemb* remb, | 754 VieRemb* remb, |
755 ViEEncoder* vie_encoder, | 755 ViEEncoder* vie_encoder, |
756 RtcEventLog* event_log, | 756 RtcEventLog* event_log, |
757 const VideoSendStream::Config* config, | 757 const VideoSendStream::Config* config, |
758 int initial_encoder_max_bitrate, | 758 int initial_encoder_max_bitrate, |
759 std::map<uint32_t, RtpState> suspended_ssrcs) | 759 std::map<uint32_t, RtpState> suspended_ssrcs) |
760 : send_side_bwe_with_overhead_(webrtc::field_trial::FindFullName( | 760 : send_side_bwe_with_overhead_( |
761 "WebRTC-SendSideBwe-WithOverhead") == "Enabled"), | 761 webrtc::field_trial::IsEnabled("WebRTC-SendSideBwe-WithOverhead")), |
762 stats_proxy_(stats_proxy), | 762 stats_proxy_(stats_proxy), |
763 config_(config), | 763 config_(config), |
764 suspended_ssrcs_(std::move(suspended_ssrcs)), | 764 suspended_ssrcs_(std::move(suspended_ssrcs)), |
765 module_process_thread_(nullptr), | 765 module_process_thread_(nullptr), |
766 worker_queue_(worker_queue), | 766 worker_queue_(worker_queue), |
767 check_encoder_activity_task_(nullptr), | 767 check_encoder_activity_task_(nullptr), |
768 call_stats_(call_stats), | 768 call_stats_(call_stats), |
769 congestion_controller_(congestion_controller), | 769 congestion_controller_(congestion_controller), |
770 packet_router_(packet_router), | 770 packet_router_(packet_router), |
771 bitrate_allocator_(bitrate_allocator), | 771 bitrate_allocator_(bitrate_allocator), |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 std::min(config_->rtp.max_packet_size, | 1335 std::min(config_->rtp.max_packet_size, |
1336 kPathMTU - transport_overhead_bytes_per_packet_); | 1336 kPathMTU - transport_overhead_bytes_per_packet_); |
1337 | 1337 |
1338 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { | 1338 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { |
1339 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size); | 1339 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size); |
1340 } | 1340 } |
1341 } | 1341 } |
1342 | 1342 |
1343 } // namespace internal | 1343 } // namespace internal |
1344 } // namespace webrtc | 1344 } // namespace webrtc |
OLD | NEW |