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 18 matching lines...) Expand all Loading... |
29 #include "webrtc/modules/video_coding/utility/ivf_file_writer.h" | 29 #include "webrtc/modules/video_coding/utility/ivf_file_writer.h" |
30 #include "webrtc/rtc_base/checks.h" | 30 #include "webrtc/rtc_base/checks.h" |
31 #include "webrtc/rtc_base/file.h" | 31 #include "webrtc/rtc_base/file.h" |
32 #include "webrtc/rtc_base/location.h" | 32 #include "webrtc/rtc_base/location.h" |
33 #include "webrtc/rtc_base/logging.h" | 33 #include "webrtc/rtc_base/logging.h" |
34 #include "webrtc/rtc_base/trace_event.h" | 34 #include "webrtc/rtc_base/trace_event.h" |
35 #include "webrtc/rtc_base/weak_ptr.h" | 35 #include "webrtc/rtc_base/weak_ptr.h" |
36 #include "webrtc/system_wrappers/include/field_trial.h" | 36 #include "webrtc/system_wrappers/include/field_trial.h" |
37 #include "webrtc/video/call_stats.h" | 37 #include "webrtc/video/call_stats.h" |
38 #include "webrtc/video/payload_router.h" | 38 #include "webrtc/video/payload_router.h" |
39 #include "webrtc/video_send_stream.h" | 39 #include "webrtc/call/video_send_stream.h" |
40 | 40 |
41 namespace webrtc { | 41 namespace webrtc { |
42 | 42 |
43 static const int kMinSendSidePacketHistorySize = 600; | 43 static const int kMinSendSidePacketHistorySize = 600; |
44 namespace { | 44 namespace { |
45 | 45 |
46 // We don't do MTU discovery, so assume that we have the standard ethernet MTU. | 46 // We don't do MTU discovery, so assume that we have the standard ethernet MTU. |
47 const size_t kPathMTU = 1500; | 47 const size_t kPathMTU = 1500; |
48 | 48 |
49 std::vector<RtpRtcp*> CreateRtpRtcpModules( | 49 std::vector<RtpRtcp*> CreateRtpRtcpModules( |
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1248 std::min(config_->rtp.max_packet_size, | 1248 std::min(config_->rtp.max_packet_size, |
1249 kPathMTU - transport_overhead_bytes_per_packet_); | 1249 kPathMTU - transport_overhead_bytes_per_packet_); |
1250 | 1250 |
1251 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { | 1251 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { |
1252 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size); | 1252 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size); |
1253 } | 1253 } |
1254 } | 1254 } |
1255 | 1255 |
1256 } // namespace internal | 1256 } // namespace internal |
1257 } // namespace webrtc | 1257 } // namespace webrtc |
OLD | NEW |